images not showing under admin panel
-
rikun
- Phoca Newbie

- Posts: 2
- Joined: 29 Jun 2009, 08:55
images not showing under admin panel
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.
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: images not showing under admin panel
Hi,
are your (category) filters turned on in the image overview? And there is pagination, so you could check your second page.
Regards, Carolien
are your (category) filters turned on in the image overview? And there is pagination, so you could check your second page.
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
rikun
- Phoca Newbie

- Posts: 2
- Joined: 29 Jun 2009, 08:55
Re: images not showing under admin panel
No, I don't have any categories selected; and I don't see any link to a second page.
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: images not showing under admin panel
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
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
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
Naddel
- Phoca Newbie

- Posts: 5
- Joined: 21 Feb 2008, 00:52
Re: images not showing under admin panel
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:
was:
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...
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'Code: Select all
. ' LEFT JOIN #__phocagallery_img_votes_statistics AS v ON v.imgid = a.id'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...
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images not showing under admin panel
Hi, this is right:
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
Code: Select all
. ' LEFT JOIN #__phocagallery_img_votes_statistics AS v ON v.imgid = a.id'Check if this table (#__phocagallery_img_votes_statistics) exists in your database)
Jan
If you find Phoca extensions useful, please support the project
-
Naddel
- Phoca Newbie

- Posts: 5
- Joined: 21 Feb 2008, 00:52
Re: images not showing under admin panel
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...
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...
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images not showing under admin panel
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
please, see your error log or enable error reporting on to know the problem.
Jan
If you find Phoca extensions useful, please support the project
-
Naddel
- Phoca Newbie

- Posts: 5
- Joined: 21 Feb 2008, 00:52
Re: images not showing under admin panel
works fine with 2.5 beta2 now 
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images not showing under admin panel
Great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project