Uninstalling Hikashop extension Topic is solved

This forum is for general questions about extensions for Joomla! 5.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Connie21
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Nov 21, 2023 9:03 am

Uninstalling Hikashop extension

Post by Connie21 » Tue Nov 21, 2023 9:14 am

Greetings
I just completed building a website and decided to use HIKASHOP as my payment gateway. As I'm not a developer or web designer, I could not configure it, so I uninstalled it- or so I thought. Now my website does not work. If I go to my site at: www.thailandtours.co.za, it just spits errors at me.
Any ideas?

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9557
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Uninstalling Hikashop extension

Post by AMurray » Tue Nov 21, 2023 9:46 pm

strange, that's the second Hikashop related post I have seen. My advice contact the developer of the extension.

The JED listing indicates J5 compatible: https://extensions.joomla.org/extension/hikashop/
Regards - A Murray

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17225
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Uninstalling Hikashop extension

Post by toivo » Tue Nov 21, 2023 10:52 pm

Connie21 wrote:
Tue Nov 21, 2023 9:14 am
If I go to my site at: www.thailandtours.co.za, it just spits errors at me
The home page of the websites shows "MissingComponentException". Check the main menu and the menu item marked as Home. Is it pointing to a missing component like the uninstalled HikaShop? Move the Home flag to a different menu item.

The home page also shows a syntax error. For some reason line 22 of the file modules/mod_menu/mod_menu.php has been changed and the current syntax is invalid.

Line 22 of modules/mod_menu/mod_menu.php:

Code: Select all

$path       = $base->1;
Edit this line and change it to:

Code: Select all

$path       = $base->tree;
AMurray wrote:
Tue Nov 21, 2023 9:46 pm
The JED listing indicates J5 compatible
HikaShop does not need the Backward Compatibility plugin because it builds its own class map for the outdated Joomla core class names it uses. HikaShop v5.0.0 Starter can be installed without the Backward Compatibility plugin and it can also be uninstalled from Joomla 5 without any issues.
Toivo Talikka, Global Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43875
Joined: Sat Apr 05, 2008 9:58 pm

Re: Uninstalling Hikashop extension

Post by Webdongle » Wed Nov 22, 2023 12:12 am

First Hikashop is not a Payment Gateway it is a Shopping cart. Secondly one of the easiest way to uninstall a Component that won't install is to reinstall it then uninstall.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17225
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Uninstalling Hikashop extension

Post by toivo » Wed Nov 22, 2023 1:47 am

No issues in installing or uninstalling the latest version of HikaShop Starter.

The OP's issue was 'component not found' after HikaShop was uninstalled. Something or rather someone had also modified the file modules/mod_menu/mod_menu.php, which splashes another error on the Joomla 5 page.
Toivo Talikka, Global Moderator

Connie21
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Nov 21, 2023 9:03 am

Re: Uninstalling Hikashop extension

Post by Connie21 » Wed Nov 22, 2023 3:36 am

Hi
Thanks for your input.
I have changed the code in line 22.
How do I change the HOME flag?
Last edited by toivo on Wed Nov 22, 2023 4:20 am, edited 1 time in total.
Reason: mod note: removed quote

Connie21
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Nov 21, 2023 9:03 am

Re: Uninstalling Hikashop extension

Post by Connie21 » Wed Nov 22, 2023 3:38 am

I did change the HOME menu item to point to SINGLE ARTICLE, but I still have 4 syntax errors popping up on my website HOME page.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17225
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Uninstalling Hikashop extension

Post by toivo » Wed Nov 22, 2023 4:55 am

Those are not syntax errors but PHP warnings, reported because of incorrect data in the processing of the menu. That is caused by the same error as before, "404 Component not found".

If the home page is set to point to an article, somehow the content component, com_content, is disabled, which gives the 404 error.

Use phpMyAdmin to browse the database table _extensions. Locate the row where the column 'name' contains 'com_content'. Check the column 'enabled' and make sure it is set to 1, meaning the component is enabled.

If that does not help, go to System - Update - Joomla and make sure from Options that the update channel is 'Default'. Click 'Check for Updates' and then click 'Reinstall Joomla! core files'.
Toivo Talikka, Global Moderator

Connie21
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Nov 21, 2023 9:03 am

Re: Uninstalling Hikashop extension

Post by Connie21 » Wed Nov 22, 2023 10:23 am

Hi - I could not figure out phpMyAdmin, so I reinstalled the core JOOMLA files. I still get an error:

MissingComponentException TypeError
HTTP 500 Whoops, looks like something went wrong.
in_array(): Argument #2 ($haystack) must be of type array, null given

in /home/southaf8/thailandtours.co.za/templates/cassiopeia/html/mod_menu/dropdown-metismenu.php (line 49)

if ($item->id == $active_id || ($item->type === 'alias' && $itemParams->get('aliasoptions') == $active_id)) { $class[] = 'current'; } if (in_array($item->id, $path)) { $class[] = 'active'; } elseif ($item->type === 'alias') { $aliasToId = $itemParams->get('aliasoptions'); if (count($path) > 0 && $aliasToId == $path[count($path) - 1]) {
Last edited by toivo on Wed Nov 22, 2023 12:11 pm, edited 1 time in total.
Reason: mod note: removed unnecessary quote

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43875
Joined: Sat Apr 05, 2008 9:58 pm

Re: Uninstalling Hikashop extension

Post by Webdongle » Wed Nov 22, 2023 3:01 pm

You have a menu item linked to hikashop?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9557
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Uninstalling Hikashop extension

Post by AMurray » Wed Nov 22, 2023 10:08 pm

like @webdongle identified:

The 'component not found' issue does arise if you don't delete the menu items that were linked to it. Don't know if that's the case here or not.
Regards - A Murray


Post Reply

Return to “Extensions for Joomla! 5.x”