2 days trying to get past the open_basedir error - without luck.
Opencart 4.1.0.3
Ubuntu 22.04 Server with plesk 18.0.68.
php 8.3.19
Ive tried hard setting the required folder - also plesks default settings and always an error.
I can see the required is identical to the current and still it shows an error.
If i leave the field empty in plesk then i can get past this page but it will show / which isnt safe.
Anyone know what to do so i dont need to leave this field empty?
Opencart 4.1.0.3
Ubuntu 22.04 Server with plesk 18.0.68.
php 8.3.19
Ive tried hard setting the required folder - also plesks default settings and always an error.
I can see the required is identical to the current and still it shows an error.
If i leave the field empty in plesk then i can get past this page but it will show / which isnt safe.
Anyone know what to do so i dont need to leave this field empty?
so ive installed it leaving the openbase_dir empty but then set the default back after install.
The backend is now wanting to move storage to another folder out side of the root.
with the main install being here
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/upload/ - this folder is the document root for our test url
the warning is offering me all the folders above the document root
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/
/var/www/vhosts/xxxxx/yyyyy/
/var/www/vhosts/xxxxx/
etc - but picking any results in an error saying it should be outside the document root. Im assuming this should be possible but same BUG as in the install.
What i have done is copy /rename
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/upload/system/storage
to
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/sytem/storage_xxxxxxxxxxx
and updated both config.php 's DIR_STORAGE with the updated paths.
There doesnt seem to be any errors now and im wondering if this is correct ?
The backend is now wanting to move storage to another folder out side of the root.
with the main install being here
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/upload/ - this folder is the document root for our test url
the warning is offering me all the folders above the document root
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/
/var/www/vhosts/xxxxx/yyyyy/
/var/www/vhosts/xxxxx/
etc - but picking any results in an error saying it should be outside the document root. Im assuming this should be possible but same BUG as in the install.
What i have done is copy /rename
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/upload/system/storage
to
/var/www/vhosts/xxxxx/yyyyy/opencart-4.1.0.3/sytem/storage_xxxxxxxxxxx
and updated both config.php 's DIR_STORAGE with the updated paths.
There doesnt seem to be any errors now and im wondering if this is correct ?
Another long standing bug is that the move will only work if the directory is the one above the document root. The path can also not contain a hyphen. Not sure if that is by design of just another bug. these two things were probably what prevented the move.
Moving manually is fine as long as the new storage in not publicly accessible and you delete the old one.
OpenCart 4.x still has a log of bugs, so you might want to try 3.0.4.0 which is regarded as more stable.
Moving manually is fine as long as the new storage in not publicly accessible and you delete the old one.
OpenCart 4.x still has a log of bugs, so you might want to try 3.0.4.0 which is regarded as more stable.
Is version 4 not release ready? as it was the one offered on the download page. I will look into version 3.
The OpenCart developers obviously think it is, but if your search the forums the opinions of other users and developers differ.
Leaving the don't use 4.x yet arguement to one side, the big thing at the moment, is that for 3040, there are 197 pages of extensions available and for 4102 there are 23 pages of extensions available. So depending on what you need, using the latest 3.x version makes much more sense just from a number and variety of extensions that are available point of view.thejudge99 wrote: ↑Fri Mar 28, 2025 4:39 pmIs version 4 not release ready? as it was the one offered on the download page. I will look into version 3.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Who is online
Users browsing this forum: No registered users and 4 guests