Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Error 404, Using Dreamweaver, HELP
Old 02-22-2006, 04:28 PM Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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
arbez is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-22-2006, 04:42 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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..
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:00 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:09 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
hey i tried the site it works fine for me.

Try going to the your page: http://www.corduroylifestyle.com/mailing_list.htm

and refresh the page.
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:14 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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??
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:22 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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..
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:27 PM Re: Error 404, Using Dreamweaver, HELP
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-22-2006, 05:31 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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..
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:33 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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!!!
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:45 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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
Attached Files
File Type: txt form2mail1notepad.txt (6.8 KB, 8 views)
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:45 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
ps, i attached my php file....thanks
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 05:55 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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?
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 06:09 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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....???
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 06:15 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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...
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 06:19 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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..
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 06:39 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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
?????????
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 06:41 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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!!!
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 07:10 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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.
Attached Files
File Type: txt form2mail2notepad.txt (6.9 KB, 7 views)
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 07:18 PM Re: Error 404, Using Dreamweaver, HELP
Average Talker

Posts: 27
Trades: 0
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??
arbez is offline
Reply With Quote
View Public Profile
 
Old 02-22-2006, 07:28 PM Re: Error 404, Using Dreamweaver, HELP
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
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.
Attached Files
File Type: txt finally.txt (6.9 KB, 9 views)
jyoz22 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Error 404, Using Dreamweaver, HELP

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 3.24486 seconds with 13 queries