× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Error 404 on Component Install

9 年 11 个月 前 #544 Adam Clark
Error 404 on Component Install was created by Adam Clark
Hiya...

I have used CC for a while and am pretty skilled. However, I have a basic, day1 problem.

I have BUILT my component (just 2 tables. Nothing fancy at all)... and installed it to my Joomla site (as I have many times before with previous components)

And my Joomla site is not showing the NAME of the component properly in the menu plus, when I do select the component from the components menu, I get an ERROR 404 "Component Not Found"

When I installed, I got the following WARNING:

Warning
JInstaller: :Install: File does not exist /home/connect/public_html/tmp/install_549a9cf35983d/languages/site/en-GB/en-GB.com_joocom_bookingsystem.ini
JInstaller: :Install: File does not exist /home/connect/public_html/tmp/install_549a9cf35983d/languages/administrator/en-GB/en-GB.com_joocom_bookingsystem.ini

But Joomla then goes in to say... 

Plugin joobookingsystem was installed successfully
Module mod_joobookingsystem was installed successfully
Installing component was successful.



I don't think this is a Component Creator bug/issue. I think this is something to do with my Joomla install or server.


Has anyone had anything similar to this at all?? I attach the component. I am happy for others to install and see if it works for them (I promise it is just a simple CC component... no nasty stuff)



In hope and many thanks. 


Adam

This message has an attachment file.
Please log in or register to see it.

Please 登录注册一个帐号 to join the conversation.

9 年 11 个月 前 #545 Adam Clark
Replied by Adam Clark on topic Error 404 on Component Install
Quick Update:

I have tried installing the component on different hosting and different joomla sites that we have managed past and present and I am getting the same issue. 

Starting to worry that this is a CC issue??

Hope someone can help !

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #546 Adam Clark
Replied by Adam Clark on topic Error 404 on Component Install
OK... so... It seems that the component that is called "com_joocom_bookingsystem"

is looking for files with "com_joocom_bookingsystem" in the name... and folder structures such as "components/com_joocom_bookingsystem/"

BUT............... 

The main controller class is called:  "JoobookingsystemController"
The XML is looking for: <language tag="en-GB">en-GB/en-GB.com_joocom_bookingsystem.ini</language> BUT the file is actually called "en-GB.com_joobookingsystem.ini"

It seems that there is a mismatch somewhere???

I will try renaming things and see what happens.

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #547 Adam Clark
Replied by Adam Clark on topic Error 404 on Component Install
RESOLVED

So, I went back into Component Creator and renamed the component.

Re-built.

Checked XML and file names and Controller class : All consistent,.

Installed... OK... no errors or warnings

All working fine. 


Hope this helps some people.

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.052秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.