Need to fix Fancybox issue/conflict for IE users

Permalink
I'm using Slate and a number of addons that use Fancybox. I'm getting errors in IE that make a couple functions unusable. I need to get this resolved ASAP. Is anyone available to take a look? Should not be a big problem. I'm sure there's a fix. I just can't see it and am living without electricity since some storms came through a few days ago.

Thanks!

Site is:http://www.designerdoors.com
You'll see the error on IE with the "Find a Rep" tool.

bjalexander
 
mhawke replied on at Permalink Reply
mhawke
Can you be more specific about the problem? The 'Find a Representative' can't find anything but it isn't throwing any errors either.
bjalexander replied on at Permalink Reply
bjalexander
Find a Rep works great when you're logged in. When you're not logged in, it doesn't show any results. I'm sure that's a silly PHP error and we're just not seeing. (Yes, I checked permissions on the page and the box. All okay.) The file was modified so we could use it this way and clearly something is incorrect.

The Fancybox errors are coming in with Deluxe Image Gallery. Appears to be just for IE users?

If you want to take a look at the PHP for the Contact Directory, I'm happy to turn the meter on. Just let me know what you think it might cost first.
pvernaglia replied on at Permalink Reply
pvernaglia
On the page were it works logged in but not logged out try adding the
load jquery ui add on
http://www.concrete5.org/marketplace/addons/load-jquery-ui/...

On 6/25/13 1:59 PM, concrete5 Community wrote:
bjalexander replied on at Permalink Reply
bjalexander
I tried ... didn't work. Thanks for the suggestion.
mhawke replied on at Permalink Reply
mhawke
I'm sorry but I'm still confused as to where the error is. All the galleries on all the pages I've looked at in IE are working fine with no errors. If you could shoot me an actual URL to a page that is crashing, that would help. Also, what version of IE are you working with? I'm on IE10 but I can emulate back to IE7 and I can't see any issues. (IE7 shows a few issues with the layout but the galleries/lightbox work fine)
bjalexander replied on at Permalink Reply 1 Attachment
bjalexander
I'm seeing the errors come up on URL Director. HOWEVER ... if it's not impacting use, I'm not going to fix what is not broken. I attached a screenshot of what I'm seeing. The number on the right (193) is the number of times it has called for that file and not found it.

I'm still stumped on the Find a Rep working when logged in but not otherwise.
madeforspace replied on at Permalink Reply
madeforspace
Just a thought and a bit of a long shot but on the question of content showing when logged in but not to regular visitors.

Is it possible that you have changed a page version for that page?

If you revert a page to a previous version it will show the previous version content to a guest but the admin will still see what is in the most recent version.
Could that be possible in your case?

As I say it's a long shot but you never know.
jasteele12 replied on at Permalink Reply
jasteele12
It appears you are using a modified version of the Slate theme (it would normally be in /packages/ not /themes/DDWeb/

The 404 images not found are definitely impacting your IE rendering speed. Your /themes/DDWeb/js/fancybox/jquery.fancybox-1.3.4.css needs to be modified for the correct path to these images.

I'm not sure about your contact directory problem, since I don't have a login, but if you PM me I can take a look.
bjalexander replied on at Permalink Reply
bjalexander
PM sent. Thanks!
bjalexander replied on at Permalink Reply
bjalexander
Thank you all -- it's now under control.
mhawke replied on at Permalink Reply
mhawke
What was the final solution?
jasteele12 replied on at Permalink Best Answer Reply
jasteele12
Corrected the fancybox 404 errors.

Stupid M$ filters are the only thing to my knowledge that reference URLs relative to the document being served (/index.php) instead of to the CSS style sheet.

There are three solutions, either move the images into the root (ugly) or manually change the .css file to the actual full path (done), or optimally change from .css into .php and use getThemePath().

Next up, locator...
mhawke replied on at Permalink Reply
mhawke
Good to know. I spend very little energy trying to cater to IE so I'm ignorant of these tweaks. I like this guy's approach:
http://www.afterdawn.com/news/article.cfm/2012/06/14/online_retaile...
jasteele12 replied on at Permalink Reply
jasteele12
That cracks me up :)

I remember several years ago about a bunch of programmers talking about suing M$ over non-paid time lost having to deal with IE - not much has changed - but I would have loved to have seen that happen...
bjalexander replied on at Permalink Reply
bjalexander
Thank you, thank you. Perfect solution.
jasteele12 replied on at Permalink Reply
jasteele12
You are very welcome!