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 8878691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:46:26+00:00 2026-06-14T19:46:26+00:00

I run a sub-site at my work, and while my live site is on

  • 0

I run a sub-site at my work, and while my live site is on the same “main server” as the company’s main site, my dev environment is hosted on a separate server.

For some reason my dev site is unable to access a specific JavaScript file that is hosted on the “main server”. All of the other JavaScript files, like jQuery, and jQueryTools can be accessed, but main.js cannot. My only guess would be because it is a custom JavaScript file created by our head web developer, but I don’t know why that would make a difference. (Cross-site scripting limitations?)

I link to it just like I do with all the other JavaScript files, right after our main wrapper (it’s the 3rd from the bottom):

<script type="text/javascript" src="ui/2009/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ui/2009/js/jquerytools/1.2.2/jquery.tools.min.js"></script>
<script type="text/javascript" src="ui/2009/js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="ui/2009/js/main.js"></script>
<script type="text/javascript" src="ui/2009/js/jquery.jgfeed-min.js"></script>
<script type="text/javascript" src="ui/2009/js/hr.js"></script>
  • 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-06-14T19:46:27+00:00Added an answer on June 14, 2026 at 7:46 pm

    To troubleshoot follow these steps:

    • Check whether the file ui/2009/js/main.js is actually in that
      location, if so be sure it doesn’t have uppercase characters (the
      server OS may be case sensitive)

    • Check whether the file main.js has the same permissions (i.e. chmod) as the other .js files (e.g. 755)

    • Check whether the file main.js is actually accessed (how do you know the file is
      not accessed from your page in the dev server? It may be accessed but not working because of variable
      conflicts with the .js you previously load, for instance). To do so,
      you can a) check the server logs and see if you have a “not found”
      error referred to the main.js file b) in main.js delete temporarily all
      the content and print some simple output (either to screen with
      document.write or to the javascript console with console.log)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fairly simple block of code. Sub Run(Name) on error resume next
When I run... perlbrew switch perl-5.16.0 ...I get... A sub-shell is launched with perl-5.16.0
I have event Button that creates text box in run time. Private Sub Button1_Click(ByVal
We've got a web server which has been running a number of separate applications
So a site I work on is migrating to a new data feed. The
So I've been running into some speed issues with my site which has been
this code was just working! but for some reason it stopped to work now.
I have this two sharepoint web application that resides on the same server with
I run a query sometimes and it just hangs. I go look at processes
I run command: sudo apt-get install phpmyadmin to install phpMyAdmin. Then I enter address:

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.