×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Helpers Class
Samuel
New Member
Posts: 3
8 years 8 months ago #1236
by Samuel
Replied by Samuel on topic Helpers Class
Hi,
did you write a Bug report? I did today, so hopefully this is patched soon.
did you write a Bug report? I did today, so hopefully this is patched soon.
Please Log in or Create an account to join the conversation.
Gabor Mag
New Member
Posts: 1
8 years 8 months ago - 8 years 8 months ago #1237
by Gabor Mag
Replied by Gabor Mag on topic Helpers Class
What solved this bug for me:
Step 1:
Go to components\com_yourcomponent\helpers folder open yourcomponent.php and insert this missing row:
require_once JPATH_SITE . '/components/com_yourcomponent/models/' . strtolower($name) . '.php'; above
$model = JModelLegacy::getInstance($name, 'YourcomponentModel'); (maybe line 32)
Step 2
Copy the helper file class name. Than open the router.php file in your component root and go to line 57 you will find YOURCOMPONENTNAMEFrontendHelper::getModel($view); and change to YOURCOPIEDCLASSNAME::getModel($view); or copy from line 92 before the ::getModel($vars); part....
Step 1:
Go to components\com_yourcomponent\helpers folder open yourcomponent.php and insert this missing row:
require_once JPATH_SITE . '/components/com_yourcomponent/models/' . strtolower($name) . '.php'; above
$model = JModelLegacy::getInstance($name, 'YourcomponentModel'); (maybe line 32)
Step 2
Copy the helper file class name. Than open the router.php file in your component root and go to line 57 you will find YOURCOMPONENTNAMEFrontendHelper::getModel($view); and change to YOURCOPIEDCLASSNAME::getModel($view); or copy from line 92 before the ::getModel($vars); part....
Last edit: 8 years 8 months ago by Gabor Mag. Reason: new infos
The following user(s) said Thank You: Jennifer Swarts, Yonder Media
Please Log in or Create an account to join the conversation.
Yonder Media
New Member
Posts: 7
8 years 8 months ago #1241
by Yonder Media
Replied by Yonder Media on topic Helpers Class
I redownloaded my component - BUG STILL NOT FIXED!!!!!!!!
Please Log in or Create an account to join the conversation.
Yonder Media
New Member
Posts: 7
8 years 8 months ago #1242
by Yonder Media
Replied by Yonder Media on topic Helpers Class
I redownloaded my component - bug still not fixed. This really isn't acceptable guys! I need a solution!
Please Log in or Create an account to join the conversation.
Yonder Media
New Member
Posts: 7
8 years 8 months ago #1243
by Yonder Media
Replied by Yonder Media on topic Helpers Class
Thanks Emelia, your solution worked. I'm appalled that the creators have not sorted this out after so many people have complained (myself included, repeatedly).
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds