View Full Version : dead links in categories list
hi
I installed the api on a different server to my original install. It worked fine for a few hours, and then i noticed that the links in the categories menu were dead.
So i replaced all my changed files with the originals and they were still dead.
Later on today, some of the links became live again, but everything below DVDs is dead. so i downloaded the app again and did a full install with fresh files and still get the same problem.
In the view source it looks like:
<h3><a href="http://mydomain.com/category.php?c=61">Computers & Software
</a>
</h3>
There is a huge amount of white space being kicked out from somewhere.
MY suspicions, seeing as its obviouly an intermediate problem, is that a merchant has uploaded a feed with a s**t loada white space or carraige returns in some of their fields.
Perhaps a trim() type function somewhere would help combat this, if that indeed is the problem. However, i can't find the right spot to place it.
Hi Andy,
I have notified our Head of Development about this.
Due to the Easter break, I cannot confirm when an update may be communicated to you.
Once I recieve further information on this I will post on here and bring you up to speed.
Thanks
Amo
Cheers amo
I understand its the easter break.
Mind you, saturday isnt a bank holiday!!:D
Thinkl i might have found the problem people!!
Haven't got time to test right now, wont have time till monday night/tuesday morning tbh.
Ive just taken a look at the "update fixes" forum on here and the problem is glaringly obvious.
http://www.shopwindowforum.com/showthread.php?t=79
We all just copied and pasted didnt we? Im sure that Aff Win just copied and pasted staright out of the files onto the forum thread too, hence everyone whos updated having the problem and everyone whos downloaded since having the same problem.
The update says this:
hot_picks.tpl
Lines 12 - 14 hot_picks.tpl file within templates\template_xx_xxxx\elements\ of each templates directory the code reads as follows:
<a href="{$oProduct->sProductLink}"><img src="{$oProduct->sProductImageUrl|default:$noImage}" /></a>
<a href="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName}</h3></a>
Please replace this with the following code:
<span><a href="{$oProduct->sProductLink}"><img src="{$oProduct->sProductImageUrl|default:$noImage}" /></a></span>
<ahref="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName|truncate:#productNameMax#}</h3></a>
that change should be:
<span><a href="{$oProduct->sProductLink}"><img src="{$oProduct->sProductImageUrl|default:$noImage}" /></a></span>
<a href="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName|truncate:#productNameMax#}</h3></a>
Firefox isn't stupid. but an anchour tag on a page written as ahref= and not a href= will cause errors.
As i said, i don't have chance to test this, but Im pretty positive this is the problem.
Let me know.
edit*
Just couldn't wait, so i tested it before bed. No, it doesn't seem to be the solution, sorry guys!!
ushop-online
09-04-07, 00:59
That typo is not in the Shop Window download fix vanilla -- it shows as
<a href="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName|truncate:#productNameMax#}</h3></a>
Anyway that is HotPicks and not CategoryTree.
Yeah its in hotpicks granted, but its the browser that is not displaying the page properly. So if there are errors on the page, it can cause a cascade of errors elsewhere on the page.
After playing with my original download and implementing the updates, Ive found that the problem only arises once the CSS change is done.
I know the change is for HotPicks and the problem is in the category tree, but thats what ive found.
I have the same problem with the left hand side category list.
It shows live links from below Dvd's at the main page but after you call another page, the links are all DEAD :eek:
http://www.youget.co.uk
I have checked with the bug update and found that the software I have is the latest one.
Has anyone suggestions?
Thanks
Franco
Hi Franco,
Thats seems very strange. Have you edited the CSS in any way?
Is anybody else experiencing this?
It would be good to identify if this is a bug experienced by all so that I can bring it to the attention of our Dev team.
Thanks
Amo
Franco
My site was the very same (only worked from DVD's down) until i implemented the bug fix in client (2) Works perfectly now.
Jake
:o Sorry Amo... and everyone else :o
My fault. I have 2 domain names on the same server and did the update to the other one but was checking it with http://www.YouGet.co.uk
The nasty bug has now GONE, GONe, GOne, Gooone, gooooooone.:D
All I gona do now, is the customizing :rolleyes: