i have 2 website with problems, that i need debugged. it display the following errors.
when i have a third site where i can't get the cron job to function properly. there is an error somewhere in the php script.
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/[login to view URL] on line 29
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home48b/sub001/sc12680-SFAK/[login to view URL]:28) in /mounted-storage/home48b/sub001/sc12680-SFAK/[login to view URL] 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/[login to view URL] on line 31
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home48b/sub001/sc12680-SFAK/[login to view URL]:29) in /mounted-storage/home48b/sub001/sc12680-SFAK/[login to view URL] on line 117
You have an error while processing sql query
site 2
Warning: main() [[login to view URL]]: open_basedir restriction in effect. File(/www/include/adodb/[login to view URL]) is not within the allowed path(s): (/home2/zone4tem:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/zone4tem/public_html/include/[login to view URL] on line 138
Warning: main(/www/include/adodb/[login to view URL]) [[login to view URL]]: failed to open stream: Operation not permitted in /home2/zone4tem/public_html/include/[login to view URL] on line 138
Warning: main() [[login to view URL]]: open_basedir restriction in effect. File(/www/include/adodb/[login to view URL]) is not within the allowed path(s): (/home2/zone4tem:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/zone4tem/public_html/include/[login to view URL] on line 138
Warning: main(/www/include/adodb/[login to view URL]) [[login to view URL]]: failed to open stream: Operation not permitted in /home2/zone4tem/public_html/include/[login to view URL] on line 138
Warning: main() [[login to view URL]]: Failed opening '/www/include/adodb/[login to view URL]' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/zone4tem/public_html/include/[login to view URL] on line 138
Fatal error: Call to undefined function: adonewconnection() in /home2/zone4tem/public_html/include/[login to view URL] on line 139
hope some one can help me.