FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General FutureQuest Hosting Support
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-20-2007, 04:51 PM   Postid: 163662
jakobkegel
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Feb 2007
Location: Valletta, Malta
Posts: 5
Understanding servcer error message

I recently set up a lightbox derivative from Christophe Beyls http://www.digitalia.be. In the server error log I have now found a substantial number of error messeges that I cant really understand nor google with any success. What is puzzling me is the last bit of the message: ' + src + '

[Thu Dec 20 16:14:51 2007] [error] [client xxx.xx.xxx.xxx] File does not exist: /big/dom/xDOMAINNAME/www/lightbox2/js/' + src + '

What does it mean?
__________________
_______________
[url]www.zebcon.com[/url]
jakobkegel is offline   Reply With Quote
Old 12-20-2007, 05:12 PM   Postid: 163666
Tom E.
Site Owner
 
Tom E.'s Avatar

Forum Notability:
1175 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Feb 2005
Location: Connecticut
Posts: 717
Re: Understanding servcer error message

My guess (and I stress guess) is that there's a bug in some Javascript code that is trying to add some strings (with the '+') to create the path to a file.

Try searching the program code for "+ src +" and post the entire line if you find it - might just be a simple syntax error.

... or it could be something completely different
Tom E. is offline   Reply With Quote
Old 12-20-2007, 05:26 PM   Postid: 163667
jakobkegel
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Feb 2007
Location: Valletta, Malta
Posts: 5
Re: Understanding servcer error message

The problem with searching is that google disregards the pluses [+] on each side of src and so the result page becomes quite irrelevant...
__________________
_______________
[url]www.zebcon.com[/url]
jakobkegel is offline   Reply With Quote
Old 12-20-2007, 05:31 PM   Postid: 163668
jakobkegel
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Feb 2007
Location: Valletta, Malta
Posts: 5
Re: Understanding servcer error message

Quote:
Originally Posted by Tom E. View Post
Try searching the program code for "+ src +"
Code:
if (document.readyState && window.ie){
			if (!$('ie_ready')){
				var src = (window.location.protocol == 'https:') ? '://0' : 'javascript:void(0)';
				document.write('<script id="ie_ready" defer src="../../lightbox2/js/%27%20%2B%20src%20%2B%20%27"><\/script>');
				$('ie_ready').onreadystatechange = function(){
					if (this.readyState == 'complete') domReady();
				};
			}
Take a look at row 4...
__________________
_______________
[url]www.zebcon.com[/url]
jakobkegel is offline   Reply With Quote
Old 12-20-2007, 06:13 PM   Postid: 163678
Tom E.
Site Owner
 
Tom E.'s Avatar

Forum Notability:
1175 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Feb 2005
Location: Connecticut
Posts: 717
Re: Understanding servcer error message

Quote:
src="../../lightbox2/js/%27%20%2B%20src%20%2B%20%27">
That's not what I expected.

I'm not sure what the URL is trying to do, unless there is supposed to be a file named js/' + src + '.

Quote:
I recently set up a lightbox derivative from Christophe Beyls...
Maybe something was lost in translation ???
Tom E. is offline   Reply With Quote
Old 12-20-2007, 07:50 PM   Postid: 163683
jakobkegel
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Feb 2007
Location: Valletta, Malta
Posts: 5
Re: Understanding servcer error message

Hi Tom,

Go a fresh script from the originator and there was possibly something 'lost in translation'. The script now looks like this - with the actual characters printed and not the HTML 'translations'. Dont know if it will make any difference, but will monitor the error log:

Code:
if (!$('ie_ready')){
				var src = (window.location.protocol == 'https:') ? '://0' : 'javascript:void(0)';
				document.write('<script id="ie_ready" defer src="' + src + '"><\/script>');
				$('ie_ready').onreadystatechange = function(){
					if (this.readyState == 'complete') domReady();
				};
__________________
_______________
[url]www.zebcon.com[/url]
jakobkegel is offline   Reply With Quote
Old 12-20-2007, 08:10 PM   Postid: 163687
Tom E.
Site Owner
 
Tom E.'s Avatar

Forum Notability:
1175 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Feb 2005
Location: Connecticut
Posts: 717
Re: Understanding servcer error message

Aaaaah, that looks much better; "+ src +" is outside of the single quoted strings.

I don't know if it'll work, but I guarantee it'll do something different (or at least give you a different error).
Tom E. is offline   Reply With Quote
Old 12-21-2007, 04:27 PM   Postid: 163708
Randall
Fuzzier than thou
 
Randall's Avatar

Forum Notability:
1187 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Nov 2002
Posts: 9,640
Re: Understanding servcer error message

Which reminds me: Has anyone seen a Lightbox-type script that resizes to accommodate the photo and the caption/button area all at once? I find that extra stretch after the photo has already loaded distracting and unnecessary -- sort of like the extraneous visual effects in Windows XP, most of which I have turned off. Otherwise, the effect is great.

Hmmm ... I just noticed this option on the Slimbox page:
Quote:
animateCaption: Boolean; set it to false to disable the caption animation.
Does the caption area still trail behind the image with that option disabled? I don't care if the caption itself arrives late, I just want to get the box resize operations over with in one shot.

It's interesting that the examples I've seen always have a white border around the image. That happens to be my preferred style, so I'm already predisposed to like the Lightbox effect.

Randall
__________________
Where's Randall?
Randall is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:30 PM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.