Invalid Argument Supplied foreach()

Phoca Documentation - creating documentation in Joomla! CMS
timbreese
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 16 Nov 2009, 20:39

Invalid Argument Supplied foreach()

Post 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.
timbreese
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 16 Nov 2009, 20:39

Re: Invalid Argument Supplied foreach()

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Invalid Argument Supplied foreach()

Post by Benno »

Well done! :twisted:
Kind regards,
Benno
Post Reply