Page 1 of 1

Sql error messages after installation

Posted: 20 Feb 2012, 18:34
by marko_2011
I get these error massages when trying to use the phoca gallery after installation. The installation gors well abd no errors, but when I try to add a category or images I get this;
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/jrcfloorball.eu/libraries/joomla/database/database/mysql.php on line 342

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

Warning: Invalid argument supplied for foreach() in /home/www/jrcfloorball.eu/administrator/components/com_phocagallery/libraries/phocagallery/render/renderadmin.php on line 65

Here is my system info.
PHP Built on: Linux ukweb1 2.6.39.2-ph3 #24 SMP Fri Aug 19 12:44:58 UTC 2011 x86_64
Database Version: 5.1.58-1
Database Collation: utf8_general_ci
PHP Version: 5.2.17
Web Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0d mod_fcgid/2.3.6 mod_auth_pgsql/2.0.3
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.8 Production/Stable [ Wohnaiki ] 10-November-2008 23:00 GMT
User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Any ideas?

Re: Sql error messages after installation

Posted: 20 Feb 2012, 19:21
by Benno
Hi,
first of all, you should urgently update your joomla! system for security reasons. The current version is 1.5.25
and second, read this manual: https://www.phoca.cz/documents/16-joomla ... ent-errors

Kind regards,
Benno

Re: Sql error messages after installation

Posted: 22 Feb 2012, 10:35
by marko_2011
Yes, the update to 1.5.23 did the trick, thanks for the help. Problem solved.

Re: Sql error messages after installation

Posted: 22 Feb 2012, 10:52
by Benno
You're welcome!

Kind regards,
Benno