473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

I got this code off of javascriptsource.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 5325
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*******@NOSPAMspvision.com> wrote in message
news:OY******************@twister.tampabay.rr.com. ..
I got this code off of javascriptsource.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*******@NOSPAMspvision.com> writes:
I got this code off of javascriptsource.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/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3
ConTactMe hu kiteb:
I got this code off of javascriptsource.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*******@NOSPAMspvision.com> writes:
I got this code off of javascriptsource.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/rasterTriangleDOM.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
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 ...
5
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...
19
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,...
33
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))...
1
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...
14
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. ...
2
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...
2
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...
5
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.