Project Description:
i have 2 website with problems, that i need debugged. it display the following errors.
site 1
No Database Selected
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/admin/admin_login_validate.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/admin/admin_login_validate.php:28) in /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/admin/admin_login_validate.php on line 61
No Database Selected
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/login_validate.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/login_validate.php:29) in /mounted-storage/home48b/sub001/sc12680-SFAK/legozzo.com/login_validate.php on line 117
You have an error while processing sql query
site 2
Warning: main() [function.main]: open_basedir restriction in effect. File(/www/include/adodb/adodb.inc.php) is not within the allowed path(s): (/home2/zone4tem:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/zone4tem/public_html/include/common.php on line 138
Warning: main(/www/include/adodb/adodb.inc.php) [function.main]: failed to open stream: Operation not permitted in /home2/zone4tem/public_html/include/common.php on line 138
Warning: main() [function.main]: open_basedir restriction in effect. File(/www/include/adodb/adodb.inc.php) is not within the allowed path(s): (/home2/zone4tem:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/zone4tem/public_html/include/common.php on line 138
Warning: main(/www/include/adodb/adodb.inc.php) [function.main]: failed to open stream: Operation not permitted in /home2/zone4tem/public_html/include/common.php on line 138
Warning: main() [function.include]: Failed opening '/www/include/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/zone4tem/public_html/include/common.php on line 138
Fatal error: Call to undefined function: adonewconnection() in /home2/zone4tem/public_html/include/common.php on line 139
when i have a 3 site where i can get the cron job to function properly. there is an error somewhere in the php script.
home some one can help me.