Page 1 of 1

Warnings in categories, images, ratings, comments

Posted: 21 Sep 2008, 22:05
by dax702
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 :o

Just checked the zip file I downloaded for the component and the install.sql file is empty :o :o :o I can imagine this has something to do with tables not getting created?

Re: Warnings in categories, images, ratings, comments

Posted: 22 Sep 2008, 16:04
by Jan
Hi, see:

https://www.phoca.cz/documentation/index ... stallation

the sql queries are stored here:
install.bak