Page 1 of 1

problems with use of phoca gallery

Posted: 11 Sep 2010, 16:21
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)

Re: problems with use of phoca gallery

Posted: 14 Sep 2010, 22:41
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