×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Helpers Class
Jaime Arevalo
New Member
Posts: 10
8 年 9 个月 前 - 8 年 9 个月 前 #1224
由 Jaime Arevalo
Helpers Class was created by 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.
Last edit: 8 年 9 个月 前 by Jaime Arevalo.
Please 登录 或 注册一个帐号 to join the conversation.
Yonder Media
New Member
Posts: 7
8 年 8 个月 前 #1226
由 Yonder Media
Replied by Yonder Media on topic 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!
Please 登录 或 注册一个帐号 to join the conversation.
Jennifer Swarts
New Member
Posts: 1
8 年 8 个月 前 #1227
由 Jennifer Swarts
Replied by Jennifer Swarts on topic 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?
Please 登录 或 注册一个帐号 to join the conversation.
Grant Broadcasters
New Member
Posts: 7
8 年 8 个月 前 #1231
由 Grant Broadcasters
Replied by Grant Broadcasters on topic 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);
Please 登录 或 注册一个帐号 to join the conversation.
Samuel
New Member
Posts: 3
8 年 8 个月 前 #1232
由 Samuel
Replied by Samuel on topic 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?
Please 登录 或 注册一个帐号 to join the conversation.
Andres Maeso
Platinum Member
Posts: 338
8 年 8 个月 前 #1233
由 Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
Replied by Andres Maeso on topic Helpers Class
Hello
Thanks for taking the time to report this issue. It should be already fixed.
Please remember that the best way to report a bug is using our contact form www.component-creator.com/en/contact This way we can handle it way faster as we check our ticket system in an hourly basis.
Regards,
Andrés.
Thanks for taking the time to report this issue. It should be already fixed.
Please remember that the best way to report a bug is using our contact form www.component-creator.com/en/contact This way we can handle it way faster as we check our ticket system in an hourly basis.
Regards,
Andrés.
Andrés Maeso
Customer relations manager at Joomla Component Creator.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.069秒