I uninstalled extensions before upgrading to avoid issue, and then reinstalled them one by one.
Everything appeared to be fine front and backend last night.
The square extension was the only one I am having issues with so this morning I was attempting to see if I could get it working.
Googling issues others had like mine, it was mentioned to refresh the theme and SASS in the top right corner which I did. (didn't do it after upgrade)
After that the admin page started with the 500 error page.
I checked in the files for an error log and there is none.
Using the dev browser tools I only get this: Failed to load resource: the server responded with a status of 500 ()
Any help with steps to take next?
And I've forgotten which table do I find the extensions status to disable if that is suggested to do?
Thanks
How did you do the upgrade ?
At a wild guess your square extension is not compatible with OC3 / php8
grgr wrote: ↑Sat Nov 09, 2024 8:27 pmDelete the modification files and you should be able to get back in and then disable the extension.
You will find the files in the /storage/modification/ folder. If you have NOT moved the storage folder then it is in ../system/storage/modification/
Otherwise it will be wherever you moved it to.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
I'm guessing the same with square. But they do have a opencart 4 version so it is available. Just not likely in the opencart 3 version.by mona wrote: ↑Sat Nov 09, 2024 10:13 pmError 500 is a server error and server errors are in the server error log not the Opencart error log.
How did you do the upgrade ?
At a wild guess your square extension is not compatible with OC3 / php8
grgr wrote: ↑Sat Nov 09, 2024 8:27 pmDelete the modification files and you should be able to get back in and then disable the extension.
You will find the files in the /storage/modification/ folder. If you have NOT moved the storage folder then it is in ../system/storage/modification/
Otherwise it will be wherever you moved it to.
Not sure where to find the server error log. I'm with Hostgator on a VPS.
I did find whitewaterhoney_com.php.error.log and I attempted to go to the admin page to trigger another error and found it creates this error:
[09-Nov-2024 13:56:16 America/Toronto] PHP Fatal error: Uncaught Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString() in /home/whitewaterhoney/public_html/admin/controller/startup/sass.php:17
Stack trace:
#0 /home/whitewaterhoney/storage/modification/system/engine/action.php(79): ControllerStartupSass->index()
#1 /home/whitewaterhoney/public_html/system/engine/router.php(67): Action->execute(Object(Registry))
#2 /home/whitewaterhoney/public_html/system/engine/router.php(46): Router->execute(Object(Action))
#3 /home/whitewaterhoney/public_html/system/framework.php(179): Router->dispatch(Object(Action), Object(Action))
#4 /home/whitewaterhoney/public_html/system/startup.php(104): require_once('/home/whitewate...')
#5 /home/whitewaterhoney/public_html/admin/index.php(19): start('admin')
#6 {main}
thrown in /home/whitewaterhoney/public_html/admin/controller/startup/sass.php on line 17
[Sat Nov 09 12:06:57.369829 2024] [authz_core:error] [pid 24458:tid 24708] [client 66.249.66.193:35330] AH01630: client denied by server configuration: /home/whitewaterhoney/public_html/ads.txt
I originally did a sub-domain and copied the database and the files and did the upgrade there and everything was fine other than Square.
So I then did it on my live site. Uploaded the 3.0.4.0 files and ran website.com/install where I was able to upgrade from there.
Everything appeared fine for several hours until I did the refresh theme and SASS.
The problem is likely on upgrade, the moved or existing storage folder might have been done without the updated vendor packages, which would explain the missing class error.
Try to move system/storage directory from 3.0.4.0 to your current storage directory location.
As a general rule it is best not to use the upgrade, rather to reinstall from scratch
1. Back up your site files and database
2. Depending on your host and deal. Set up a development site either live or local.
3. Build new OC from scratch.
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
5. Install all the modification and use the error log to fix the errors.
Presumably you mean this one https://www.opencart.com/index.php?rout ... n_id=31311.
I am pretty sure I have seen it being used on 3.0.3.9. It should work and isense have support.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I'll copy storage folder over from the system folder and let you know the outcome.
Yes that's the Square I used. I have a ticket in to isenselabs. Just have to wait till Monday for a reply.
That fixed it. Nice call. At least I'll know when I upgrade the other website.by mona wrote: ↑Sun Nov 10, 2024 3:28 amCheck your config paths to the storage folder.
The problem is likely on upgrade, the moved or existing storage folder might have been done without the updated vendor packages, which would explain the missing class error.
Try to move system/storage directory from 3.0.4.0 to your current storage directory location.
As a general rule it is best not to use the upgrade, rather to reinstall from scratch
1. Back up your site files and database
2. Depending on your host and deal. Set up a development site either live or local.
3. Build new OC from scratch.
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
5. Install all the modification and use the error log to fix the errors.
Presumably you mean this one https://www.opencart.com/index.php?rout ... n_id=31311.
I am pretty sure I have seen it being used on 3.0.3.9. It should work and isense have support.
Thanks for the help.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: No registered users and 16 guests