I get the following error on the Upgrade page while trying to upgrade to OC v3.0.3.8 from version 2.x.x.x. My site is completely broken. I really have no idea where to go from here as I'm not a coder or administrator. Any help would be appreciated.
SyntaxError: Unexpected token '<', "Warning"... is not valid JSON parsererror Warning: unlink(/home2/bbesuppl/public_html/system/upload): Is a directory in /home2/bbesuppl/public_html/install/model/upgrade/1006.php on line 200Warning: unlink(/home2/bbesuppl/public_html/system/download): Is a directory in /home2/bbesuppl/public_html/install/model/upgrade/1006.php on line 200{"success":"Patch 1006 has been applied (7 of 10)","next":"index.php?route=upgrade\/upgrade\/next&step=8"}
Thank you
SyntaxError: Unexpected token '<', "Warning"... is not valid JSON parsererror Warning: unlink(/home2/bbesuppl/public_html/system/upload): Is a directory in /home2/bbesuppl/public_html/install/model/upgrade/1006.php on line 200Warning: unlink(/home2/bbesuppl/public_html/system/download): Is a directory in /home2/bbesuppl/public_html/install/model/upgrade/1006.php on line 200{"success":"Patch 1006 has been applied (7 of 10)","next":"index.php?route=upgrade\/upgrade\/next&step=8"}
Thank you
I contacted my host provider to see if it met the system requirements for OpenCart v3.0.3.8 but it lacked ZipArchive.
Are the system requirements on this page for the latest version of OpenCart?
http://docs.opencart.com/en-gb/requirements/
The install doc shows v3.0.2.0
I would like to get the latest working version so I don't have to go through this anytime soon.
Thanks.
Are the system requirements on this page for the latest version of OpenCart?
http://docs.opencart.com/en-gb/requirements/
The install doc shows v3.0.2.0
I would like to get the latest working version so I don't have to go through this anytime soon.
Thanks.
Well, the latest real working Opencart Version can be found here:
https://github.com/opencart/opencart/tr ... aintenance
https://github.com/opencart/opencart/tr ... aintenance
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
The system requirements at that link are for version 4. Opencart version 3.0.3.8 is not fully compatible with PHP 8. Which is why I asked what version of PHP you are using.
The error message is probably the result of two issues.
First is a bug on this line, wrongly using unlink to remove a directory.
https://github.com/opencart/opencart/bl ... 6.php#L200
Should be.
However this would not cause a problem on its own. But if you are using PHP 8 the error suppression would not be handled correctly, causing the error.
https://github.com/opencart/opencart/pull/10835
If you are using PHP 8 you would be best using the 3.0.x.x_Maintenance version IP_CAM linked to.
The error message is probably the result of two issues.
First is a bug on this line, wrongly using unlink to remove a directory.
https://github.com/opencart/opencart/bl ... 6.php#L200
Should be.
Code: Select all
@rmdir($src);
https://github.com/opencart/opencart/pull/10835
If you are using PHP 8 you would be best using the 3.0.x.x_Maintenance version IP_CAM linked to.
Thanks for the info. Yes, I upgraded to PHP 8 but I can downgrade to version 7 and try upgrading to OpenCart 3.0.3.8 again.
I have never used github. Usually I just download from opencart.com.
Shouldn't that work?
I'm not a coder, so much of this technical language I don't understand.
I have never used github. Usually I just download from opencart.com.
Shouldn't that work?
I'm not a coder, so much of this technical language I don't understand.
I was able to complete the upgrade to V3.0.3.8 without errors but now I get the following error on the admin page:
Warning: fopen(DIR_SYSTEMstorage/logs/error.log): failed to open stream: No such file or directory in /home2/bbesuppl/public_html/system/library/log.php on line 22
Also, I get this error when going to the homepage at bbesupplements.com:
Error: A theme has not been assigned to this store!
Warning: fopen(DIR_SYSTEMstorage/logs/error.log): failed to open stream: No such file or directory in /home2/bbesuppl/public_html/system/library/log.php on line 22
Also, I get this error when going to the homepage at bbesupplements.com:
Error: A theme has not been assigned to this store!
Check DIR_SYSTEM in defined correctly in your config.php and admin/config.php files and comes before DIR_STORAGE.
For the theme. Goto Extensions > Extensions, select Themes from drop-down and set up the theme.
For the theme. Goto Extensions > Extensions, select Themes from drop-down and set up the theme.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: timstudio and 171 guests