Post by mattiashagglund » Tue Mar 23, 2021 2:29 pm

I made a fresh install of opencart and got some problems. I erased old installation and uploaded a new install, also made a new database. The server runs php8.0.
Followed installation instructions and get this message. Have no clue how to solve this, help! :)

Warning: fopen(/customers/d/4/3/aboveyou.se/_private/storage/logs/error.log): failed to open stream: No such file or directory in /customers/d/4/3/aboveyou.se/httpd.www/system/library/log.php on line 22 Fatal error: Uncaught Error: Call to a member function link() on null in /customers/d/4/3/aboveyou.se/httpd.www/admin/controller/error/not_found.php:12 Stack trace: #0 /customers/d/4/3/aboveyou.se/httpd.www/system/engine/action.php(79): ControllerErrorNotFound->index() #1 /customers/d/4/3/aboveyou.se/httpd.www/system/engine/router.php(67): Action->execute(Object(Registry)) #2 /customers/d/4/3/aboveyou.se/httpd.www/system/engine/router.php(56): Router->execute(Object(Action)) #3 /customers/d/4/3/aboveyou.se/httpd.www/system/framework.php(169): Router->dispatch(Object(Action), Object(Action)) #4 /customers/d/4/3/aboveyou.se/httpd.www/system/startup.php(104): require_once('/customers/d/4/...') #5 /customers/d/4/3/aboveyou.se/httpd.www/index.php(19): start('catalog') #6 {main} thrown in /customers/d/4/3/aboveyou.se/httpd.www/admin/controller/error/not_found.php on line 12


Posts

Joined
Mon Mar 22, 2021 12:09 am

Post by pprmkr » Tue Mar 23, 2021 4:46 pm

mattiashagglund wrote:
Tue Mar 23, 2021 2:29 pm
Warning: fopen(/customers/d/4/3/aboveyou.se/_private/storage/logs/error.log): failed to open stream: No such file or directory
Folder cannot be created in /customers/d/4/3/aboveyou.se/

- Create folder _private in /customers/d/4/3/aboveyou.se/httpd.www/ and change path in both config.php and admin/config.php
- Copy /system/storage to _private/storage

Code: Select all

define('DIR_STORAGE', '/customers/d/4/3/aboveyou.se/httpd.www/_private/storage/');

User avatar
Active Member
Online

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands
Who is online

Users browsing this forum: No registered users and 7 guests