×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Helpers Class
Jaime Arevalo
Navegador Iniciado
Posts: 10
8 años 8 meses antes - 8 años 8 meses antes #1224
por Jaime Arevalo
Helpers Class Publicado por Jaime Arevalo
I have found the problem "Fatal error: Class 'ComponentHelperscomponent' not found in /home/server/public_html/web/components/com_component/router.php on line 87 when I was to add one new record to my table in the front end, backend is working normally.
When I was inside the class file (/home/server/public_html/web/components/com_component/helpers/component.php) I have found that the name is different: the new name is "ComponentFrontendHelper" but the component that it's searching has of the name "Componenthelperscomponent".
The solution was to change the name. but I am not completely sure about its.
When I was inside the class file (/home/server/public_html/web/components/com_component/helpers/component.php) I have found that the name is different: the new name is "ComponentFrontendHelper" but the component that it's searching has of the name "Componenthelperscomponent".
The solution was to change the name. but I am not completely sure about its.
Última Edición: 8 años 8 meses antes por Jaime Arevalo.
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Yonder Media
Navegador Iniciado
Posts: 7
8 años 8 meses antes #1226
por Yonder Media
Respuesta de Yonder Media sobre el tema Helpers Class
I'm getting something similar on the component Front-end ... I see the error
"Fatal error: Class 'StoryformsFrontendHelper' not found in /var/www/html/tgi/components/com_storyforms/router.php on line 57"
It's just not finding the class! If I put a require_once to the class, the front-end List view works, but clicking through on an item then returns:
"Fatal error: Class 'StoryformsHelpersStoryforms' not found in /var/www/html/tgi/components/com_storyforms/router.php on line 92"
Basically, front-end isn't working at all and I'm not sure what to do to fix it!
"Fatal error: Class 'StoryformsFrontendHelper' not found in /var/www/html/tgi/components/com_storyforms/router.php on line 57"
It's just not finding the class! If I put a require_once to the class, the front-end List view works, but clicking through on an item then returns:
"Fatal error: Class 'StoryformsHelpersStoryforms' not found in /var/www/html/tgi/components/com_storyforms/router.php on line 92"
Basically, front-end isn't working at all and I'm not sure what to do to fix it!
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Jennifer Swarts
Navegador Iniciado
Posts: 1
8 años 8 meses antes #1227
por Jennifer Swarts
Respuesta de Jennifer Swarts sobre el tema Helpers Class
same problem here. I got past it by adding
include_once (JPATH_SITE . DIRECTORY_SEPARATOR . 'components/com_componentname/helpers' . DIRECTORY_SEPARATOR . 'componentname.php');
to the top of router.php and by changing the name of the class in the parse function to match the build function, but then I get a different error:
Fatal error: Call to a member function getItemIdByAlias() on a non-object in /home/xxxx/public_html/ea/components/com_xxxx/router.php on line 106
Is there any resolution to this problem?
include_once (JPATH_SITE . DIRECTORY_SEPARATOR . 'components/com_componentname/helpers' . DIRECTORY_SEPARATOR . 'componentname.php');
to the top of router.php and by changing the name of the class in the parse function to match the build function, but then I get a different error:
Fatal error: Call to a member function getItemIdByAlias() on a non-object in /home/xxxx/public_html/ea/components/com_xxxx/router.php on line 106
Is there any resolution to this problem?
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Grant Broadcasters
Navegador Iniciado
Posts: 7
8 años 8 meses antes #1231
por Grant Broadcasters
Respuesta de Grant Broadcasters sobre el tema Helpers Class
I found a line in the component.php has change, on my versions is on line 15. Below id what it changed from to:
From: JLoader::register('componenFrontendHelper', JPATH_COMPONENT . '/helpers/component.php');
To: JLoader::registerPrefix('com_component', JPATH_COMPONENT);
From: JLoader::register('componenFrontendHelper', JPATH_COMPONENT . '/helpers/component.php');
To: JLoader::registerPrefix('com_component', JPATH_COMPONENT);
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Samuel
Navegador Iniciado
Posts: 3
8 años 8 meses antes #1232
por Samuel
Respuesta de Samuel sobre el tema Helpers Class
I have the same problem here. I tried Joomla 3.4.x and 3.5 beta. Both are not working and the ...FrontendHelper.php is not found.
As it is not only me having this problem, it seems a Bug in Component Creator? Anybody send a bug report?
As it is not only me having this problem, it seems a Bug in Component Creator? Anybody send a bug report?
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Yonder Media
Navegador Iniciado
Posts: 7
8 años 8 meses antes #1235
por Yonder Media
Respuesta de Yonder Media sobre el tema Helpers Class
So I redownloaded another component of mine that was previously, installed it in my project, and THE BUG IS STILL NOT FIXED!
Getting: Fatal error: Class 'Scipio_builderFrontendHelper' not found in /var/www/html/yomo_scipio/joomla/components/com_scipio_builder/router.php on line 57
Really starting to regret having bought a year's license a few days' back, this is wasting so much time!
Getting: Fatal error: Class 'Scipio_builderFrontendHelper' not found in /var/www/html/yomo_scipio/joomla/components/com_scipio_builder/router.php on line 57
Really starting to regret having bought a year's license a few days' back, this is wasting so much time!
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Tiempo de carga de la página: 0.056 segundos