i get this error Warning: main(): Failed opening 'session.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yankees/public_html/script/admin.php on line 14 but session.php is there
If session.php is in fact either in the same directory or in one of the include paths then the error message would indicate the file could not be opened because of a permission issue.
Yea that helped, thanks. I also have another problem Warning: mysql_num_rows (): supplied argument is emergency A valid MySQL result resource in /home/yankees/public_html/script/database.php on LINE 218 here is line 218 $this->num_active_guests = mysql_num_rows($result);
if the query did not return any records, the resource pointer is not a pointer, it's just boolean false IIRC. So, check it before assigning it. if($result != false)