Warnings in categories, images, ratings, comments
Posted: 21 Sep 2008, 22:05
Jan, I just installed Gallery 2.0. When I click on the categories in the backend admin, I get this:
Warning: Invalid argument supplied for foreach() in /public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1248
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/libraries/joomla/database/database/mysql.php on line 342
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/libraries/joomla/database/database/mysql.php on line 342
I get the same thing when I click on images, ratings and comments links.
I'm on PHP 5.2.5 and 5.0.51a-community for mysql and Joomla 1.5.7
Just checked phpmyadmin and I see there were no tables created for Phoca Gallery
Just checked the zip file I downloaded for the component and the install.sql file is empty
I can imagine this has something to do with tables not getting created?
Warning: Invalid argument supplied for foreach() in /public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1248
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/libraries/joomla/database/database/mysql.php on line 342
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/libraries/joomla/database/database/mysql.php on line 342
I get the same thing when I click on images, ratings and comments links.
I'm on PHP 5.2.5 and 5.0.51a-community for mysql and Joomla 1.5.7
Just checked phpmyadmin and I see there were no tables created for Phoca Gallery
Just checked the zip file I downloaded for the component and the install.sql file is empty