Upgrade from Hikashop Starter to Hikashop Business problem

  • Posts: 5
  • Thank you received: 0
3 years 9 months ago #329073

-- url of the page with the problem -- : ohsn-demo.nl
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4.11
-- Browser(s) name and version -- : Firefox.85.0
-- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST)

Hello,

I installed Hikashop Business on top of an allready installed Hikashop Starter. But then I get this error:
syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST)



I tried installing Hikashop Business on een clean install, and that worked fine.

So how do I get this site working?

Regards,
Bianca Roelandschap

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 9 months ago #329093

Hi,

This indicates that the file administrator/components/com_hikashop/classes/currency.php is missing the end of the file.
This normally cannot happen with the install of the install package.
This usually happens when you do an install from a folder where you previously uploaded via FTP the extracted files of the install package, but you had a problem during the FTP upload which lead to at least this file not being uploaded completely.
If it's only that file, you can just overwrite it via FTP with the file back/classes/currency.php from the install package.
Otherwise, reuploading all the files of the install package and redoing the install will fix the problem for all the files.

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

  • Posts: 5
  • Thank you received: 0
3 years 9 months ago #329114

Hi Nicolas,

Thank you for your reply, but...
I did not install through FTP, I installed through Joomla Extensions Upload package.
But I tried what you suggested, but I still get the same error.

I even tried to rename com_hikashop in Components and Administrator Componants. Installed again.
Still the same error.

When I do a clean install with Joomla and Hikashop Business, it works perfectly. But I allreaddy have 500+ products and 100+ categories in Hikashop Starter.

What you should know is that i have the site on a localhost. I uses Akeeba Backup to transfer the localhost site to ohsn-demo.nl. Everything works fine, untill I install Hikashop Business.

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

  • Posts: 5
  • Thank you received: 0
3 years 9 months ago #329116

Hi Nicolas,

It is solved.
I saw someone else had the same problem just after my post. And there was a problem with the package.
I downloaded again, installed and it's working!

Thank you so much for your help!

Bianca

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 9 months ago #329118

Hi,

Yes. Sorry for that. We just found out about it and had to redo a package to fix the problem.
Usually, such issue comes from FTP upload. It's the first time we had a problem with the packaging system leading to a corrupt file.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum