Problem with other style

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
master___

Problem with other style

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with other style

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
master___

Re: Problem with other style

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with other style

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
master___

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply