473,668 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

why won't this work on server (works locally!)?

I got this code off of javascriptsourc e.com, and it works like a charm
locally. I can't get it to work on the server. I need some coffee. I don't
_DRINK_ *coffee*! Can anyone check out the following link, and tell me why
it doesn't work?

Thanks.

http://www.spvision.com/pubimages/Di...obe/index.html

Jul 20 '05 #1
4 5368
Well, I must just be messin up again. I found another example online that
works fine, though I would still like to get this one to work for me. I'd
apreciate critique from any one, to help me understand what I did wrong.

Thanks.

By the way, here's a working example:
http://www.spvision.com/pubimages/Di...lideshow1.html

"ConTactMe" <co*******@NOSP AMspvision.com> wrote in message
news:OY******** **********@twis ter.tampabay.rr .com...
I got this code off of javascriptsourc e.com, and it works like a charm
locally. I can't get it to work on the server. I need some coffee. I don't
_DRINK_ *coffee*! Can anyone check out the following link, and tell me why
it doesn't work?

Thanks.

http://www.spvision.com/pubimages/Di...obe/index.html


Jul 20 '05 #2
"ConTactMe" <co*******@NOSP AMspvision.com> writes:
I got this code off of javascriptsourc e.com, and it works like a charm
locally. I can't get it to work on the server. I need some coffee. I don't
_DRINK_ *coffee*! Can anyone check out the following link, and tell me why
it doesn't work?


A good bug report includes:
- What you have done
- What you expected to happen
- What really happens
You have failed to provide the last two, so all we can do is look
at the page and wonder what is supposed to happen, and whether our
browser gives the same error as your own.

Since some of us have psychic abilities, we can help you anyway,
but please remember it in the future.

The oracle says: The case of the file names are important to the
server. Your files ends in ".JPG", but the links in ".jpg". Image
not found, error.

(File name case is the leading reason for things working locally, but not
when uploaded).
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3
ConTactMe hu kiteb:
I got this code off of javascriptsourc e.com, and it works like a charm
locally. I can't get it to work on the server. I need some coffee. I
don't _DRINK_ *coffee*! Can anyone check out the following link, and
tell me why it doesn't work?

Thanks.

http://www.spvision.com/pubimages/Di...obe/index.html


Do you have a file called "dis_globe%20(1 ).jpg"? It seems kind of an odd
filename, and regardless of your local OS, it is entirely possible that
your server has problems serving files with certain characters, such as
spaces or brackets, in them.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #4
Sorry. I'm pretty good at VB, and can determine what's supposed to happen
from that, and forget that not all languages offer the same clarity.

The code is supposed to load an image on page load, and on click of
Next/Previous buttons, should load the next/previous image in an array. It
is working on my local PC, but not online. What it does is display the image
placeholder, but no image - just the proverbial "red-X".

I copied this code from an online example, which I didn't want to name so as
not to cut down anyone else.

Thanks for the feedback. You were exactly correct about the file case being
the mess-up. I hate that, but oh well. Since the server rules, I guess I
gotta play by the server rules.

Thanks so much, once again.

"Lasse Reichstein Nielsen" <lr*@hotpop.com > wrote in message
news:oe******** **@hotpop.com.. .
"ConTactMe" <co*******@NOSP AMspvision.com> writes:
I got this code off of javascriptsourc e.com, and it works like a charm
locally. I can't get it to work on the server. I need some coffee. I don't _DRINK_ *coffee*! Can anyone check out the following link, and tell me why it doesn't work?
A good bug report includes:
- What you have done
- What you expected to happen
- What really happens
You have failed to provide the last two, so all we can do is look
at the page and wonder what is supposed to happen, and whether our
browser gives the same error as your own.

Since some of us have psychic abilities, we can help you anyway,
but please remember it in the future.

The oracle says: The case of the file names are important to the
server. Your files ends in ".JPG", but the links in ".jpg". Image
not found, error.

(File name case is the leading reason for things working locally, but not
when uploaded).
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors:

<URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html> 'Faith without judgement merely degrades the spirit divine.'

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6355
by: Oliver Spiesshofer | last post by:
Hi, I have a script that calls an fopen() on an external URL. I can run the script from the server as an url fine. When however the script should be run from crontab, it does not work. I get Warning: fopen(): URL file-access is disabled in the server configuration in
5
8014
by: Catherine | last post by:
I am having a problem viewing asp pages on iis version 5.1 xp pro. HTML pages are viewable on http://localhost but .asp pages are not. I have created a test program called timetest.asp with the following code: <html> <head> <title>Test ASP</title>
19
2051
by: Allen Thompson | last post by:
sorry for the simple question, haven't done this in a while. when I use the following script it keeps displaying the value of "x" like a string. for example, if I type the number 7 in the prompt, it displays the result as 721 instead of the answer I want which is 28. what am I doing wrong. hanks -Allen Thompson <html> <body> <script language="javascript"> var y=window.prompt();
33
3945
by: n00m | last post by:
import socket, thread host, port = '192.168.0.3', 1434 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2.connect((host, 1433)) s1.bind((host, port)) s1.listen(1) cn, addr = s1.accept() def VB_SCRIPT():
1
1201
by: Andy | last post by:
We have an ASP.NET application exported from MS Access 2003. I uses a series of queries to generate a page showing todays bookings. It works locally but does not work when we put it on a webserver (Running Server 2003). We have set the ASP.NET permissions on the appropriate folders. We have set the application to usesRemote = True. It loads the database ok, once we set usesRemote = True but it cannot load the queries from this...
14
3075
by: squash | last post by:
The following code works fine in Firefox/Netscape but wont work in IE. I suspect the problem is with one of these two simple functions. If there is no obvious error Ill paste the entire code. /////////////////////////////////////////////////////// function get_last_updated() { http.open( 'get', url ); http.onreadystatechange = handleHttpResponse;
2
1736
by: Admiral | last post by:
Hi, Anyone knows how this works? I have made a textbox called Editbox1 and 10 buttons. b0, b1, b2 etc. What i want to do is when i press a button, b1 for example, a number 1 appears into the textbox (editbox1) But i dont want to erase the other numbers that are already in the textbox.
2
2694
darksteel21
by: darksteel21 | last post by:
is there any one can help me....i have a problem in displaying showmodal dialog box in mozilla firefox browsers...showmodal dialog box wont work on firefox browsers but on IE it works fine..can anyone advice me on this?? Thanks...
5
3424
by: Corrie | last post by:
Hi, I've been trying to create a menu with animated mouseOvers using script instead of Flash. It works locally in Firefox but won't load at all in Safari (blank page). Then when I upload it to the server the mouseOvers stop working in Firefox. The broken file is at : http://www.chimpanzoo.co.uk/main_projects_no_flash.html The animations should work like the Flash version at this site: http://www.la-design.co.uk/english/html/main.html
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8799
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5681
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.