Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Script Not Running On Server
07-24-2011, 08:27 PM #1
- Join Date
- Jul 2010
- Thanked 0 Times in 0 Posts
Script Not Running On Server
I recently coded a page that extracts certain nodes from an external XML file and prints a line of text on the webpage.
It is an HTML page that is strictly devoted to this purpose. There is no other information on it.
The page is currently stored locally on my computer, and when I open it, the script runs fine and outputs the correct text.
However, when I transferred this script over to my web server, and locate it that way, it doesn't run correctly. When I go to the page, it is supposed to display a line of text at the top. It does when I run the file from my local machine, however when I open it from the server, it doesn't display this text. (Same browser, same computer)
When I right-click and view the source, all the code is there, and the files are identical.
Any idea as to why the script runs correctly only when I open the HTML page locally?
I appreciate any help or advice.
07-25-2011, 12:35 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,040 Times in 1,013 Posts
Any chance of providing a link to that certain page?