Warning: fopen(/var/www/vhosts/*****/oc3020/system/storage/logs/openbay.log): failed to open stream: Permission denied in /var/www/vhosts/*****/oc3020/system/library/log.php on line 22Warning: fopen(/var/www/vhosts/*****/oc3020/system/storage/session//sess_76b9fc3d9bc00312b7b82a2524): failed to open stream: Permission denied in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 29Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 31Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 33Warning: fflush() expects parameter 1 to be resource, boolean given in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 35Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 37Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/vhosts/*****/oc3020/system/library/session/file.php on line 39
Any sugestion ?
Any sugestion ?
having the same issue on a test install of 3.0.2.0 I upgraded from 3.0.0.0
Manually moved the storage folder and updated the paths in the config files but getting the same failed to open stream errors both front and admin as op.
Manually moved the storage folder and updated the paths in the config files but getting the same failed to open stream errors both front and admin as op.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Okay, I figured out the issue.
You need to delete the .DIR_SYSTEM . in front of the path on the line in both config files. What is happening is though the instructions tell you to change the line to reflect the correct position of storage after you move it, with it calls the system directory, it mangles the link to repeat your root directory twice.
So in both config.php and admin/config.php change:
define('DIR_STORAGE', DIR_SYSTEM . '/path/instructions/giveyoul/storage/');
to
define('DIR_STORAGE', '/path/instructions/giveyoul/storage/');
You need to delete the .DIR_SYSTEM . in front of the path on the line in both config files. What is happening is though the instructions tell you to change the line to reflect the correct position of storage after you move it, with it calls the system directory, it mangles the link to repeat your root directory twice.
So in both config.php and admin/config.php change:
define('DIR_STORAGE', DIR_SYSTEM . '/path/instructions/giveyoul/storage/');
to
define('DIR_STORAGE', '/path/instructions/giveyoul/storage/');
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Are you trying to do an upgrade? They are never smooth.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Blame it on the extreme poor quality documentation that is full of errors. It sucked in 2.*, sux in 3.* so far and sure will go on.
Make this path writable and it should work:
/upload/system/storage/session/
I will see if I can manage to move my 2.* to 3.*, if that is again full of errors it will be Zen-cart again (which I ran before for many years with no issues)
Make this path writable and it should work:
/upload/system/storage/session/
I will see if I can manage to move my 2.* to 3.*, if that is again full of errors it will be Zen-cart again (which I ran before for many years with no issues)
Who is online
Users browsing this forum: No registered users and 351 guests