Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th December 2010, 06:06
aclhkaclhk aclhkaclhk is offline
Junior Member
 
Join Date: Aug 2009
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default disable php error messages

a bad php script will produce the following error. pls advise how to disable the display for detail error.


Warning: include() [function.include]: open_basedir restriction in effect. File(/home/www/123.com/db.php) is not within the allowed path(s): (/var/www/clients/client3/web13/web:/var/www/clients/client3/web13/tmp:/var/www/123.com/web:/srv/www/123.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client3/web13/web/joomla/selection/read.php on line 4
Reply With Quote
Sponsored Links
  #2  
Old 10th December 2010, 07:41
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

It's not an error that you are seeing, but a warning.
You can dissable the warnings and erroros in your php.ini file (have a look at the error_reporting = option)

To turn error reporting off for a single document, include this line: error_reporting(0); at the top of the php page that is giving you the warning.
__________________
Never execute code written on a Friday or a Monday.
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
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 23:24.


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