Skip to main content

Cannot enter HIKA after upgrade to J4

More
4 years 2 months ago #343875 by Peter Kjeldsen
-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.10
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Crome
-- Error-message(debug-mod must be tuned on) -- : After updating to joomla 4. I cannot enter Hikashop.
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

Hi I have a problem with Hikashop after migrate to J4
Hope you can help.
Br. Peter

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

More
4 years 2 months ago - 4 years 2 months ago #343882 by Philip
Hello,

We think we have a solution for at least the second error screen try to unpublished the pdf invoice plugin ( HikaShop - generate PDF invoice) in Joomla System, Manage => Plugins.

For the first screenshot try to unpublished the component Reset hits .

If this works for each error, for generate PDF invoice, this may means that for a reason or another when you update your HikaShop the plugins folder can't be updated (folder in read mode only?), as in our mind this plugin is fully compatible with J4.
You can try to update your plugin by download it again the plugin (from relative order, My account => My orders) and by using the Joomla install process.

Then for Reset hits, maybe you can process in the same way, and if that didn't work then report the error to Reset hits support.
Hope this will help you.

Regards
Last edit: 4 years 2 months ago by Philip.

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

More
4 years 2 months ago #343897 by mohairbears
Hi, Hikashop, you have an error giving in hikashopsocial.php on line 29 isAdmin when updating from 3.10 - 4.1. I have changed the file name and it work ok now, could not get into anything until I solved this

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

More
4 years 2 months ago - 4 years 2 months ago #343898 by mohairbears
Also now getting isAdmin error on attatchinvoice

0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:131
Seems to me you have issues with the call isAdmin throughout Hikashop

As i'm a long standing customer... bought this plugin in 2015 and it now will not let me get an updated version?
Last edit: 4 years 2 months ago by mohairbears.

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

More
4 years 2 months ago #343905 by nicolas
Hi,

1. In the file plugins/system/hikashopsocial/hikashopsocial.php
we have that code:
Code:
if(version_compare(JVERSION,'4.0','>=')) { $admin = $app->isClient('administrator'); } else { $admin = $app->isAdmin(); }
This means that it will only use isAdmin before Joomla 4 et isClient on Joomla 4 and on.
So this shouldn't be a problem. The only reasons I can see it would generate an error is if you're using an old version of HikaShop, without that if/else code in that file, or if that file couldn't be updated by the Joomla updater during the update of HikaShop because of wrong permissions on the file.

2. The error in /plugins/hikashop/attachinvoice/attachinvoice.php is because you're using an old version of the PDF invoice plugin.
For all the plugins sold on our marketplace ( www.hikashop.com/marketplace.html ), including the PDF invoice plugin, you get 4 years of free download of the latest version of the plugin after your purchase. After that 4 years period, if you need download the latest version of the plugin, you need to purchasing it again.
This is a way better deal than having to pay around 40% of the initial cost every year than what we do for HikaShop, HikaSerial or HikaMarket.
So since you first purchased it in 2015, that 4 years period is expired and you would have to repurchase it again to get access to the latest version again.

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

More
4 years 2 months ago #343906 by Peter Kjeldsen
Hi Philip
Yes I found out about Reset hits and student the back end was ok:-)
Do you know for sure all the plugin from Hika I need to unpublish because it do not work with J4?
Br.
Peter

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

More
4 years 2 months ago #343907 by Peter Kjeldsen
I do not find the PDF invoice plugin?
I will not use it, I will uninstall it.
Br. peter

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

More
4 years 2 months ago #343908 by Peter Kjeldsen
I find this
But I already updated to the latest Hika?

if(version_compare(JVERSION,'3.0','>=')) {
$option = $app->input->getVar('option');
$ctrl = $app->input->getVar('ctrl');
$task = $app->input->getVar('task');
} else {
$option = JRequest::getVar('option');
$ctrl

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

More
4 years 2 months ago #343909 by nicolas
Hi,

Even if you update HikaShop, you need to update the PDF invoice plugin separately as it is not included in HikaShop.
If you don't use the plugin, you can just disable it.

Do you know for sure all the plugin from Hika I need to unpublish because it do not work with J4?

All the plugins included in HikaShop are compatible with Joomla 4 if you have a recent version of HikaShop. So you don't need to unpublish them. The PDF invoice plugin is not included by HikaShop and needs to be updated separately.

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

More
4 years 2 months ago #343934 by mohairbears
Hi, It is in plugins/content/hikashopsocial/hikashopsocial.php I am on version 4.6.1 yet the file says its version 2.3.3? I just changed the file name adding BK and it works ok without this file?

I will redownload the PDF

thanks

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

More
4 years 2 months ago #343935 by nicolas
Hi,

The file plugins/content/hikashopsocial/hikashopsocial.php comes from a plugin we removed from HikaShop more than 5 years ago.
So you should disable the plugin in the Joomla plugins manager.
The following user(s) said Thank You: mohairbears

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

More
4 years 2 months ago #343961 by Peter Kjeldsen
Ok, can I just uninstall them???
"plugins/content/hikashopsocial/hikashopsocial.php"

I also get this message in control panel.
HikaShop Dashboard
This module can not work without the Hikashop Component
What do I do with this?

Hikashop are now working in my regular page:-)

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

More
4 years 2 months ago #343966 by Philip
Hello,

You can uninstall hikashopsocial but just unpublished is enough.
But remove only HikaShopsocial, as Nicolas told you all built-in plugin are J4 compatible.
And so, basically we don't really what you mean by "them"...

I just forgot to specify earlier that indeed Attachinvoice (pdf invoice) was not provided with HikaShop and therefore had to be updated separately and by yourself (in order to solve your error message).

For the message "This module can not work without the Hikashop Component", can you provide a complete page screenshot in order to see the context please.
Regards

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

More
4 years 2 months ago #344028 by Peter Kjeldsen
Hi Phillip
Them is because there is a social contet and system. 2 plugin.

This is the one you mean?
"Attach Invoice to the order confirmation e-mail" I can uninstall this too.

I think it is better to uninstall the no needed plugins. Otherwise maybe I may forget and publish it later:-)

Br.
Peter

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

More
4 years 2 months ago #344029 by nicolas
Hi,

The system one is the one used to display share buttons on the product details page on the frontend. If you don't need it you can uninstall it.

You can uninstall the PDF invocie plugin if you don't need it, yes.

Note however that for plugins included in HikaShop, like the system / hikasocial plugin, HikaShop will install/update them on each update of HikaShop. So if you uninstall itit instead of disabling it, you'll get it back next time you update your HikaShop.

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

More
4 years 2 months ago #344092 by Peter Kjeldsen
OK, thank you.

What about this plugin.
"Advanced Search Manager for HikaShop"
I think this is another company who make this and I do not find an update?

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

More
4 years 2 months ago #344095 by nicolas
Hi,

It was made by www.joomdev.com/
I couldn't find more information about this though. You'll have to contact them.

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

More
4 years 1 month ago #344377 by Peter Kjeldsen
Ok, I will ask them.

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

Time to create page: 0.126 seconds
Powered by Kunena Forum