Hi,
I use OpenCart when I want to access Admin, I find PHP errors .
Warning: require_once(): open_basedir restriction in effect. File(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php) is not within the allowed path(s): (/var/www/vhosts/homefood.ma/:/tmp/) in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19
Warning: require_once(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php): failed to open stream: Operation not permitted in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19
Fatal error: require_once(): Failed opening required '/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php' (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19.
I use OpenCart when I want to access Admin, I find PHP errors .
Warning: require_once(): open_basedir restriction in effect. File(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php) is not within the allowed path(s): (/var/www/vhosts/homefood.ma/:/tmp/) in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19
Warning: require_once(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php): failed to open stream: Operation not permitted in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19
Fatal error: require_once(): Failed opening required '/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php' (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/homefood.ma/httpdocs/admin++/index.php on line 19.
Well just read the error message:
File(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php) is not within the allowed path(s)
Which means you have some strange settings going on, either in your /config.php, /admin/config.php files or with file permissions on the server itself.
File(/var/www/vhosts/madeinhome.ma/homefood.ma/system/startup.php) is not within the allowed path(s)
Which means you have some strange settings going on, either in your /config.php, /admin/config.php files or with file permissions on the server itself.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Because of this: open_basedir restriction in effect
Means, there are some restrictions on this server (paths) and your file(s) is/are not within these allowed paths.
Means, there are some restrictions on this server (paths) and your file(s) is/are not within these allowed paths.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Contact your host to resolved this issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you for replies
I've uploaded my site to localhost and i fixed the problem, I just downloaded admin folder and I changed by my old admin and I changed config.php and admin / config.php.
I've uploaded my site to localhost and i fixed the problem, I just downloaded admin folder and I changed by my old admin and I changed config.php and admin / config.php.
I have fixed the problem but know I want to add my blog about https://thetvbuzz.com/ at the bottom of my original site, can you help me plz. Thank you in advance.
Then please add [SOLVED] to the title in the 1st post - thx.soufianeboutahlil wrote: ↑Sun Dec 09, 2018 8:54 amI have fixed the problem but know I want to add my blog about https://thetvbuzz.com/ at the bottom of my original site, can you help me plz. Thank you in advance.
And about your second reqeust, it would be better to post such in the commercial forum here (beside that you shall not mix 2 different issues in one thread).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: Semrush [Bot] and 138 guests