Sign In/My Account | View Cart  
advertisement

Article:
 RSS and AJAX: A Simple News Reader
Subject: JavaScript - Error Code 0 Received
Date: 2007-01-31 06:53:56
From: UIGuy


A question for those more knowledgeable than myself...


I run the demo on the site and it works.


I drop the four code files into Apache's htdocs folder and when I select the 'fetch rss feed' button, I get an Error Code 0 Received...


Thoughts? I am certain this is simple, but I can't figure it out...


Thanks...


UIGuy


BTW - System consists of Tiger Apache2 (MAMP) setup...



Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • JavaScript - Error Code 0 Received
    2007-01-31 08:58:07 UIGuy


    OK - On a whim I put the code on a machine running an UBUNTU LAMP setup and it worked fine.


    My original problem (with my mac setup) remains. If anyone has any ideas as to what I apparently need to change in the config, please let me know...


    Thanks - UIGuy

  • JavaScript - Error Code 0 Received
    2007-01-31 06:55:14 UIGuy


    I forgot to mention that I am using Firefox as my browser...

    • JavaScript - Error Code 0 Received
      2007-01-31 10:04:10 sobes

      I get the same exact error message if I try to open the file (i.e. not the URL) using my browser (both with MSIE and Firefox).


      Make sure you are accessing the page through HTTP; the address bar should say something like http://localhost/rssreader/rssajax.html. If it doesn't start with "http://" you're simply viewing the HTML file in your browser, so client-server communication is not possible.


      Paul S.

      • JavaScript - Error Code 0 Received
        2007-06-06 06:56:41 Wildbill

        I want to thank you very much for the info you listed here, I have been trying every thing possible to find out how to correct a Javascript error (0) for a day and half and all it took was to type HTTP:// before the address, why doesn't Java explain this in their site, Again thanks very much!!!! Bill


Sponsored By: