I have installed OpenCart 3.0.3.6 on my LAMP server successfully.
But I can't run OpenCart because it write about server 500 error.
When I looked apache2 error.log, I have seen the following message:
Uncaught Error: Class 'Twig\\Loader\\ArrayLoader' not found in /var/www/html/.../system/library/template/twig.php:31
I tried to fix this error with replacing modification.xml to new modification.xml from GitHub, but no results.
Please give me a good idea to fix this error.
seems to contain some unfixed misses, according to Github/OpenCart.
https://github.com/condor2/Opencart_3036
Ernie
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.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You downloaded the zip from the opencart website or did you clone from Github/Composer?vladloz wrote: ↑Sat Aug 29, 2020 3:03 amI'm newbie in OpenCart.
I have installed OpenCart 3.0.3.6 on my LAMP server successfully.
But I can't run OpenCart because it write about server 500 error.
When I looked apache2 error.log, I have seen the following message:
Uncaught Error: Class 'Twig\\Loader\\ArrayLoader' not found in /var/www/html/.../system/library/template/twig.php:31
I tried to fix this error with replacing modification.xml to new modification.xml from GitHub, but no results.
Please give me a good idea to fix this error.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Then COPY the system/storage folder in replace of that folder.
The Vendor packages have changed in 3.0.3.6.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
This can help:
Code: Select all
require_once(DIR_STORAGE . "vendor/autoload.php");
This issue has been fixed on the v3.0.3.6 which contains a new version of the vendor.pm-netti wrote: ↑Tue Nov 24, 2020 10:36 pmAs of version 3.0.3.5, Twig sticks are in the storage /vendor directory. It looks like the storage directory is not recognized.
This can help:
Code: Select all
require_once(DIR_STORAGE . "vendor/autoload.php");
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
v3.0.3.6 uses a new vendor's package as opposed to previous releases which is why the date may differ.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Better to use the cPanel File Manager to make these moves by using the extract button when installing a fresh version of Opencart.support@gottires.com wrote: ↑Sat Oct 09, 2021 3:06 pmIn my case, I got this error because there was a system folder already in the root directly when i moved all upload zip contents to it.. I suppose the files in zip didn't move successfully.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 102 guests