Junior Member
Junior Member
lchuck   2008-05-05, 07:00
#1

I've installed the package according to instructions and set all of the permissions and am able to view the setup.php file and after the initial file copying it shows that everything except for the MYSQL DB is setup correctly. I fill in the username, password, db name, and db server and then I get the following error:

PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in Websitepath\photos\zp-core\setup.php on line 51

I've replaced the beginning of the path with "Websitepath" for security reasons, but it is showing the correct path. This error then shows up when trying to view setup.php from that point forward. As soon as I delete the config file, it allows me to view the setup.php again, but if I fill in the correct MYSQL info, the error reappears. I've setup Zenphoto on other servers before, but never on this one (EasyCGI). I'm using PHP 5.2.4 and MYSQL 5.0.27. Please let me know what I need to do to get this working. Thanks!

Administrator
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.