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

Error 404 on Component Install

9 года 10 мес. назад #544 от Adam Clark
Adam Clark создал тему: Error 404 on Component Install
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

Это сообщение содержит прикрепленные файлы.
Пожалуйста, войдите или зарегистрируйтесь, чтобы увидеть их.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 10 мес. назад #545 от Adam Clark
Adam Clark ответил в теме 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 !

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 10 мес. назад #546 от Adam Clark
Adam Clark ответил в теме 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.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 10 мес. назад #547 от Adam Clark
Adam Clark ответил в теме 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.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.053 секунд
Работает на 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.