Post by LeafPrint » Mon May 03, 2021 4:14 am

I have the following error after uploading files to server...
Any help would be appreciated :-[
Warning: Cannot modify header information - headers already sent by (output started at /homepages/1/d870344826/htdocs/public_html/config.php:12) in /homepages/1/d870344826/htdocs/public_html/index.php on line 12

Newbie

Posts

Joined
Mon May 03, 2021 4:09 am

Post by xxvirusxx » Mon May 03, 2021 2:40 pm

LeafPrint wrote:
Mon May 03, 2021 4:14 am
I have the following error after uploading files to server...
When you do what?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Mon May 03, 2021 7:30 pm

OC version. Ensure your server path and DB information are properly entered. For server paths validations, you could either use your host's file manager console or this post: viewtopic.php?f=199&t=198781&p=699560#p699560

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by LeafPrint » Tue May 04, 2021 12:36 am

I did a clean install which seemed to work, now I have completed the installation, I now have a catalogue of errors on both the home page and the admin side...
When I first had success with the install my default home page came up, but then all these issues happened when moving the storage folder out of the system as it suggested.

Warning: fopen(/homepages/1/d870344826/system/logs/error.log): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/log.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /homepages/1/d870344826/htdocs/system/library/log.php:22) in /homepages/1/d870344826/htdocs/catalog/controller/startup/session.php on line 25
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/cache/cache.catalog.language.1620063151): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/cache/cache.currency.1620063151): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/logs/error.log): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31

Fatal error: Uncaught Error: Class 'Twig\Loader\ArrayLoader' not found in /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_library_template_twig.php:35 Stack trace: #0 /homepages/1/d870344826/htdocs/system/library/template.php(51): Template\Twig->render('default/templat...', '{% if modules %...') #1 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_loader.php(125): Template->render('default/templat...', '') #2 /homepages/1/d870344826/htdocs/catalog/controller/common/column_left.php(72): Loader->view('common/column_l...', Array) #3 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_action.php(79): ControllerCommonColumnLeft->index(Array) #4 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_loader.php(48): Action->execute(Object(Registry), Array) #5 /homepages/1/d870344826/htdocs/catalog/controller/common/home.php(12): Loader->controller('common/column_l...') #6 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_action.php(79): ControllerCommonHome->index() #7 /homepa in /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_library_template_twig.php on line 35

Any assistance would be greatly appreciated...

Newbie

Posts

Joined
Mon May 03, 2021 4:09 am

Post by ADD Creative » Tue May 04, 2021 1:56 am

Check you file and folder permissions, especially of the moved storage folder.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by EvolveWebHosting » Fri May 14, 2021 12:15 am

Also make sure you've uploaded every file. Some of the errors read as if files are missing. There's a link in my signature to an article about how to install Opencart.

2 Week FREE Trial of our Shared Hosting plans (DIrectAdmin or cPanel) for new customers
2 Week FREE Trial of Astra Firewall and Malware Scanner
Visit our website for full details and to start your trial today - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by mikeinterserv » Fri May 14, 2021 12:36 am

So did you change the storage path correctly in the config files after you moved it.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Fri May 14, 2021 2:34 am

LeafPrint wrote:
Tue May 04, 2021 12:36 am
I did a clean install which seemed to work, now I have completed the installation, I now have a catalogue of errors on both the home page and the admin side...
When I first had success with the install my default home page came up, but then all these issues happened when moving the storage folder out of the system as it suggested.

Warning: fopen(/homepages/1/d870344826/system/logs/error.log): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/log.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /homepages/1/d870344826/htdocs/system/library/log.php:22) in /homepages/1/d870344826/htdocs/catalog/controller/startup/session.php on line 25
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/cache/cache.catalog.language.1620063151): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/cache/cache.currency.1620063151): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31
Warning: fopen(/homepages/1/d870344826/system/logs/error.log): failed to open stream: No such file or directory in /homepages/1/d870344826/htdocs/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, bool given in /homepages/1/d870344826/htdocs/system/library/log.php on line 31

Fatal error: Uncaught Error: Class 'Twig\Loader\ArrayLoader' not found in /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_library_template_twig.php:35 Stack trace: #0 /homepages/1/d870344826/htdocs/system/library/template.php(51): Template\Twig->render('default/templat...', '{% if modules %...') #1 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_loader.php(125): Template->render('default/templat...', '') #2 /homepages/1/d870344826/htdocs/catalog/controller/common/column_left.php(72): Loader->view('common/column_l...', Array) #3 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_action.php(79): ControllerCommonColumnLeft->index(Array) #4 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_loader.php(48): Action->execute(Object(Registry), Array) #5 /homepages/1/d870344826/htdocs/catalog/controller/common/home.php(12): Loader->controller('common/column_l...') #6 /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_engine_action.php(79): ControllerCommonHome->index() #7 /homepa in /homepages/1/d870344826/htdocs/vqmod/vqcache/vq2-system_library_template_twig.php on line 35

Any assistance would be greatly appreciated...
system/cache does not exist. Storage folder is missing.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cheeseheadnate » Thu Jun 10, 2021 12:02 am

You need to rename the config-dist.php in the root of your opencart install and the admin folder as well. Both places should be renamed config.php


Posts

Joined
Wed Jun 09, 2021 11:49 pm
Who is online

Users browsing this forum: No registered users and 46 guests