Warnings in categories, images, ratings, comments

Phoca Gallery - image gallery extension
dax702
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 10 May 2008, 21:11

Warnings in categories, images, ratings, comments

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warnings in categories, images, ratings, comments

Post by Jan »

Hi, see:

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

the sql queries are stored here:
install.bak
If you find Phoca extensions useful, please support the project
Post Reply