Page 1 of 2

2.0.0 b - Links in statistics tab failure

Posted: 07 Sep 2008, 22:46
by hiaz0r
Hi there!

First of all i will show my hole respect for the developer(s?) Jan. This Joomla Gallery is one of the best i ever saw! :twisted: The new functions of the 2.0 gallery are great!

But I got an problem with the links in the "Statistics" tab. The thumbnails won´t show up, because of broken links.

Example link: http://hompage.de/bildergalerie/17-test ... =component (the image is missing between / and ?)

The funny thing is that the right alternative and description text is shown.

My system:
Phoca Gallery 2.0.0 b
Joomla 1.5.6 (standard SEF activated)

I don´t know if this is a general problem?!?

Thanks for all help!

Regards

Hiaz0r

Re: 2.0.0 b - Links in statistics tab failure

Posted: 08 Sep 2008, 21:05
by Jan
Hi, try to disable SEF ...

Please let me know the link to category view, where this problem occures

Jan

Re: 2.0.0 b - Links in statistics tab failure

Posted: 09 Sep 2008, 01:05
by hiaz0r
Hi Jan,

thanks for your replay.

This is the link without SEF:
index.php?option=com_phocagallery&view=detail&catid=39:EM-2008&id=&tmpl=component&Itemid=30

and this is the link to the category view:
index.php?option=com_phocagallery&view=categories&Itemid=30
and this to the subcategorie:
index.php?option=com_phocagallery&view=category&id=39:EM-2008&Itemid=30

This is the link with SEF enabled:
/bildergalerie/39-EM-2008/detail/?tmpl=component

and this is the link to the category view:
/bildergalerie.html
and this to the subcategorie:
/bildergalerie/category/39-EM-2008.html

this is the print_r from $value in default_statistics.php:

Code: Select all

456 [catid] => 39 [sid] => 0 [title] => EM2008-17 [alias] => em2008-17 [filename] => PartiesVeranstaltungen/EM2008/EM2008-17.jpg [description] => [date] => 2008-09-08 20:38:37 [hits] => 1 [published] => 1 [checked_out] => 0 [checked_out_time] => 0000-00-00 00:00:00 [ordering] => 17 [params] => [button] => jobject Object ( [_errors] => Array ( ) [name] => image [modal] => 1 [methodname] => modal-button [options] => {handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.9} ) [buttonother] => jobject Object ( [_errors] => Array ( ) [name] => other [modal] => 1 [methodname] => modal-button [options] => {handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.9} ) [displayicondetail] => 1 [displayname] => 1 [type] => 2 [link] => /bildergalerie/39-EM-2008/detail/?tmpl=component ) 
The image id is missing... but i got no idea why :x

Thanks for your work! gn8 hiaz0r

Re: 2.0.0 b - Links in statistics tab failure

Posted: 09 Sep 2008, 22:07
by Jan
please try to remove the 2008 from category name (only from alias name) - for test... on some servers, if in alias there is a number then it can do some problems

Try it and let me know

Jan

Re: 2.0.0 b - Links in statistics tab failure

Posted: 10 Sep 2008, 00:25
by hiaz0r
Hi Jan,

i got 20+ categories with numbers and without numbers, with german umlauts and without... The problem occours in each situatation since i made the first categorie...

It is possible to install the gallery again with the upgade option?!? I didn´t want to lose my categories and images... :cry:

Does this problem only occours with my page?!? Or are there other users with the same/simular problem?

Greets

Hiaz0r

Re: 2.0.0 b - Links in statistics tab failure

Posted: 10 Sep 2008, 12:44
by Jan
Hi, if you upgrade, no data will be changed but no changes in "Umlaut" and "Numbers" will be done, so the aliases of all categories should be renamed manually (the best way) if this causes a problem on your server :-(

Re: 2.0.0 b - Links in statistics tab failure

Posted: 10 Sep 2008, 14:03
by hiaz0r
Hi,

i made a new clear installation (on the same server) but i got the same problems :x

Greetz

Hiaz0r

Re: 2.0.0 b - Links in statistics tab failure

Posted: 10 Sep 2008, 16:07
by Jan
:( I think, the problem is near:

This is the link with SEF enabled:
/bildergalerie/39-EM-2008/detail/?tmpl=component ==> /? but why SEF made this link so ???

Jan

Re: 2.0.0 b - Links in statistics tab failure

Posted: 10 Sep 2008, 17:46
by hiaz0r
hi,

i think the problem is the missing image id not the active sef -> this is the link with sef disabled:

index.php?option=com_phocagallery&view=detail&catid=39:EM-2008&id=&tmpl=component&Itemid=30

&id=& is the problem, or not?!?

greetz

hiaz0r

:cry: :x :cry:

Re: 2.0.0 b - Links in statistics tab failure

Posted: 11 Sep 2008, 14:39
by Jan
Ok, I think, it can be caused by PHP version (php4 which doesn't get object data), Please try to copy the attached and unzipped file:

view.html.php to
components/com_phocagallery/views\category/

and

category.php to
components/com_phocagallery/modles/
changes.zip
and let me know if it helped... I will fix it for stable

Jan