Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 796309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:37:13+00:00 2026-05-14T22:37:13+00:00

I have created some JavaScript files and they run well from my Mac OS

  • 0

I have created some JavaScript files and they run well from my Mac OS X Server. Now I have put the same JavaScript files on my MS Server 2003. But they don’t work.

Do I have to install something on the server in order to get them work?

EDIT: (Sorry, I’m new and English is not my native language, so its hard for me to describe the situation well) I have downloaded this free Ajax Chat app. After enabling PHP on my Mac, it worked. But on my MS Windows 2003 Server it doesn’t work. I installed PHP and Apache on Windows. PHP and Apache work well. But everything that uses JavaScript (such as drop down menus or pop-up windows) doesn’t work.

EDIT2:
Ok, this is what I get with Firebug:

invalid XML markup
[Break on this error] var chat_path = <?="'$chat_path'"; ?>;\n
indicator (Zeile 22)
imageButtonAdd is not defined
[Break on this error] <script type="text/javascript"> imageButtonAdd('submit_send'); </script>
indicator (Zeile 70)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}colors.png'";?>;\n
indicator (Zeile 121)
imageButtonAdd is not defined
[Break on this error] <script type="text/javascript"> imageButtonAdd('submit_login'); </script>
indicator (Zeile 164)
imageButtonAdd is not defined
[Break on this error] <script type="text/javascript"> imageButtonAdd('submit_glogin'); </script>
indicator (Zeile 193)
dropdown_attach is not defined
[Break on this error] if (document.getElementById("room_pare...om_child", "hover", "y", "default");
indicator (Zeile 207)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 227)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 232)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 237)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 242)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 247)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 252)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 257)
invalid XML markup
[Break on this error] img.src = <?="'{$chat_path}smileys/{$pathinfo['basename']}'";?>;\n
indicator (Zeile 262)
chat_api_onload is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...rg/TR/xhtml1/DTD/xhtml1-strict.dtd">
indicator (Zeile 1)
popup_show is not defined
[Break on this error] javascript:popup_show('smiley',%20'smi...20-122,%20%20-210,%20'chat',%20false);
javasc...false); (Zeile 1)
popup_show is not defined
[Break on this error] javascript:popup_show('smiley',%20'smi...20-122,%20%20-210,%20'chat',%20false);
javasc...false); (Zeile 1)
popup_show is not defined

EDIT3: This is what I get on every browser (IE, Firefox, Safari) on Windows:

Windows
(source: img.i7m.de)

And this is what I get on my Mac:

Mac
(source: img.i7m.de)

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:37:13+00:00Added an answer on May 14, 2026 at 10:37 pm

    When you say “… everything that uses JavaScript … doesn’t work”, what behavior do you see? Are you sure the required JavaScript files are loading? What browser are you using? Do you see any errors? Does the server side functionality work and this is just a client side issue?

    I would highly recommend using Firebug to make sure the JavaScript files are indeed loading, and check the Firebug console for any JavaScript errors. Edit your question and post any JavaScript errors you see, and that will aid people in answering your question.

    EDIT: Based on the JavaScript errors you posted, I see two things:

    1. var chat_path = <?="'$chat_path'"; ?>;. If Firebug/the browser can see PHP tags, it means PHP is either not running or not properly configured. View the page source and see if you see any <?php tags. If you do, PHP isn’t running. It could just be the case that PHP short tags are off, and those might need to be turned on.
    2. imageButtonAdd is not defined. This means that the JavaScript function imageButtonAdd is, well, not defined 🙂 Most likely this is because the JavaScript file for the chat application is not installed properly. View source and look for any <script src="..."> tags and make sure all URLs are valid. Check Firebug’s “Net” tab and see if any JavaScript includes are generating 404 Not Found errors.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

for example: I have created one javascript property array model with some properties like
I have created some tests in my WPF application. Right now I am working
So to stay organized, I have several javascript files, even though they all (in
I have some external Javascript files in my GWT app that I only want
I have some javascript code that creates an img tag with a mouseover callback,
I have some Javascript code that creates 2 arrays: One for Product Category and
I have been using some Javascript to create a text field once an certain
I have some code that dynamically creates a new button through JavaScript that when
I have created some JQuery that will expand a div 'popup' on hover and
I have created some python code which creates an object in a loop, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.