Page 1 of 1

Problem with other style

Posted: Sat Nov 05, 2005 1:16 am
by master___
Hi

If I change the templade to an other than the default this error message appears:

Warning: fetch(): open_basedir restriction in effect. File(/var/www/htdocs//blog/templates_c/default-rtl^%%E9^E94^E9405F48%%index.tpl.php) is not within the allowed path(s): (/home/www) in /home/www/htdocs/serendipity_0.9.0/bundled-libs/Smarty/libs/Smarty.class.php on line 1251

Warning: fetch(/var/www/htdocs//blog/templates_c/default-rtl^%%E9^E94^E9405F48%%index.tpl.php): failed to open stream: Operation not permitted in /home/www/htdocs/serendipity_0.9.0/bundled-libs/Smarty/libs/Smarty.class.php on line 1251

Warning: fetch(): Failed opening '/var/www/htdocs//blog/templates_c/default-rtl^%%E9^E94^E9405F48%%index.tpl.php' for inclusion (include_path='.:/home/www/htdocs/serendipity_0.9.0/:/home/www/htdocs/serendipity_0.9.0/bundled-libs/') in /home/www/htdocs/serendipity_0.9.0/bundled-libs/Smarty/libs/Smarty.class.php on line 1251


Master

Re: Problem with other style

Posted: Sat Nov 05, 2005 1:51 pm
by garvinhicking
It seems you are using a shared installation of Serendipity? Please talk to your provider about open_basedir restrictions and to put the s9y path into your open_basedir include path setting.

Regards,
Garvin

Re: Problem with other style

Posted: Sat Nov 05, 2005 2:14 pm
by master___
well I'm my own provider. Where do I have to set the open_basedir incl. path? And it is not a shared installation.

Regards,
Master

Re: Problem with other style

Posted: Sat Nov 05, 2005 2:17 pm
by garvinhicking
Well, I thought it were a shared installation because of this:

/var/www/htdocs//blog

vs.

/home/www/htdocs/serendipity_0.9.0/

Those two paths are different! USually you should install Serendipity only into one single directory.

You can set your include_path and open_basedir path inside the php.ini file. Restart your Apache webserver if you made changes!

Regards,
Garvin

Posted: Sat Nov 05, 2005 5:02 pm
by master___
/var/www/htdocs//blog is a symlink to /home/www/htdocs/serendipity_0.9.0/

/var/www -> /home/www
and then
/home/www/htdocs/blog -> serendipity_0.9.0/


Regards,
Master

Posted: Sun Nov 06, 2005 1:42 pm
by garvinhicking
Okay; symlinks are sometimes causing confusion for open_basedir settings. So put all those directories in there, and it should work.

Regards,
Garvin