Hello support
I migrated my open cart website from one server to another. I configured the database as well but im getting an error on the website. Kindly assist me.
below is the error :
Warning: fopen(/home/findaghdr/ocartdata/storage/logs/error.log): failed to open stream: No such file or directory in /home/findaghdr/public_html/system/library/log.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /home/findaghdr/public_html/system/library/log.php:22) in /home/findaghdr/public_html/catalog/controller/startup/session.php on line 25
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fopen(/home/findaghdr/ocartdata/storage/cache/cache.catalog.language.1624712706): failed to open stream: No such file or directory in /home/findaghdr/public_html/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/findaghdr/public_html/system/library/log.php:22) in /home/findaghdr/public_html/catalog/controller/startup/startup.php on line 107
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fopen(/home/findaghdr/ocartdata/storage/cache/cache.currency.1624712706): failed to open stream: No such file or directory in /home/findaghdr/public_html/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fflush() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: flock() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/findaghdr/public_html/system/library/log.php:22) in /home/findaghdr/public_html/catalog/controller/startup/startup.php on line 167
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Warning: fopen(/home/findaghdr/ocartdata/storage/logs/error.log): failed to open stream: No such file or directory in /home/findaghdr/public_html/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, bool given in /home/findaghdr/public_html/system/library/log.php on line 31
Fatal error: Uncaught Error: Class 'Twig\Loader\ArrayLoader' not found in /home/findaghdr/public_html/system/library/template/twig.php:31 Stack trace: #0 /home/findaghdr/public_html/system/library/template.php(51): Template\Twig->render('medical/templat...', '<script type="t...') #1 /home/findaghdr/public_html/system/engine/loader.php(125): Template->render('medical/templat...', '') #2 /home/findaghdr/public_html/catalog/controller/extension/module/category.php(62): Loader->view('extension/modul...', Array) #3 /home/findaghdr/public_html/system/engine/action.php(79): ControllerExtensionModuleCategory->index(Array) #4 /home/findaghdr/public_html/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #5 /home/findaghdr/public_html/catalog/controller/common/column_left.php(52): Loader->controller('extension/modul...') #6 /home/findaghdr/public_html/system/engine/action.php(79): ControllerCommonColumnLeft->index(Array) #7 /home/findaghdr/public_html/system/engine/loader.php(48): Action->execute(Object(Registry in /home/findaghdr/public_html/system/library/template/twig.php on line 31
What version of OpenCart? You have posted in 2.x section, but your error messages look more like 3.x.
Your config.php files are probably not updated correctly.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
OC version. Ensure your cache folder is created at the specified location and that the CHMOD permissions are recursively set to 0755 on folders only.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: dparakhiya and 326 guests