Skip to main content

After upload Market - fatal error in administrator

More
12 years 1 month ago #166278 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

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #166283 by Jerome
Hi,

Please edit the file "administrator/components/com_hikamarket/classes/menu.php" and replace the line 22
Code:
if(!$currentuser->authorise('core.manage', 'com_hikamarket'))
By
Code:
if(HIKASHOP_J16 &&!$currentuser->authorise('core.manage', 'com_hikamarket'))
It will fix the problem with Joomla 1.5

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.

More
12 years 1 month ago #166285 by bienenf
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

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #166287 by Jerome
Hi,

For the line 40 (and same for the 49).
You have to replace
Code:
$currentuser->authorise('core.admin', 'com_hikamarket')
By
Code:
!HIKASHOP_J16 || $currentuser->authorise('core.manage', 'com_hikamarket')
In order to display the menu item with Joomla 1.5

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.

More
12 years 1 month ago #166288 by bienenf
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,

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago - 12 years 1 month ago #166289 by Jerome
Hi,

For the line 40 (and same for the 49).

It should be line 49 but, it's the same. You have to replace the code twice as I said in my previous message.

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.

More
12 years 1 month ago #166291 by bienenf
Yes,

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
Powered by Kunena Forum