Post by Runecaster » Thu Nov 08, 2018 8:53 pm

Hello,

Because my domain provider doesn't support PHP below 7.1 at the end of this month (7.2 is the new standard at my domain provider), I chose for upgrading OC 1.5.6 to 3.0.2.0. There is an instruction how to do this. After upgrading I'm getting a few PHP errors which I can't seem to fix.

Warning: fopen(/customers/e/f/d/toveratelier.nl/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /customers/e/f/d/toveratelier.nl/httpd.www/system/library/log.php on line 22
Warning: fopen(/customers/e/f/d/toveratelier.nl/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /customers/e/f/d/toveratelier.nl/httpd.www/system/library/log.php on line 22
Warning: fclose() expects parameter 1 to be resource, boolean given in /customers/e/f/d/toveratelier.nl/httpd.www/system/library/log.php on line 39
Warning: fopen(/customers/e/f/d/toveratelier.nl/system/storage/logs/error.log): failed to open stream: No such file or directory in /customers/e/f/d/toveratelier.nl/httpd.www/system/library/log.php on line 22
Warning: include_once(/customers/e/f/d/toveratelier.nl/system/storage/vendor/scss.inc.php): failed to open stream: No such file or directory in /customers/e/f/d/toveratelier.nl/httpd.www/admin/controller/startup/sass.php on line 7
Warning: include_once(): Failed opening '/customers/e/f/d/toveratelier.nl/system/storage/vendor/scss.inc.php' for inclusion (include_path='.:/usr/share/php') in /customers/e/f/d/toveratelier.nl/httpd.www/admin/controller/startup/sass.php on line 7


I checked the paths and files and they excist. I checked permissions on 755 or 777 and I added the following lines (at first only the first line and later on the second line) to my config.php and admin/config.php files (I blanked the domain address).

define('DIR_STORAGE', 'DOMAIN NAME/system/storage/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');


Anybody has a clue? Thanks in advance.

Newbie

Posts

Joined
Thu Nov 08, 2018 8:30 pm

Post by ADD Creative » Thu Nov 08, 2018 10:34 pm

Have you tried just the following if you storage directory is located at '/customers/e/f/d/toveratelier.nl/storage'?

Code: Select all

define('DIR_STORAGE', '/customers/e/f/d/toveratelier.nl/storage/');

www.add-creative.co.uk


Expert Member

Posts

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

Post by Runecaster » Sat Nov 10, 2018 9:00 pm

Thanks for the suggestion, but the define line allready has that address.

Newbie

Posts

Joined
Thu Nov 08, 2018 8:30 pm

Post by ADD Creative » Sun Nov 11, 2018 1:08 am

Runecaster wrote:
Thu Nov 08, 2018 8:53 pm
Warning: fopen(/customers/e/f/d/toveratelier.nl/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /customers/e/f/d/toveratelier.nl/httpd.www/system/library/log.php on line 22
It's just your post above referred to "/customers/e/f/d/toveratelier.nl/system/storage" not "/customers/e/f/d/toveratelier.nl/storage". If you used the storage directory move, it would not include the system directory.

www.add-creative.co.uk


Expert Member

Posts

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

Post by Runecaster » Fri Nov 23, 2018 11:10 pm

Thank you, I checked all the lines, altered a few and it's working. Thanks!

Newbie

Posts

Joined
Thu Nov 08, 2018 8:30 pm
Who is online

Users browsing this forum: No registered users and 105 guests