Hi there,
I try to upgrade opencart from version 3.0.3.3 to version 3.0.3.6, First I download zip file for 3.0.3.6.
I take backup of the existing version and then I upload the files in upload directory except config.php
I run the www.website.com/install/ and I found that all goes good. However, admin panel does not run successfully. I got the following error
Fatal error: Uncaught Error: Class 'ScssPhp\ScssPhp\Compiler' not found in /homepages/17/d285512468/htdocs/website.com/admin/controller/startup/sass.php:14 Stack trace: #0 /homepages/17/d285512468/htdocs/website.com/storage/modification/system/engine/action.php(79): ControllerStartupSass->index() #1 /homepages/17/d285512468/htdocs/website.com/system/engine/router.php(67): Action->execute(Object(Registry)) #2 /homepages/17/d285512468/htdocs/website.com/system/engine/router.php(46): Router->execute(Object(Action)) #3 /homepages/17/d285512468/htdocs/website.com/system/framework.php(165): Router->dispatch(Object(Action), Object(Action)) #4 /homepages/17/d285512468/htdocs/website.com/system/startup.php(104): require_once('/homepages/17/d...') #5 /homepages/17/d285512468/htdocs/website.com/admin/index.php(19): start('admin') #6 {main} thrown in /homepages/17/d285512468/htdocs/website.com/admin/controller/startup/sass.php on line 14
Anybody please help, thanks in advance.
I try to upgrade opencart from version 3.0.3.3 to version 3.0.3.6, First I download zip file for 3.0.3.6.
I take backup of the existing version and then I upload the files in upload directory except config.php
I run the www.website.com/install/ and I found that all goes good. However, admin panel does not run successfully. I got the following error
Fatal error: Uncaught Error: Class 'ScssPhp\ScssPhp\Compiler' not found in /homepages/17/d285512468/htdocs/website.com/admin/controller/startup/sass.php:14 Stack trace: #0 /homepages/17/d285512468/htdocs/website.com/storage/modification/system/engine/action.php(79): ControllerStartupSass->index() #1 /homepages/17/d285512468/htdocs/website.com/system/engine/router.php(67): Action->execute(Object(Registry)) #2 /homepages/17/d285512468/htdocs/website.com/system/engine/router.php(46): Router->execute(Object(Action)) #3 /homepages/17/d285512468/htdocs/website.com/system/framework.php(165): Router->dispatch(Object(Action), Object(Action)) #4 /homepages/17/d285512468/htdocs/website.com/system/startup.php(104): require_once('/homepages/17/d...') #5 /homepages/17/d285512468/htdocs/website.com/admin/index.php(19): start('admin') #6 {main} thrown in /homepages/17/d285512468/htdocs/website.com/admin/controller/startup/sass.php on line 14
Anybody please help, thanks in advance.
Guessing the storage folder path is wrong or the storage folder didn't get copied over from the updated install. Its probably using your original storage folder. hence missing the class.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Depends on where your storage path is pointing in your config. Assuming its the root storage folder, so if that's the case try below.
Backup your current root storage folder first. Then copy the one from system/storage to the root.
The problem is likely on upgrade, it fails to update the "moved" or existing storage folder with the updated vendor packages, which is why you get the missing class error.
Again.. Make sure you backup first.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Great!
Kindly add the word [SOLVED] in the beginning of your post title.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
This worked for me as well, Thank yousw!tch wrote: ↑Tue Aug 18, 2020 1:28 pmDepends on where your storage path is pointing in your config. Assuming its the root storage folder, so if that's the case try below.
Backup your current root storage folder first. Then copy the one from system/storage to the root.
The problem is likely on upgrade, it fails to update the "moved" or existing storage folder with the updated vendor packages, which is why you get the missing class error.
Again.. Make sure you backup first.
Great help worked for me too, thanks.
PS. I didn't back up the root file, I just renamed it "_old"
PS. I didn't back up the root file, I just renamed it "_old"
wasted a few days tracking 500 error until I realized the root/storage folders had not been updated when it was moved from public_html/storage. This topic pointed me to the problem. Thanks.The problem is likely on upgrade, it fails to update the "moved" or existing storage folder with the updated vendor packages, which is why you get the missing class error.
Who is online
Users browsing this forum: No registered users and 132 guests