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

Phoca Gallery - image gallery extension
nomad
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Apr 2011, 19:14

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, can you paste the site url without SEF, to see in which view you get this problem?

Jan
If you find Phoca extensions useful, please support the project
nomad
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Apr 2011, 19:14

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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:
If you find Phoca extensions useful, please support the project
nomad
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Apr 2011, 19:14

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

Post by nomad »

Is there any way that I can remove any icon-switch image reference from your code (php/js)? without affecting functionality...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, in fact this should not have any other functionality that design functionality - so there is no problem to remove it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply