Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th January 2013, 13:16
Ovidiu Ovidiu is offline
Senior Member
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default weird behavior with perfect Debian nginx server + ISPCFG3

I followed this tutorial: http://www.howtoforge.com/perfect-se...nx-ispconfig-3

/var/www/clients/client2# ls -al
total 12
drwxr-xr-x 3 root root    4096 Jan  6 16:04 .
drwxr-xr-x 3 root root    4096 Jan  6 16:04 ..
lrwxrwxrwx 1 root root      30 Jan  6 16:04 pacura.ru -> /var/www/clients/client2/web1/
drwxr-x--x 6 web1 client2 4096 Jan  6 16:23 web1
SO: pacura.ru is web1 and belongs to client2, right?

Coincidentally found this by doing a
tail -f /var/log/ispconfig/httpd/pacura.ru/error.log
2013/01/11 12:03:19 [error] 28030#0: *3768 FastCGI sent in stderr: "PHP message: PHP Warning:  imagecreatefrompng(): open_basedir restriction in effect. File(/var/www/clients/client1/web3/web/wp-content/plugins/gd-star-rating/stars/oxygen/stars20.png) is not within the allowed path(s): (/var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp:/var/www/pacura.ru/web:/srv/www/pacura.ru/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in /var/www/clients/client2/web1/web/wp-content/plugins/gd-star-rating/code/gfx/generator.php on line 17
and if I go to ISPCFG panel and edit the site we are talking about, under options it says:
How come? No wonder I'm really struggling with multiple problems here :-(
SHall I start from scratch? I haven't done much, just installed the server, moved one website, tested.
Reply With Quote
Sponsored Links
Old 11th January 2013, 21:03
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,654 Times in 4,463 Posts

The ispconfig part is fine, the problem is wordpress here,

I guess that you had this wordpressinstance installed before, so its a migrated website or at least some of the wordpressdatabase contents are from a existing install. Wordpress saves paths in its database and the wrong path that you see in the error.log is set inside the wordpress database. You can search the wrong path with e.g. phpmyadmin and ajust it in the wordpess db.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Ovidiu (12th January 2013)
Old 12th January 2013, 12:29
Ovidiu Ovidiu is offline
Senior Member
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts

Very well spotted. THat was the problem indeed. I'm setting up a new server and had migrated one single wordpress site to do all the tests and had overlooked hardcoded server names, paths and IPs but I'm currently manually double checking for all of those!
Reply With Quote


client, nginx, owner, permission, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 15:05
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 21:03
Need be Validate - Extras for Perfect Server Debian / Ubuntu Users Wisdown Installation/Configuration 0 1st September 2012 02:07
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 13:58

All times are GMT +2. The time now is 22:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.