[Skip to main content](#vessel-content)

#   Upgrade gone wrong

##

- **[Pens](/forum/user/70908-pens "View Pens's Profile")**
- [![Pens's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/70908-pens "View Pens's Profile") Topic Author
- [ Offline](/forum/user/70908-pens)

Less More

- Posts: 30
- Thank you received: 2
-
-

3 years 2 months ago [\#355247](#355247) by [Pens](/forum/user/70908-pens "View Pens's Profile")  *[Upgrade gone wrong](/forum/25-install-update/907021-upgrade-gone-wrong#355247 "-- url of the page with the problem -- :   artisan-pens.com/index.php/home  -- HikaShop version -- : Essential: 4.7.4 -- Joomla version -- : 3.10.11 -- PHP version -- : 5.6.40 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16  I applied the upgrade to V5 from within Joomla, mow when I go to my site front page I get ' Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16'  The same message appears when I select Hikashop from Administrator Components.  I have tried uploading the com&#95;hikashop&#95;essential&#95;v5.0.0&#95;2023-09-18&#95;14-07-57.tar.gz to 'extensions manage install' and after a few seconds it just comes up with 'error'  Is there any way to uninstall Hikashop and re-install without loosing the data?  Thanks for your help")* was created by *[Pens](/forum/user/70908-pens "View Pens's Profile")*

-- url of the page with the problem -- : [ artisan-pens.com/index.php/home](https://artisan-pens.com/index.php/home)
-- HikaShop version -- : Essential: 4.7.4
-- Joomla version -- : 3.10.11
-- PHP version -- : 5.6.40
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public_html/administrator/components/com_hikashop/pluginCompat.php on line 16

I applied the upgrade to V5 from within Joomla, mow when I go to my site front page I get '
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public_html/administrator/components/com_hikashop/pluginCompat.php on line 16'

The same message appears when I select Hikashop from Administrator Components.

I have tried uploading the com_hikashop_essential_v5.0.0_2023-09-18_14-07-57.tar.gz to 'extensions manage install' and after a few seconds it just comes up with 'error'

Is there any way to uninstall Hikashop and re-install without loosing the data?

Thanks for your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwNzAyMS11cGdyYWRlLWdvbmUtd3Jvbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 2 months ago [\#355249](#355249) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upgrade gone wrong](/forum/25-install-update/907021-upgrade-gone-wrong#355249 "-- url of the page with the problem -- :   artisan-pens.com/index.php/home  -- HikaShop version -- : Essential: 4.7.4 -- Joomla version -- : 3.10.11 -- PHP version -- : 5.6.40 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16  I applied the upgrade to V5 from within Joomla, mow when I go to my site front page I get ' Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16'  The same message appears when I select Hikashop from Administrator Components.  I have tried uploading the com&#95;hikashop&#95;essential&#95;v5.0.0&#95;2023-09-18&#95;14-07-57.tar.gz to 'extensions manage install' and after a few seconds it just comes up with 'error'  Is there any way to uninstall Hikashop and re-install without loosing the data?  Thanks for your help")*

Hi,

Edit the file administrator/components/com_hikashop/pluginCompat.php via FTP and replace its content by this : Code:

&lt;?php class hikashopJoomlaPlugin extends JPlugin{} ?&gt;

That should allow you to access your website normally.

The issue is linked to the changes we made for the support of Joomla 5, which required code which can't be compatible with PHP5 to be loaded at some point. So, following your report, I've now made a patch so that this bit of code is only parsed when using Joomla 4 or greater. Since Joomla 4 can't work on PHP5, it will fix the problem.
So once you get back access to your website with the change mentioned above, you can download the install package of HikaShop 5 again on our website and install it on yours and it will work without that error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwNzAyMS11cGdyYWRlLWdvbmUtd3Jvbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pens](/forum/user/70908-pens "View Pens's Profile")**
- [![Pens's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/70908-pens "View Pens's Profile") Topic Author
- [ Offline](/forum/user/70908-pens)

Less More

- Posts: 30
- Thank you received: 2
-
-

3 years 2 months ago -  3 years 2 months ago [\#355251](#355251) by [Pens](/forum/user/70908-pens "View Pens's Profile")  Replied by *[Pens](/forum/user/70908-pens "View Pens's Profile")* on topic *[Upgrade gone wrong](/forum/25-install-update/907021-upgrade-gone-wrong#355251 "-- url of the page with the problem -- :   artisan-pens.com/index.php/home  -- HikaShop version -- : Essential: 4.7.4 -- Joomla version -- : 3.10.11 -- PHP version -- : 5.6.40 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16  I applied the upgrade to V5 from within Joomla, mow when I go to my site front page I get ' Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/pens/domains/artisan-pens.com/public&#95;html/administrator/components/com&#95;hikashop/pluginCompat.php on line 16'  The same message appears when I select Hikashop from Administrator Components.  I have tried uploading the com&#95;hikashop&#95;essential&#95;v5.0.0&#95;2023-09-18&#95;14-07-57.tar.gz to 'extensions manage install' and after a few seconds it just comes up with 'error'  Is there any way to uninstall Hikashop and re-install without loosing the data?  Thanks for your help")*

Thanks very much, that worked

Regards

Nick

Last edit: 3 years 2 months ago by [Pens](/forum/user/70908-pens "View Pens's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwNzAyMS11cGdyYWRlLWdvbmUtd3Jvbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
