Page 1 of 2
Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 12 May 2011, 10:29
by kymm
Hello,
I installed Phocagallery 3.0 RC 5 on Joomla 1.6.2. Administration section works fine but when I insert a gallery in an article, it gives me this:
Warning: Invalid argument supplied for foreach() in *********\plugins\content\phocagallery\phocagallery.php on line 737
It is this line:
737 foreach ($data_outcome_array as $category) {
738 // ROUTE
739 $category->link = JRoute::_(PhocaGalleryRoute::getCategoryRoute($category->id, $category->alias));
Help me please
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 17 May 2011, 11:54
by kymm
No answer ???

Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 17 May 2011, 14:03
by Jan
Hi, try to enable debug mode to get info from the database, do you run the latest plugin?
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 17 May 2011, 15:08
by kymm
Jan wrote:Hi, try to enable debug mode to get info from the database, do you run the latest plugin?
Lastest plugin :
Button phoca gallery 2.7.1
Phoca Gallery Plugin 3.0.1
How do I enable debug mode?
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 18 May 2011, 13:59
by focavero
Hi, I have the same problem, I can't do anything with the component beacause of the errors:
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in .../libraries/joomla/database/database/mysqli.php on line 345
and
Warning: Invalid argument supplied for foreach() in .../libraries/joomla/database/database/mysqli.php on line 727
With the debug ON it tells me about:
JDatabaseMySQL::query: 1146 - Table 'DBname.jos_phocagallery_categories' doesn't exist SQL=SELECT a.*,l.title AS language_title,uc.name AS editor,ag.title AS access_level,c.title AS parentcat_title, c.id AS parentcat_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,v.average AS ratingavg,cc.countid AS countid FROM `jos_phocagallery_categories` AS a LEFT JOIN `jos_languages` AS l ON l.lang_code = a.language LEFT JOIN jos_users AS uc ON uc.id=a.checked_out LEFT JOIN jos_viewlevels AS ag ON ag.id = a.access LEFT JOIN jos_phocagallery_categories AS c ON c.id = a.parent_id LEFT JOIN jos_users AS ua ON ua.id = a.owner_id LEFT JOIN jos_phocagallery_votes_statistics AS v ON v.catid = a.id LEFT JOIN (SELECT cc.parent_id, count(*) AS countid FROM jos_phocagallery_categories AS cc GROUP BY cc.parent_id ) AS cc ON a.parent_id = cc.parent_id WHERE (a.published IN (0, 1)) GROUP BY a.id ORDER BY a.title asc
?????? What do I need to do? Please help!
Sorry I forgot to say: I installed today the latest version for Joomla 1.6
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 18 May 2011, 14:47
by kymm
I do not understand anything, it resumed operating alone..........
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 18 May 2011, 19:58
by focavero

so what should I do to make phoca gallery work?
did you solve your problem?
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 18 May 2011, 20:24
by kymm
I never do anything... I don't know why phoca run well now..
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 15 Jun 2011, 15:20
by donvito
Hello,
if got the same problem! I need help! What can i do to run phoca galerie?
Re: Probleme PhocaGallery 3 RC5 & Joomla 1.6.2
Posted: 16 Jun 2011, 00:35
by Jan