Problems after installation

Phoca Gallery - image gallery extension
rob@magma.a
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 14 Dec 2008, 01:13

Problems after installation

Post by rob@magma.a »

I've just installed Phoca Gallery, and I'm seeing various errors when I enter any of the main areas -- images, categories, etc. For example in Images, I see:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/joomla/libraries/joomla/database/database/mysql.php on line 342

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/joomla/libraries/joomla/database/database/mysql.php on line 342

Warning: Invalid argument supplied for foreach() in /var/www/joomla/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1245

In Categories, I get:

Warning: Invalid argument supplied for foreach() in /var/www/joomla/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1245

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/joomla/libraries/joomla/database/database/mysql.php on line 342

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/joomla/libraries/joomla/database/database/mysql.php on line 342

It looks like there is some sort of MySQL problem, or maybe a permissions problem somewhere. Furthermore, I cannot create any categories -- all I get is:

Error Saving Phoca Gallery Categories

Any ideas?

Thanks.

. . . Rob Williams
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Problems after installation

Post by caro84g »

Hi,

The tables in the database are not created (correctly).
See: https://www.phoca.cz/documents/2-phoca-g ... stallation

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
rob@magma.a
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 14 Dec 2008, 01:13

Re: Problems after installation

Post by rob@magma.a »

Thanks very much! It's a big learning curve!

. . . Rob Williams
Post Reply