Databse Problem : :x :x :x
Posted: 10 Oct 2012, 08:06
Dear Jan and mates,
I am having such error messages after installing phoca gallery components:
1. in images, categories section:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxxi\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\creativi\cms.9-creativision.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293
2. Batch process the selected images, categories:
Warning: Invalid argument supplied for foreach() in C:\Domains\xxx\xxx.com\wwwroot\administrator\components\com_phocagallery\libraries\phocagallery\render\renderadmin.php on line 70
3. Below the section of Joomla!® is free software released under the GNU General Public License. :
PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxx\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxx\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 PHP Warning: Invalid argument supplied for foreach() in C:\Domains\xxx\xxx.com\wwwroot\administrator\components\com_phocagallery\libraries\phocagallery\render\renderadmin.php on line 70
I tried to fix it according to the articles of https://www.phoca.cz/documents/2-phoca-g ... em-solving , but failed.
I also googled other solutions on website, none of them can help.
I did as Jan said enable Debug System on Joomla global configuration, but the message of "The connection was reset"
shown when I clicked images or categories button on Phoca Gallery Control Panel. I could not see any debug massage on that page.
I used joomla 2.5.7, server version: 5.1.46-community, phpmyadmin 2.11.6, MySQL client version: 5.0.51a, Phoca Gallery Control Panel3.2.2
Please help me, thanks in advanced!
I am having such error messages after installing phoca gallery components:
1. in images, categories section:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxxi\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\creativi\cms.9-creativision.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293
2. Batch process the selected images, categories:
Warning: Invalid argument supplied for foreach() in C:\Domains\xxx\xxx.com\wwwroot\administrator\components\com_phocagallery\libraries\phocagallery\render\renderadmin.php on line 70
3. Below the section of Joomla!® is free software released under the GNU General Public License. :
PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxx\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Domains\xxx\xxx.com\wwwroot\libraries\joomla\database\database\mysql.php on line 293 PHP Warning: Invalid argument supplied for foreach() in C:\Domains\xxx\xxx.com\wwwroot\administrator\components\com_phocagallery\libraries\phocagallery\render\renderadmin.php on line 70
I tried to fix it according to the articles of https://www.phoca.cz/documents/2-phoca-g ... em-solving , but failed.
I also googled other solutions on website, none of them can help.
I did as Jan said enable Debug System on Joomla global configuration, but the message of "The connection was reset"
shown when I clicked images or categories button on Phoca Gallery Control Panel. I could not see any debug massage on that page.
I used joomla 2.5.7, server version: 5.1.46-community, phpmyadmin 2.11.6, MySQL client version: 5.0.51a, Phoca Gallery Control Panel3.2.2
Please help me, thanks in advanced!