SMF Support > SMF 2.0.x Support
Error settings.php 54
felipe21:
Guys, why my forum error settings.php on 54 beautiful?
If I turn on the compressed output, it does not show the error, if I disable, the error. I wonder why.
thank you
Doctor Deejay:
Hi! :) I'm sorry, but I am not sure what you mean. What error do you get?
felipe21:
This is the error when I disable the compressed output
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/www.dominio.net/cache) is not within the allowed path(s): (/home/dominio/:/tmp:/usr/local/lib/php:./) in /home/dominio/www/Settings.php on line 54
Doctor Deejay:
Ah, I see. Could you please send me line 50-60 by pm so I can check? (Thanks Illori :) )
MrPhil:
From the error message, it would appear that your site is running in /home/dominio/www/. So, why would it be looking for a file in /home/www.dominio.net/? Check your Settings.php to see what you have for the base path to your SMF installation. Have you replaced the original dirname(__FILE__) with /home/www.dominio.net for some reason? While it's possible that some installations require a hard coded change, don't confuse your URL with your file directory path!
Navigation
[0] Message Index
[#] Next page
Go to full version