404 error?

Discussion in 'Programming' started by Athenry, Apr 17, 2012.

  1. #1
    So I'm creating a guest book/mini blog type application with ColdFusion.

    After writing it all, I thought it'd be working fairly well.

    However I go to the submit page (addpost.cfm), it works, I type in the details for a test post and click submit. It goes to the processing page and I receive an error:

    "The website encountered an error while retrieving http:// localhost:8500/blog/addpost_process.cfm. It may be down for maintenance or configured incorrectly."

    But I can connect to it, when I navigate to that URL without going through the addpost.cfm page it loads fine (although I receive an error because I haven't submitted any information from addpost.cfm).

    So why would this be happening? I know I haven't provided much information, I can't post any of the code here.

    Would it be a database connection error? Why wouldn't it be able to find addpost_process.cfm through addpost.cfm, but if I navigate to it manually it works?
     
    Last edited: Apr 17, 2012
    Athenry, Apr 17, 2012 IP
  2. Athenry

    Athenry Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The only think displayed in the error log is:

    Error","web-14","04/17/12","21:51:44","blog","'' The specific sequence of files included or processed is: C:\ColdFusion9\wwwroot\blog\addpost_process.cfm'' "
     
    Athenry, Apr 17, 2012 IP
  3. 137th Gebirg

    137th Gebirg Active Member

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    I'm concerned by your use of Port 8500 for this. HTTP is usually set up to serve on Port 80, 8080 or 8000. Is it possible that something in the server (either by your code or the web server itself) is trying to re-direct your browser away from 8500 and towards whatever the default port is? Also, I noticed a blank space in between "http://" and "localhost" in your quote above. That could cause some issues when the browser tries to parse your URL string.
     
    137th Gebirg, Apr 24, 2012 IP