Post by marcelow » Fri Apr 20, 2018 5:29 am

Good night people. I changed hosting, set up config.php normally and now I'm having this error.
The admin page (/ admin) works perfectly, but the index does not ... does anyone know what it can be?

Code: Select all

Fatal error: Call to a member function link () on null in /home/meudocemundinho/www/admin/controller/error/not_found.php on line 12
I'm using version 3.0.2.0
Last edited by straightlight on Sat May 30, 2020 8:22 am, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Tue Sep 27, 2011 10:31 pm

Post by straightlight » Fri Apr 20, 2018 5:39 am

Ensure your config.php and admin/config.php files uses the right relative server paths.

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 marcelow » Fri Apr 20, 2018 6:57 am

Okay, I've adjusted the permissions and resubmitted files from server 1 to server 2 and now the site is opening normal.
But now the admin page is giving this error

Code: Select all

Warning: fopen (/home/meudocemundinho/www/catalog/view/theme//stylesheet/bootstrap.css): failed to open stream: No such file or directory in / home / meudocemundinho / www / catalog / controller / startup / sass .php on line 14Warning: flock () expects parameter 1 to be resource, boolean given in /home/meudocemundinho/www/catalog/controller/startup/sass.php on line 16Warning: fwrite () expects parameter 1 to be resource, boolean given in /home/meudocemundinho/www/catalog/controller/startup/sass.php on line 18Warning: fflush () expects parameter 1 to be resource, boolean given in / home / meudocemundinho / www / catalog / controller / startup / sass. php on line 20Warning: flock () expects parameter 1 to be resource, boolean given in /home/meudocemundinho/www/catalog/controller/startup/sass.php on line 22Warning: fclose () expects parameter 1 to be resource, boolean given in /home/meudocemundinho/www/catalog/controller/startup/sass.php on line 24
Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'The' / home / meudocemundinho / www / catalog / view / template / 'directory does not exist.' in /home/meudocemundinho/www/system/library/template/Twig/Loader/Filesystem.php:94 Stack trace: # 0 /home/mymonkey/www/storage_bkp_site/storage/modification/system/library/template/twig.php (29): Twig_Loader_Filesystem-> addPath ('/ home / meudocemu ...') # 1 /home/meudocemundinho/www/system/library/template.php(51): Template \ Twig-> render ('common / column_l ... ',' 0 '): Template-> render (' common / column_l ... ',' # '/' # 4 [internal function]: ControllerCommonColumnLeft-Array # 4 [internal function]: Loader-> view ('common / column_l ...' > Array # 6 / home / meudocemundinho / www / storage_bkp_site / storage / # / home / meudocemundinho / www / storage_bkp_site / storage / modification in /home/meudocemundinho/www/system/library/template/Twig/Loader/Filesystem.php on line 94

No files have been changed.
Last edited by straightlight on Sat May 30, 2020 8:23 am, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Tue Sep 27, 2011 10:31 pm

Post by marcelow » Fri Apr 20, 2018 7:41 am

Problem solved. I had deleted the define line ('DIR_CATALOG' from config.php from the admin directory and had not noticed.

Newbie

Posts

Joined
Tue Sep 27, 2011 10:31 pm
Who is online

Users browsing this forum: Amazon [Bot] and 406 guests