Hello,
i installed opencart-4.0.2.3 fresh to my ubuntu 22.04 Server.
But i can't move the storage directory. The browser feature doesn't work and nothing is moved.
How ist the workaround (maybe some permissions i have to set....?)
i installed opencart-4.0.2.3 fresh to my ubuntu 22.04 Server.
But i can't move the storage directory. The browser feature doesn't work and nothing is moved.
How ist the workaround (maybe some permissions i have to set....?)
Attachments
Storage Move not possible.png (29.82 KiB) Viewed 2121 times
Check both the PHP and OpenCart error logs. Also check your web browser's developer console for messages.
I moved the folder as here described.
https://stackoverflow.com/questions/487 ... -directory
Moved the storage folder
mv /var/www/html/opencart/system/storage /var/www/html/storage
Adjusted this Line in the config.php and admin/config.php
define('DIR_STORAGE', '/var/www/html/storage/');
Now it works.
https://stackoverflow.com/questions/487 ... -directory
Moved the storage folder
mv /var/www/html/opencart/system/storage /var/www/html/storage
Adjusted this Line in the config.php and admin/config.php
define('DIR_STORAGE', '/var/www/html/storage/');
Now it works.
Judging my the "www" in your line there... you didn't move it to the right place.stefan-franz wrote: ↑Tue Nov 07, 2023 7:35 pmI moved the folder as here described.
https://stackoverflow.com/questions/487 ... -directory
Moved the storage folder
mv /var/www/html/opencart/system/storage /var/www/html/storage
Adjusted this Line in the config.php and admin/config.php
define('DIR_STORAGE', '/var/www/html/storage/');
Now it works.
Mike
cue4cheap not cheap quality
Hmmm.....opencart runs here: /var/www/html/opencart
I'm a newbie in this. I thought if i move outside the path above, it's save. Opencart suggested in the admin login the path / or /var or /var/www to remove (that doesn't work).
But i'm free: What do you recommend? How to move it that it's save and "tidy" installation on my ubuntu server?
I'm a newbie in this. I thought if i move outside the path above, it's save. Opencart suggested in the admin login the path / or /var or /var/www to remove (that doesn't work).
But i'm free: What do you recommend? How to move it that it's save and "tidy" installation on my ubuntu server?
Not completely understanding what you are writing but I would suggest anything that is outside of the www/html path.stefan-franz wrote: ↑Wed Nov 08, 2023 2:10 amHmmm.....opencart runs here: /var/www/html/opencart
I'm a newbie in this. I thought if i move outside the path above, it's save. Opencart suggested in the admin login the path / or /var or /var/www to remove (that doesn't work).
But i'm free: What do you recommend? How to move it that it's save and "tidy" installation on my ubuntu server?
So /var or
/
Mike
cue4cheap not cheap quality
Who is online
Users browsing this forum: No registered users and 4 guests