Page 1 of 1

Double icon-switch.gif path generates tones server error log

Posted: 12 May 2012, 20:13
by nomad
Hi Jan,

I have a weird problem and I really dont know how to fix that, here's what's happening.
Joomla 1.5.26 with PhocaGallery 2.8.1, standard Joomla SEF, no other sef extensions etc..

In my server error logs there a lots of messages like this:

Code: Select all

[Sat May 12 20:36:47 2012] [error] [client 46.176.2.xxx] File does not exist: /home/xxxxxx/public_html/hardware-reviews, referer: http://www.pcmhz.com/hardware-reviews/reviews-placi-video/2569?start=2
Searching for problems i found that those are only related to articles were I use switchimage parameters.

Somehow, there is another request for icon-switch.gif that use strict article link

Code: Select all

"NetworkError: 404 Not Found - http://www.pcmhz.com/hardware-reviews/reviews-placi-video/images/phocagallery/icon-switch.gif"
If i analyze those pages, icon-switch.gif is loaded first time and working just great from

Code: Select all

http://www.pcmhz.com/components/com_phocagallery/assets/images/icon-switch.gif
I tried to switch to png or gif.. result is the same (different images) but as i've said, its a hidden error that just make my error log file to get bigger and bigger, otherwise all seems ok.

How can this be fixed or in my case, I dont even need that switch loader.. please help.

Re: Double icon-switch.gif path generates tones server error

Posted: 13 May 2012, 23:33
by Jan
Hi, can you paste the site url without SEF, to see in which view you get this problem?

Jan

Re: Double icon-switch.gif path generates tones server error

Posted: 31 Oct 2012, 01:40
by nomad
Hi again and sorry for luck or reply *(been busy with tons of things),

I dont know if this will help you, without sef here's an article example were that thing occured (but is everywhere in com_content/article view when i use something from Phocagallery)
http://www.pcmhz.com/index.php?option=c ... &Itemid=63

Re: Double icon-switch.gif path generates tones server error

Posted: 31 Oct 2012, 21:54
by Jan
Hi, hmmm, really no idea which part can call the icon-switch in other then set folder :idea:

Hmm, really no idea, tested on my server without any such issue :idea:

Re: Double icon-switch.gif path generates tones server error

Posted: 01 Nov 2012, 17:02
by nomad
Is there any way that I can remove any icon-switch image reference from your code (php/js)? without affecting functionality...

Re: Double icon-switch.gif path generates tones server error

Posted: 03 Nov 2012, 20:53
by Jan
Hi, in fact this should not have any other functionality that design functionality - so there is no problem to remove it.

Jan