Probelm with listing of the categories

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49095
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

??? Which version of

Post by Jan »

??? Which version of php do you use? Is your site available on internet (not localhost)

Jan
If you find Phoca extensions useful, please support the project
Vedaro
Phoca Member
Phoca Member
Posts: 15
Joined: 24 Jan 2008, 16:20

My Site is on intern

Post by Vedaro »

My Site is on internet, php version is 4.4.7... Do you need further informations?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49095
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

yes, your site name

Post by Jan »

yes, your site name to view it...
If you find Phoca extensions useful, please support the project
Vedaro
Phoca Member
Phoca Member
Posts: 15
Joined: 24 Jan 2008, 16:20

It's still in b

Post by Vedaro »

It's still in building process..

http://www.josat-doerr.de/tclimburg2008 ... iew=catego ries&Itemid=23

if you don't mind I'll edit the link out off the post once you'ye copied it..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49095
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

your database is wor

Post by Jan »

your database is working, but Phoca Gallery cannot create thumbnails, they doesn't exist. You have all data stored in database, it is all right, but while creating thumbnails and saving it to server disc it cames on some error. Do you some thumbs folder with some files in your image/phocagallery folder?

Jan
If you find Phoca extensions useful, please support the project
Vedaro
Phoca Member
Phoca Member
Posts: 15
Joined: 24 Jan 2008, 16:20

Hi Jan,i

Post by Vedaro »

Hi Jan,

in my image/phocagallery is a subfolder "thumbs" which contains 3 thumbnails (l, m, s) per image of my galleries. When I add images to a gallery in the backend, thumbnails are created without trouble.

I added a category-listing to an article using the gallery plugin (http://www.josat-doerr.de/tclimburg2008 ... view=categ ory&id=4&Itemid=23), there the links in the listings are correct and the gallery works. Despite there are no thumbnails in front of the categories, just the "phoca_thumb_s_no_image.gif".

But if I use the menu entry "categories listing" (http://www.josat-doerr.de/tclimburg2008 ... view=categ ories&Itemid=23), neither the links to the categories work nor the link to the gallery thumbnails (both are just http://www.josat-doerr.de/tclimburg2008/).

Max
nachwile
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jan 2008, 03:54

I have this same pro

Post by nachwile »

I have this same problem
http://www.josat-doerr.de/tclimburg2008 ... iew=catego ries&Itemid=23

If I use "Version 1.2.0" and later is all works.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49095
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Please, download the

Post by Jan »

Please, download the 1.3.0 version now and update the Phoca Gallery (uploading new files via FTP) or reinstall. I have do some changes in SQL queries, maybe it will help you

Jan
If you find Phoca extensions useful, please support the project
Vedaro
Phoca Member
Phoca Member
Posts: 15
Joined: 24 Jan 2008, 16:20

Hi Jan,s

Post by Vedaro »

Hi Jan,

sorry, but nothing changed with the new version.

I digged a bit in the code and I think I've found some problematic lines:

In the file front/models/categories.php line 77 to 79


$this->_data_outcome->link = "";
$this->_data_outcome->filename = "";
$this->_data_outcome->linkthumbnailpath = "";




For the first one I copied a part out of front/views/categories/view.html.php, so now it is:

$this->_data_outcome->link = JRoute::_('index.php?option=com_phocagallery&vie
w=category&id='. $value2->slug );




With this the links work.

I couldn't figure out how to get the thumbnails thing to work.. maybe it's a starting point for you...

Ahm.. and big thanks for your help

Max
nachwile
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jan 2008, 03:54

Nothing.

Post by nachwile »

Nothing.

Maybe is poting a wrong address
<table border="0"><tr><td align="center"><a href="/"><img src="/templates/redevo_aphelion/images/" alt="Ultima Online" style="border:0" /></a></td><td><a href="/" class="category">Ultima Online</a> <span class="small">(1)</span></td></tr></table></div>
</div></div>
</div>

Screen is inside images/ not <img src="/templates/redevo_aphelion/images/"
Post Reply