Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th January 2013, 15:30
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default open_basedir restriction in effect... not for the good site!

Hello,
Debian 7 Ispconfig 3.0.4.6

Usually I know how to handle with this kind of message, but here... I don't.

I move an old installation from Debian 6 to Debian 7.
Everything is working fine exept for one site:

Code:
File(/var/www/clients/client1/web3/etc.) is not within the allowed path(s):
Code:
in /var/www/clients/client1/web2/etc.
Complete example:
Code:
Code:
[Tue Jan 08 14:20:32 2013] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web3/web/wiki.debian-fr/extensions/SemanticForms/skins/collapse-minus.png) is not within the allowed path(s): (/var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/var/www/isalo.org/web:/srv/www/isalo.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php:/var/www/clients/client1/web2/web/wiki.debian-fr/resources/jquery.ui/themes/default/images/) in /var/www/clients/client1/web2/web/wiki.debian-fr/includes/resourceloader/ResourceLoaderFileModule.php on line 651, referer: http://www.isalo.org/wiki.debian-fr/index.php?title=Images_pour_firmwares_non_reconnus
I found in my error.logs plenty of this warn.
I can't figure why it is looking for web3 while the referer is in web2...

I search for web3 in all files in /client1/web2: nothing.
I also grep all the database, nothing.

I hang this problem for two weeks without finding a solution, it is very annoying ...
If a kind soul would help me I would be delighted!
Reply With Quote
Sponsored Links
  #2  
Old 8th January 2013, 15:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,045
Thanks: 841
Thanked 5,661 Times in 4,468 Posts
Default

The missing file / wrong path is for a graphics file, it might be that the path is defined in the database of this site and not in a file.
__________________
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:
lollollollol (8th January 2013)
  #3  
Old 8th January 2013, 16:54
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
 
Default

Bravo.
So I looked bad, like an idiot (phpmyadmin gave me ... binary outcomes).
Search in a terminal was much more efficient.

My logs are finally clean! Thank you very much Till.
Solved.
Reply With Quote
Reply

Bookmarks

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
ISPConfig + open_basedir restriction in effect 010101 Installation/Configuration 21 29th January 2014 18:21
open_basedir restriction in effect. File() is not within the allowed path(s) MrCompTech General 15 29th January 2012 20:02
Fixing open_basedir restriction runbuck General 2 28th December 2009 21:57
Ioncube problem Dag Andresen Installation/Configuration 2 6th October 2009 13:34
Site preview before DNS changes take effect dimitar Feature Requests 0 29th March 2007 12:59


All times are GMT +2. The time now is 00:16.


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