Page 1 of 1
images not showing under admin panel
Posted: 29 Jun 2009, 09:03
by rikun
The whole gallery works great. The one problem that I'm having is that when I add an image to a category, it doesn't show up in the list of images in the admin panel, but the images are viewable if you view them via the gallery. I was wondering if anyone else has had this problem. Thanks.
Re: images not showing under admin panel
Posted: 29 Jun 2009, 09:58
by caro84g
Hi,
are your (category) filters turned on in the image overview? And there is pagination, so you could check your second page.
Regards, Carolien
Re: images not showing under admin panel
Posted: 29 Jun 2009, 18:54
by rikun
No, I don't have any categories selected; and I don't see any link to a second page.
Re: images not showing under admin panel
Posted: 30 Jun 2009, 08:59
by caro84g
and do you see the images when you select the specific category?
P.S. on the bottom of the page you should see a 'display number'. If you set this to all do you see the images then?
Regards, Carolien
Re: images not showing under admin panel
Posted: 30 Jun 2009, 16:03
by Naddel
hi,
i had the same problem. there seems to be an error in line 141 of administrator/components/com_phocagallery/models/phocagallerys.php
should be:
Code: Select all
. ' LEFT JOIN #__phocagallery_votes_statistics AS v ON v.id = a.id'
was:
Code: Select all
. ' LEFT JOIN #__phocagallery_img_votes_statistics AS v ON v.imgid = a.id'
the same error is in administrator/components/com_phocagallery/models/phocagalleryraimg.php:42 too.
nevertheless, i updated from 2.2.4 on another server, and now i only get a white page in the admin area if i want to view the images...
Re: images not showing under admin panel
Posted: 30 Jun 2009, 21:21
by Jan
Hi, this is right:
Code: Select all
. ' LEFT JOIN #__phocagallery_img_votes_statistics AS v ON v.imgid = a.id'
because in list of images you should see the rating of images ( #__phocagallery_img_votes_statistics ) not rating of categories ( #__phocagallery_votes_statistics )
Check if this table (#__phocagallery_img_votes_statistics) exists in your database)
Jan
Re: images not showing under admin panel
Posted: 01 Jul 2009, 00:19
by Naddel
hi jan,
this is not true for 2.5 alfa. there is no #__phocagallery_img_votes_statistics table created, only #__phocagallery_votes_statistics. perhaps something is wrong with the installer (install.sql is empty...).
after upgrading from 2.2.4 there's #__phocagallery_img_votes_statistics, but i get a white page on images page...
Re: images not showing under admin panel
Posted: 02 Jul 2009, 20:40
by Jan
Hi, there is some problem while creating the table (in installation process), but the sql query in model is correct.
please, see your error log or enable error reporting on to know the problem.
Jan
Re: images not showing under admin panel
Posted: 06 Jul 2009, 13:33
by Naddel
works fine with 2.5 beta2 now

Re: images not showing under admin panel
Posted: 06 Jul 2009, 19:29
by Jan
Great to hear it.
Jan