AutoDirector forum

The AutoDirector support and advice forum

all button not working

Post Reply

Page: 1

Author Post
Member
Registered: Apr 2008
Posts: 21
Craig,

Just updated to 1.8 and everything seems ok...few issues. One customer has the "orange" css and it seems to have made it larger and not fit as well....but the main issue are the pages...if you select more than 25 a page it errors. Does the same in firefox and IE with small differences....any help would be great! Here's the site www.franklincars.net

Is there a new Doctype that's being used??

Thanks
Administrator
Registered: Apr 2008
Posts: 324
Hi,

For me, IE appears to be working, but Firefox shows a blank page without any errors.

The Doctype hasn't changed, but the system's much more strict about characters that go into the fields. Certainly characters such as '&' are likely to give you problems - and that showroom appears to use quite a few. I think the ones with & in the title are failing to appear in the list, which could account for any errors you've experienced with the 'all' option.

I'll look into it but, for the moment, I'd recommend using characters such as a-z, 0-9, and basic punctuation.

The orange template hasn't changed, but the characters or possibly hidden errors could be causing spacing problems.

Hope that helps.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 21
I replaced some of the &'s and it did make some appear, but i'm still having issues with firefox. If i select the all button i just get a page full of text...here's just the first few lines.....

XML Parsing Error: not well-formed Location: http://franklincars.net/inventory.html Line Number 1, Column 33363:<root><a id="ad_id201" href="#" title="click for more details..."><img src="http://franklincars.net/ad/data/franklin/thumbs/902.jpg" title="Scion XB" /><dl><dt class="model">model:</dt><dd class="model"> 2006 Scion XB</dd><dt class="colour">color:</dt><dd class="colour">black</dd><dt class="gearbox">transmission:</dt><dd class="gearbox">manual</dd><dt class="mileage">mileage:</dt><dd class="mileage">44,885 miles</dd></dl><div class="price">$12,995</div></a><a id="ad_id182" href="#" title="click for more details..."><img src="http://franklincars.net/ad/data/franklin/thumbs/877.jpg" title="Nissan Maxima SE" /><dl><dt

thanks for your help....
Administrator
Registered: Apr 2008
Posts: 324
Yep - it's being caused by:

1998 Chevrolet Blazer JOHNNY&HOLLY McCLURE
1998 Toyota Camry MARK&DIANE GASS

Remove the '&' from those vehicles and it should work. The only reason 'all' causes an issue is because those vehicles generate the error. If you view 5 cars at a time, it only occurs on page 7.

Hope that helps. I'll look into fixing the issue...

(Incidentally, the reason I couldn't see the problem in Firefox was because I use Adblock Plus and it stops your AutoDirector script because it's in an /ad/ folder. It might be an idea to rename it to something else, then run upgrade.php - that should work).
_______________
AutoDirector administrator
« Last edit by Craig on Wed 27 August, 2008 18:54. »
Administrator
Registered: Apr 2008
Posts: 324
Weird. I've been testing AutoDirector with '&' in the fields and it appears to work fine?

Could it be that you've got another unusual character in your text? Copying and pasting from Word could certainly cause problems.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 21
I don't think they're pasting from word or anything like that but i will make sure. One thing i have noticed though is that in firefox if you go into a car detail and click on an image....the lightbox is in the background and is EXTREMLY slow. I thought it was my computer but i've had many people check. Let me know of any code or whatever you may need to troubleshoot these issues....Thanks again for your quick responses!!!
Administrator
Registered: Apr 2008
Posts: 324
I've checked your page and the problem is caused by the "z-index:2" in the DIV with ID "html1". Remove that and the images will appear fine.

It seems fast enough in Firefox 3? Do you know which version of Firefox your users tested it with?
_______________
AutoDirector administrator
« Last edit by Craig on Wed 3 September, 2008 6:50. »
Member
Registered: Jul 2008
Posts: 26
Location: UK & US
Just for the record guys, I just checked it using Firefox 3 and Google Chrome, and it's as quick as I expect it to be. I will say the lightbox comes up under the text still. For some reason I think it's a pretty cool feature!

Cheers guys.

Matt
Administrator
Registered: Apr 2008
Posts: 324
Did you remove the z-index as mentioned above? That will fix the lightbox going under the text.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 21
Craig,

So sorry it's taken so long!! I just started messing with removing the z-index:2. I guess i'm not comfortable enough as i can't seem to figure out what to remove/change?? I little more help would be great....Thanks
Administrator
Registered: Apr 2008
Posts: 324
On your inventory page, line 108 has this code:

<div id="html1" style="overflow: hidden; position: absolute; left: 7px; top: 248px; width: 784px; z-index: 2;">

Just remove the "z-index: 2;" from that line and everything will work as expected.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 21
I removed "z-index: 2;" and this is the error i recieved in IE and Firefox....

This page does not contain a
<div id="autodirector"></div> tag.

I'm sorry.....
Administrator
Registered: Apr 2008
Posts: 324
It looks like you've put the original page back, but I'm guessing that you also removed the quote and/or the closing >.

Double-check your code. Line 108 should be:

<div id="html1" style="overflow: hidden; position: absolute; left: 7px; top: 248px; width: 784px;">

I'd recommend you use a standard text editor rather than any WYSIWYG tools.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 21
That worked...not sure what i did wrong...Thanks Craig. Still learning...as you can tell.

Post Reply

Page: 1