homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
What my host could be blocking
dynamic scripts doesnt load
zambala




msg:4560776
 9:18 pm on Apr 2, 2013 (gmt 0)

Hello,

I am not an expert in javascripts/ajax, but I know some html,css an php....

And I have a joomla blogs... with ajax extensions...

The problem is, that some scripts are supposed to do dynamical loading, and they never work on my current host...but they are loading just fine on my other hosting, on wamp, etc....I don't know what is going on and I believe the host is something blocking, but their only answer is "contact developer, we can't find anything"....:(
I believe they are still blocked something, but I can't tell what....I don't get even error messages, and firebug doesn't show any errors, just not loading and that's it....

The first case was with search results, which were supposed to load more, when scrolling down --> I got a blank page, and no errors, even I set error displaying to the max...

2 case - now - I have on home page intro from articles, that are loading fine, but when I set in a module the option - "to load more on click of button" - nothing happens...
----------------------------
but on both cases it works fine on wamp and another similar hosting....

 

daveVk




msg:4560782
 9:53 pm on Apr 2, 2013 (gmt 0)

Check that all domain references are to new host, in particular not localhost or 127.xxx.xxx.xxx or a local IP.

Retest on wamp on other than localhost.

Fotiman




msg:4560960
 1:07 pm on Apr 3, 2013 (gmt 0)

Use your browser's developer tools to examine the network traffic. That will tell you if you're getting 404 errors on the scripts, etc.

swa66




msg:4561019
 3:07 pm on Apr 3, 2013 (gmt 0)

The obvious one is that a webserver that's doing virtual hosts (more than one name on the same IP address) needs a Host: header with a name it recognizes. A web server running standalone can use any connection to answer - even when the host header is missing.

The easiest way to see what's going to the web server is to look at the traffic.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved