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
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
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.
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 19 hours ago