Page 1 of 1

transfered Blog don't work

Posted: Mon Apr 21, 2014 8:14 pm
by muppet
Hello,

I moved the blog witze365.de to a new hoster. Now I have Problems with the site and I don't know what to do. Can anybody help me with the erros?

Code: Select all

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/plugins/serendipity_event_karma/serendipity_event_karma.php) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/plugin_api.inc.php on line 451

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/plugin_api.inc.php on line 451


Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates/mehrwitze/template.inc.php) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_smarty.inc.php on line 858

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates_c) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_smarty.inc.php on line 889
Keine Schreibrechte für Verzeichnis /var/www/w01187cf/html/witze365/templates_c. Bitte korrigieren
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates/mehrwitze/plugin_findmore.tpl) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_config.inc.php on line 279

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates/default/plugin_findmore.tpl) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_config.inc.php on line 279

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates/bulletproof/plugin_findmore.tpl) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_config.inc.php on line 279

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates/default/plugin_findmore.tpl) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/include/functions_config.inc.php on line 279

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/w01187cf/html/witze365/templates_c/%%B7^B76^B765C4E1%%plugin_findmore.tpl.php) is not within the allowed path(s): (/www/htdocs/w01187cf/:/tmp:/usr/bin:/www/htdocs/w01187cf:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/w01187cf/witze365/bundled-libs/Smarty/libs/Smarty.class.php on line 1380

Fatal error: Smarty error: the $compile_dir '/var/www/w01187cf/html/witze365/templates_c' does not exist, or is not a directory. in /www/htdocs/w01187cf/witze365/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
There are any other errors. You can see it on the page.

regards

Re: transfered Blog don't work

Posted: Mon Apr 21, 2014 8:47 pm
by yellowled
muppet wrote:

Code: Select all

Warning: file_exists(): open_basedir restriction in effect.
If I understand it correctly, this might be a permissions issue due to individual settings made by your hoster (probably) in php.ini. I would recommend to contact your hoster's support about this. (I might be wrong here, though. I have never had a server use open_basedir restrictions that I know of.)
muppet wrote:

Code: Select all

Fatal error: Smarty error: the $compile_dir '/var/www/w01187cf/html/witze365/templates_c' does not exist, or is not a directory.
And that one looks as if the directory templates_c does not exist which would be bad because that's where s9y writes precompiled and/or cached files (e.g. for Smarty templates). It could be related to the first error message, I guess. Might be a permissions error as well, so I would first check if templates_c exists and if it's writeable by your user/the web server (depends on how your hoster handles permissions in general).

YL

Re: transfered Blog don't work

Posted: Mon Apr 21, 2014 8:56 pm
by muppet
Thanks for your answer.
I checked it and the directory templates_c exists. The permissions is 777.
I contact my hoster to check how they handle open_basedir.

Re: transfered Blog don't work

Posted: Tue May 06, 2014 12:09 pm
by andy1
I am having this error too and my hosting is not willing to help :(

Re: transfered Blog don't work

Posted: Tue May 06, 2014 6:42 pm
by onli
Do you have access to the httpd.conf? There should be a line with php_admin_value open_basedir… Replace that with

Code: Select all

php_admin_value open_basedir none
But quite frankly, a hoster unwilling to help with the issues his default configuration causes is not a good choice.