Page 1 of 1

Invalid Argument Supplied foreach()

Posted: 03 May 2010, 16:02
by timbreese
I had already uploaded all of my photos and created categories, etc. I recently updated to Joomla 1.5.17 and there has been some minor work on the Joomla template but otherwise very little activity. So it came to me as a surprise that I received warning messages:

Images:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344

categories:
Warning: Invalid argument supplied for foreach() in /home/harrycha/public_html/administrator/components/com_phocagallery/models/phocagallerycs.php on line 126

image comments:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344

users:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/harrycha/public_html/libraries/joomla/database/database/mysql.php on line 344


What should I do? I didn't want to trust the other posts because it might be more particular.

Re: Invalid Argument Supplied foreach()

Posted: 06 May 2010, 18:43
by timbreese
I updated the software with the Software Updater and did not complete the process. I was able to fix everything by re-installing the update and then going to PhocaGallery and clicking on the update button.

Re: Invalid Argument Supplied foreach()

Posted: 06 May 2010, 20:58
by Benno
Well done! :twisted:
Kind regards,
Benno