i have a problem after the installation Phoca Gallery v2.6.2 in the category and users.
PHP-Version: 4.4.9
MySQL-Version: 4.0.25
Problem 1
The Error-Message in the "category" is
Code: Select all
Warning: Invalid argument supplied for foreach() in /www/htdocs/w008325e/cms/administrator/components/com_phocagallery/models/phocagallerycs.php on line 126
The Error-Message in the Debug-Mode from Joomla:
Code: Select all
JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT c.parent_id, count(*) AS countid FROM jos_phocagallery_c SQL=SELECT a.*, cc.title AS parentname, u.name AS editor, g.name AS groupname, v.average AS ratingavg, ua.username AS usercatname, c.countid AS countid FROM jos_phocagallery_categories AS a LEFT JOIN jos_users AS u ON u.id = a.checked_out LEFT JOIN jos_groups AS g ON g.id = a.access LEFT JOIN jos_phocagallery_categories AS cc ON cc.id = a.parent_id LEFT JOIN jos_phocagallery_votes_statistics AS v ON v.catid = a.id LEFT JOIN jos_users AS ua ON ua.id = a.owner_id JOIN (SELECT c.parent_id, count(*) AS countid FROM jos_phocagallery_categories AS c GROUP BY c.parent_id ) AS c ON a.parent_id = c.parent_id ORDER BY a.ordering
Problem 2
This is under users Error-Message:
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/w008325e/cms/libraries/joomla/database/database/mysql.php on line 344
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/w008325e/cms/libraries/joomla/database/database/mysql.php on line 344
Code: Select all
JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT c.owner_id, c.id, count(*) AS countcid FROM jos_phocaga SQL=SELECT a.*, us.name AS username, u.name AS editor, c.countcid, i.countiid FROM jos_phocagallery_user AS a LEFT JOIN jos_users AS us ON us.id = a.userid LEFT JOIN jos_users AS u ON u.id = a.checked_out LEFT JOIN (SELECT c.owner_id, c.id, count(*) AS countcid FROM jos_phocagallery_categories AS c GROUP BY c.owner_id) AS c ON a.userid = c.owner_id LEFT JOIN (SELECT i.catid, uc.userid AS uid, count(i.id) AS countiid FROM jos_phocagallery AS i LEFT JOIN jos_phocagallery_categories AS cc ON cc.id = i.catid LEFT JOIN jos_phocagallery_user AS uc ON uc.userid = cc.owner_id GROUP BY uc.userid ) AS i ON i.uid = c.owner_id WHERE us.id > 0 ORDER BY a.ordering LIMIT 0, 20
P.S. - sorry for my english (google translater help me) *fg*
dear regards from Hamburg
Lukas