This topic has 13 replies, 4 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
Hello,
I’m getting a lot of error logs with the following error:
FastCGI: server “/var/run/php-fpm/php54/php-cgi” stderr: PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/usr/local/reserved/index.php:/usr/local/reserved/prepend.php:/sites/imafashionlover.com/:/tmp) in /sites/imafashionlover.com/www/wp-content/themes/royal/framework/images.php on line 139, referer: http://imafashionlover.com/about-us/
or
FastCGI: server “/var/run/php-fpm/php54/php-cgi” stderr: PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/usr/local/reserved/index.php:/usr/local/reserved/prepend.php:/sites/imafashionlover.com/:/tmp) in /sites/imafashionlover.com/www/wp-content/themes/royal/framework/images.php on line 139, referer: http://imafashionlover.com/
How do i fix this?
Hello,
I’ve just checked your site and didn’t see any error.
See screenshot:
Home Page – http://prntscr.com/8x3ceg
About Us page – http://prntscr.com/8x3cse
Is your issue solved?
Regards,
Robert Hall.
No the issue isnt solved. Also, i’m getting another error everytime i update a product:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
After contacting my hosting provider, they said it has probably something to do with the fastcgi error..
Hello,
Ask your hosting provider to disable “open_basedir” function.
After that check your site.
Best regards,
Jack Richardson.
The function is already disabled, according to my hosting provider
Hello,
“Service Unavailable” error is related to server configuration.
Fastcgi is configured on a server, it’s not related to the theme.
You need contact your hosting provider and ask them to investigate error logs on the server to find reason of the problem.
Regards,
Eva Kemp.
FastCGI: server “/var/run/php-fpm/php54/php-cgi” stderr: PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/usr/local/reserved/index.php:/usr/local/reserved/prepend.php:/sites/imafashionlover.com/:/tmp) in /sites/imafashionlover.com/www/wp-content/themes/royal/framework/images.php on line 139, referer: http://imafashionlover.com/about-us/
But this is from the theme?? So there is something wrong with the images.php as how i can read it?
Hello,
Please read the articles how to fix the error:
http://www.templatemonster.com/help/open_basedir-restriction-in-effect-filex-is-not-within-the-allowed-paths-y.html
https://wordpress.org/support/topic/fix-for-open_basedir-not-in-allowed-paths-message
The error is related to your server configuration.
Regards,
Eva Kemp.
Hi Eva,
I have read the suggestions that you wrote, but I can not seem to fix the issue.
Can you help me? My hosting does not provide WordPress service.
Hello,
As I see open_basedir function is enabled for your account on a server:
http://storage3.static.itmages.com/i/15/1110/h_1447185725_3454355_8f9d901f44.png
Please contact your hosting provider and ask them to disable it.
Regards,
Eva Kemp.
Thank you for the information. I have contacted my hosting provider, and they can not disable this function, because my website is on a shared server.
Is there another way how to fix this problem?
I have another WordPress website, which has never given me this error log..
How about customized support, do you do that?
They think that wordpress is asking for a wrong map..
Like it is asking for /map/folder/test instead of map/folder/test
Can you please help me? Because my site is not working properly because everytime i get the error and “service unavailable
Hello,
Then you have to change path as described in the article:
http://www.templatemonster.com/help/open_basedir-restriction-in-effect-filex-is-not-within-the-allowed-paths-y.html
Your hosting provider should help you with it. Sorry, but this is beyond our support scope as we are not a hosting company and we can’t know your server configuration.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up