- Posts: 10
- Thank you received: 0
Error accessing administrator part of the site
- historyman73
-
Topic Author
- Offline
Having tried to upgrade Hikashop from 1.5.8 to 2.1.1, I tried to install the tar.gz file using the Joomla install utility. It came up with an Internal server 500 error.
I have found a way of extracting the tar.gz hikashop upgrade folder and uploading the files to the home/tmp location on my site.
However, when I went back to login to the administrator area of Joomla again, I receive the following error:
"Parse error: syntax error, unexpected '=', expecting '(' in /homepages/1/d292807604/htdocs/administrator/components/com_hikashop/helpers/helper.php on line 1459"
Do you have any ideas how I could resolve this? Looks to be a problem in that particular file which I can locate easily enough, but I have no idea what in the file needs fixing.
Thank you
Dave
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you reinstall again your Hikashop with a new installation package ?
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
Thanks for the response. I can't access the administrator control panel part of the site, so am not sure how to reinstall hikashop.
I can access the file structure of my site though if that helps.
Thanks, Dave
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
I can now access the administrator area and see my Joomla control panel. I've downloaded the Hikashop Starter zip file and gone into the Install Extensions menu. I then chose to upload and install the zip file but my browser refreshed to show the following area message: -
Parse error: syntax error, unexpected '=', expecting '(' in /homepages/1/d292807604/htdocs/administrator/components/com_hikashop/helpers/helper.php on line 1460
This appears on the administrator/index.php page.
Thanks, Dave
Please Log in or Create an account to join the conversation.
Rename again that folder.
Download again the install package on our website and do an install via FTP as explained on the documentation and that should help:
www.hikashop.com/en/support/documentatio...-to-install.html#ftp
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
I've tried uploading an extracted hikashop folder to the home\tmp location on my site but it can't find the folder I've uploaded.
I've also tried uploading a zip file to the install from URL field in the format www.example.com/home/tmp folder but get the error message above again.
It only appears to have a problem with a line in the helpers.php file - it is possible to just change this perhaps?
Thanks.
Please Log in or Create an account to join the conversation.
You can copy the files of the folder back of the install package to the administrator/components/com_hikashop folder and the files of the folder front to the components/com_hikashop folder via FTP and that should already help a lot.
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
I currently have a com_hikashop folder within administrator/components. This contains subfolders such as buttons, classes, controllers, extensions, falang, helpers, inc, translations, types and views with 6 other files.
I then have a com_hikashop folder at the highest level on the site (e.g. www.example.com/com_hikashop . This contains folders controllers, fields, params and views with 4 other files.
If I navigate to example.com/administrator/ I can see the login screen but on login, I see the following error message:
Parse error: syntax error, unexpected '=', expecting '(' in /homepages/1/d292807604/htdocs/administrator/components/com_hikashop/helpers/helper.php on line 1460
If I then navigate to www.example.com , I see the following error message:
Parse error: syntax error, unexpected '=', expecting '(' in /homepages/1/d292807604/htdocs/administrator/components/com_hikashop/helpers/helper.php on line 1460
Could you please just explain your last note? Understand how to copy the extracted folders / files from the install zip file to the administrator/components location. However, what am I copying to the components folder?
Thanks - really keen to get this resolved.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
I've copied the folders and files from the "back" folder of the install package to the administrator/components/com_hikashop folder on the site.
I then copied the folders and files from the "front" folder of the install package to the components/com_hikashop folder on the site.
I still get the same error when I login to the administrator page of my site:
"Parse error: syntax error, unexpected '=', expecting '(' in /homepages/1/d292807604/htdocs/administrator/components/com_hikashop/helpers/helper.php on line 1460".
If I then "remove" the com_hikashop folder from the administrator/components folder of the site, I can now login to the Joomla admin control panel.
However, if I then navigate to the home page of my site, I see an error message:
"Fatal error: Call to undefined function: str_ireplace() in /homepages/1/d292807604/htdocs/index.php on line 91".
If it helps, I am on the following versions:
Joomla 1.5.26
PHP version 4.49
Thanks, Dave
Please Log in or Create an account to join the conversation.
I think that the problem is your PHP version.
We do not support PHP 4 anymore since several months.
You should update your PHP. PHP4 critical support itself has ended already 5 years ago and thus it's been a long time now and most PHP applications stopped their support for PHP4.
Please Log in or Create an account to join the conversation.
- historyman73
-
Topic Author
- Offline
- Posts: 10
- Thank you received: 0
Dave
Please Log in or Create an account to join the conversation.