problems with use of phoca gallery

Phoca Gallery - image gallery extension
demeester
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 18 Mar 2009, 15:09

problems with use of phoca gallery

Post by demeester »

Hi (sorry for my English)

I' ve been using older versions of Phoca gallery, which work perfecdt. I"ve installed the last one (2.7.4) on a new site and I've got error messages like these:

Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\previnaire.be\httpdocs\site\administrator\components\com_phocagallery\models\phocagallerycs.php on line 126 when creating a new gallery
and

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\previnaire.be\httpdocs\site\libraries\joomla\database\database\mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\previnaire.be\httpdocs\site\libraries\joomla\database\database\mysql.php on line 344

Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\previnaire.be\httpdocs\site\administrator\components\com_phocagallery\libraries\phocagallery\render\renderadmin.php on line 65


when trying to add images... can you help me or do I have to install an older version of the module ???

Thanks

Robert (Belgique)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problems with use of phoca gallery

Post by Jan »

Hi, you should enable debug mode to get more information from database, seems like database problem, see:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
https://www.phoca.cz/documents/2-phoca-g ... em-solving

Jan
If you find Phoca extensions useful, please support the project
Post Reply