- Posts: 4
- Thank you received: 0
After upload Market - fatal error in administrator
12 years 1 month ago #166278
by bienenf
After upload Market - fatal error in administrator was created by bienenf
-- HikaShop version -- : 2.3.2
-- HikaMarket version -- : 1.4.2
-- Joomla version -- : 1.5.26
-- PHP version -- : 5.2.10
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : PHP Fatal error: Call to undefined method JUser::authorise() in xxxxxx/administrator/components/com_hikamarket/classes/menu.php on line 22
Hello team,
I installed first the shop script, everything was ok, then i installed the market, and i get blank page with the error : PHP Fatal error: Call to undefined method JUser::authorise() in /administrator/components/com_hikamarket/classes/menu.php on line 22
Thank you for your support,
Brds
-- HikaMarket version -- : 1.4.2
-- Joomla version -- : 1.5.26
-- PHP version -- : 5.2.10
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : PHP Fatal error: Call to undefined method JUser::authorise() in xxxxxx/administrator/components/com_hikamarket/classes/menu.php on line 22
Hello team,
I installed first the shop script, everything was ok, then i installed the market, and i get blank page with the error : PHP Fatal error: Call to undefined method JUser::authorise() in /administrator/components/com_hikamarket/classes/menu.php on line 22
Thank you for your support,
Brds
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166283
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic After upload Market - fatal error in administrator
Hi,
Please edit the file "administrator/components/com_hikamarket/classes/menu.php" and replace the line 22
By
It will fix the problem with Joomla 1.5
Sorry for the inconvenient.
Regards,
Please edit the file "administrator/components/com_hikamarket/classes/menu.php" and replace the line 22
Code:
if(!$currentuser->authorise('core.manage', 'com_hikamarket'))
Code:
if(HIKASHOP_J16 &&!$currentuser->authorise('core.manage', 'com_hikamarket'))
Sorry for the inconvenient.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166285
by bienenf
Replied by bienenf on topic After upload Market - fatal error in administrator
Thank you for the feedback,
now same issue with line 40 :
[03-Aug-2014 13:48:33] PHP Fatal error: Call to undefined method JUser::authorise() in /administrator/components/com_hikamarket/classes/menu.php on line 40
What is the correction to apply ?
Thank you in advance
now same issue with line 40 :
[03-Aug-2014 13:48:33] PHP Fatal error: Call to undefined method JUser::authorise() in /administrator/components/com_hikamarket/classes/menu.php on line 40
What is the correction to apply ?
Thank you in advance
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166287
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic After upload Market - fatal error in administrator
Hi,
For the line 40 (and same for the 49).
You have to replace
By
In order to display the menu item with Joomla 1.5
Regards,
For the line 40 (and same for the 49).
You have to replace
Code:
$currentuser->authorise('core.admin', 'com_hikamarket')
Code:
!HIKASHOP_J16 || $currentuser->authorise('core.manage', 'com_hikamarket')
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166288
by bienenf
Replied by bienenf on topic After upload Market - fatal error in administrator
Same with line 50 :
[03-Aug-2014 14:33:39] PHP Fatal error: Call to undefined method JUser::authorise() in administrator/components/com_hikamarket/classes/menu.php on line 50
May be you could revu the menu.php file ?
Thank you,
[03-Aug-2014 14:33:39] PHP Fatal error: Call to undefined method JUser::authorise() in administrator/components/com_hikamarket/classes/menu.php on line 50
May be you could revu the menu.php file ?
Thank you,
Please Log in or Create an account to join the conversation.
12 years 1 month ago - 12 years 1 month ago #166289
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic After upload Market - fatal error in administrator
Hi,
Regards,
PS: The packages has been updated.
It should be line 49 but, it's the same. You have to replace the code twice as I said in my previous message.For the line 40 (and same for the 49).
Regards,
PS: The packages has been updated.
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 12 years 1 month ago by Jerome.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166291
by bienenf
Replied by bienenf on topic After upload Market - fatal error in administrator
Yes,
Thank you, that is ok now.
Thank you, that is ok now.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.215 seconds