|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
Error 404, Using Dreamweaver, HELP
02-22-2006, 04:28 PM
|
Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
Hello all
I am using Dreamweaver for my website designs, and have run into a problem.
I have created a form, and using hidden fields (BackURL, To, etc), basically, the form is a simple one with a few fields, and then a submit button which I have set so that it goes to a thank you page (thank_you.htm) and tested it from Dreamweaver (before actually uploading to www) and it all seems fine and works perfectly.
However, after uploading to the www via ftp browser, and going to the site and testing it for real, I get an error message page (the page cannot be found), as follows:
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following: - Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
- If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
- Click the Back button to try another link.
HTTP Error 404 - File or directory not found. Internet Information Services (IIS)
I am not sure what to do here, or how to resolve this. It works fine when I test it in Dreamweaver, but not once it is actually uploaded to www. Also, for my "To" hidden field, I have put my email address for the form details to be sent to, so as to test it first..and no e-mail comes through so obviously, along with the BackURL page not showing, the details are not being sent at all...
If this sounds confusing i'm sorry, but some help / any help, would be MUCHLY appreciated
Many thanks
arbez
|
|
|
|
02-22-2006, 04:42 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
try using the full url for the webpage...
http://yoursite.com/thank_you.htm
or make sure you have the right file type htm or html
try it out.
Is this site on the net? So i can see what's wrong wit it?
Last edited by jyoz22; 02-22-2006 at 04:47 PM..
|
|
|
|
02-22-2006, 05:00 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
Thanks, i'll try that...
Yes, the site is on the net, it is www.corduroylifestyle.com
when you get to the front page, click on c&f (corduroy&finch) the link on the left hand side, and then a new window will open, enter that site, and there is a link on top middle of the homepage, (join our mailing list), that is the form page..
thanks for your help mate
|
|
|
|
02-22-2006, 05:14 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
yea, true, it just worked for me - it was because of your initial advice, changing it to::::
http://yoursite.com/thank_you.htm
previously I had
http://www.yoursite.com/thank_you.htm
thanks for your help.....however though, the info still doesn't seem to be getting emailed to me.........neither yours nor mine came through to my email address (which i specified in the Hidden "To" field) Any ideas??
|
|
|
|
02-22-2006, 05:22 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
Not to worry.
try using this -- it's free
http://www.web4future.com/easiest-form2mail.htm
extract the zip file then open the form2mail.php file using notepad -- replace the e-mail address, and the redirect on the file. If you need more help than just ask me.
Last edited by jyoz22; 02-22-2006 at 05:27 PM..
|
|
|
|
02-22-2006, 05:27 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
|
don't use spaces in filenames
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|
|
|
|
02-22-2006, 05:31 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
there are no spaces in his file name.
there are underscores, they may not be seen because of the link is underlined.
Last edited by jyoz22; 02-22-2006 at 05:34 PM..
|
|
|
|
02-22-2006, 05:33 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
its not a space, its an underscore.....anyway, i've since changed it from thank_you to thanks......to avoid confusion..haha
hey thanks for your help, ill try that out and let you know how it goes, you've been awesome!!!
|
|
|
|
02-22-2006, 05:45 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
ok, i've edited the required details on my form2mail.php file, and uploaded it....and then i get this message....
Warning: file_get_contents(blockip.txt): failed to open stream: No such file or directory in C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php:43) in C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php on line 129
|
|
|
|
02-22-2006, 05:45 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
ps, i attached my php file....thanks
|
|
|
|
02-22-2006, 05:55 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
I don't know....
the file is ok. That's how i have mine. The problem is when your uploading it to the server.
If your webhosting service has an online filemanager then try to upload the file form2mail.php.
How are you uploading the file? FTP program - or how?
|
|
|
|
02-22-2006, 06:09 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
I am using a FTP browser, set up by the hosting company.....not sure why this is not working, as the actual mail goes through, and into my inbox with ALL details, so that is fine, it's just the thanks.htm page that isn't displaying, only that error on line 43......regarding GET....???
|
|
|
|
02-22-2006, 06:15 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
okay i see the problem ---
you need to change your <form> tag change it to this...
<form action="form2mail1.php" method="post" name="Mailing List" target="_self" id="Mailing List">
change the "get" to "post" try it now...
|
|
|
|
02-22-2006, 06:19 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
Oh yeah
don't forget to remove the hidden inputs on your page. Because if you don't then everytime someone subscribes to your mailing list you will get all that on your messages.
you probably will have to upload the blocktip.txt file also.
Last edited by jyoz22; 02-22-2006 at 06:24 PM..
|
|
|
|
02-22-2006, 06:39 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
Yea, i just figured (before you posted) that maybe that was the problem, but i've uploaded it and still its bringing the same error:
Warning: file_get_contents(blockip.txt): failed to open stream: No such file or directory in C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php:43) in C:\Webspace\april2005\corduroylifestyle\corduroyli festyle.com\www\form2mail1.php on line 129
?????????
|
|
|
|
02-22-2006, 06:41 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
Your tests, and both mine are going through to e-mail - so at least the info is going through, its just the thanks.htm file thats not displaying - instead that error message displays!!!
|
|
|
|
02-22-2006, 07:10 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
okay i think i've got it.
try this new version of the script i attached. This one should work. If it doesn't then i'll keep trying.
|
|
|
|
02-22-2006, 07:18 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 27
|
ok tried that, now getting the error 404 page, try it......
all i did was send that script that you sent me, to a dreamweaver file, then saved it as php, then uploaded that....was that right??
|
|
|
|
02-22-2006, 07:28 PM
|
Re: Error 404, Using Dreamweaver, HELP
|
Posts: 278
Location: Orlando, FL
|
Do these steps, This should fix everything...
1. Open the file i'm attatching now, save it as " form2mail1.php "
2. Upload the file to where you your server, and then it should work just fine.
If not than i'll keep trying. 
|
|
|
|
|
« Reply to Error 404, Using Dreamweaver, HELP
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|