"This Page Cannot Be Found" error

Discussion in 'HTML / PHP / JavaScript / CSS' started by markx, Feb 25, 2011.

  1. It can't be any of the commands so it might be some sort of directory mapping because I even deleted all of the content in the file and it still gives the same error.
     
  2. mjp

    mjp

    Try changing

    action=\"contact/MailingList_Submit.php\"

    to

    action=\"MailingList_Submit.php\"

    When the form is submitted the action fails because your script is looking for /contact/contact/MailingList_Submit.php.
     
  3. Thanks, that's a start.
    Sill the file MailingList_Submit.php errors though.
    i was doing some code removal and found out that the php 'header' command is causing it.
    Not sure how to make it work though.

    thanks
     
  4. I got it working. You were right about it being a url issue. I had the URL incorrect in the header statement.
     
  5. mjp

    mjp

    Cool, glad it's sorted out.
     

Share This Page