When I go to my server and on localhost to get installation web page I get this error.
Any idea what can be wrong? All permissions are ok, for all files and folders nginx:nginx and folders 755, Selinux is disabled.
Notice: Error: Could not load template common/footer! in /var/www/html/opencart/system/library/template/twig.php on line 37Warning: fopen(/var/www/html/opencart/system/storage/session/sess_ddd0df4851e161fc224c18fb9f): Failed to open stream: Permission denied in /var/www/html/opencart/system/library/session/file.php on line 29
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
Yes on localhost. And yes I already check if those folders and files exist, and all is there and right permissions.
I will download opencart again and try again and see what is happend. No custom themes all as it is.
Notice: Error: Could not load template common/footer! in /var/www/html/opencart/system/library/template/twig.php on line 37Warning: fopen(/var/www/html/opencart/system/storage/session/sess_ddd0df4851e161fc224c18fb9f): Failed to open stream: Permission denied in /var/www/html/opencart/system/library/session/file.php on line 29
It says here clearly , you have to fix the permissionsMariogs wrote: ↑Sun Jan 05, 2025 1:02 amToday I have download opencart 3.0.4 And upload it to server and again I get this when I want to run installation with localhost.
Notice: Error: Could not load template common/footer! in /var/www/html/opencart/system/library/template/twig.php on line 37Warning: fopen(/var/www/html/opencart/system/storage/session/sess_ddd0df4851e161fc224c18fb9f): Failed to open stream: Permission denied in /var/www/html/opencart/system/library/session/file.php on line 29
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
folder permissions are 755 and files are 644
I have today installed new server rockylinux9 and again uploaded opencart files and it is the same, the same error.
After I set all folders to 775 which I think is not ok but now that error permission is gone, but this one still persist.
Notice: Error: Could not load template common/footer! in /var/www/html/opencart/system/library/template/twig.php on line 37
and find out it is problem with /storage/cache
this must be 777 if not than page doesn't work and I get errors
When I try to install extension I get error again even when I changed whole storage and subfolders to 777.
I really don't know what is going on here

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Warning</b>: mkdir(): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/admin/controller/extension/module/consent_management.php,/var/www/html/opencart/admin/controller/extension/module/consent_management.php): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/catalog/controller/extension/module/consent_management.php,/var/www/html/opencart/catalog/controller/extension/module/consent_management.php): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/catalog/model/extension/module/consent_management.php,/var/www/html/opencart/catalog/model/extension/module/consent_management.php): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/src/CrawlerDetect.php,/var/www/html/opencart/system/library/crawler-detect/src/CrawlerDetect.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/autoload.php,/var/www/html/opencart/system/library/crawler-detect/vendor/autoload.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>212</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/admin/language/de-de/extension/module/consent_management.php,/var/www/html/opencart/admin/language/de-de/extension/module/consent_management.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/admin/language/en-gb/extension/module/consent_management.php,/var/www/html/opencart/admin/language/en-gb/extension/module/consent_management.php): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/admin/view/template/extension/module/consent_management.twig,/var/www/html/opencart/admin/view/template/extension/module/consent_management.twig): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/catalog/language/de-de/extension/module/consent_management.php,/var/www/html/opencart/catalog/language/de-de/extension/module/consent_management.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/catalog/language/en-gb/extension/module/consent_management.php,/var/www/html/opencart/catalog/language/en-gb/extension/module/consent_management.php): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/catalog/view/theme/default/stylesheet/consent_management.css,/var/www/html/opencart/catalog/view/theme/default/stylesheet/consent_management.css): Permission denied in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/src/Fixtures/AbstractProvider.php,/var/www/html/opencart/system/library/crawler-detect/src/Fixtures/AbstractProvider.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/src/Fixtures/Crawlers.php,/var/www/html/opencart/system/library/crawler-detect/src/Fixtures/Crawlers.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/src/Fixtures/Exclusions.php,/var/www/html/opencart/system/library/crawler-detect/src/Fixtures/Exclusions.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/src/Fixtures/Headers.php,/var/www/html/opencart/system/library/crawler-detect/src/Fixtures/Headers.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/bin/php-parse,/var/www/html/opencart/system/library/crawler-detect/vendor/bin/php-parse): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/bin/php-parse.bat,/var/www/html/opencart/system/library/crawler-detect/vendor/bin/php-parse.bat): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/bin/phpunit,/var/www/html/opencart/system/library/crawler-detect/vendor/bin/phpunit): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/bin/phpunit.bat,/var/www/html/opencart/system/library/crawler-detect/vendor/bin/phpunit.bat): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/system/library/crawler-detect/vendor/composer/ClassLoader.php,/var/www/html/opencart/system/library/crawler-detect/vendor/composer/ClassLoader.php): No such file or directory in <b>/var/www/html/opencart/admin/controller/marketplace/install.php</b> on line <b>218</b><b>Warning</b>: rename(/var/www/html/storage/upload/tmp-i7MbfTmu4t/upload/sy
Or you could use an Apache server.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I use now apache and now is all ok
Please mark the topic title to include [SOLVED] thanks
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 17 guests