Admittedly, I'm brand new to this. But I made my first form and put it online. The problem is when I "submit" I get this error, "Not Found
The requested URL /process.php was not found on this server..
What do I do next?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What's the email address you used? It may be that the script doesn't recognize it as a valid address because of the way addresses are processed. For example, I used an email address of 4@5.6 and received "invalid email address" because the script doesn't allow numeric characters after the dot. By the look of it, the script doesn't allow for other non-alphanumeric and accented international characters, so a tilde or other punctuation mark could cause a problem.
Please be patient when asking for help - this is a very low-traffic forum and it may take a few days to get a response.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the attempt at help. He email address I used was my usual one on my server. vin@montellomarketing.com. I don't think that's the issue.
Here's where I think the issue might be... and how I think that.
Okay, I think it has to do with the directory my html goes into as opposed to the one that has the php files. I think it's this because I tried moving my html form page to other directories and at one point the form worked (emailed me the info). My problem is somehow putting a path to the right php files into my script, so my final html page can reside in my publich_html folder with the rest of my pages.
I can't seem to find the correct format for guiding that script to the right place, to it actually does what it's supposed to do.
Does this make sense? I'm a total idiot when it comes to code or anything like that.
Someone please help out with an answer, while I continue with trial and error to fix it myself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay... now things have changed. It gets curiouser and curiouser.
I uninstalled the script and began over with a clean install, thinking maybe my constant fiddling with it screwed something up.
Okay... so I created another form, filled it out and submitted it. This is the error I got:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@montellomarketing.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
THEN I WENT TO THE SERVER LOG AND FOUND THIS:
[2006-10-27 18:18:00]: error: file is writable by others: (/home/montello/public_html/formgen/use/ClientContact/process.php)
Someone please help figure this out for me!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have had the same problem with error after submit
error: file is writable by others: (/home/.../public_html/formgen/use/.../process.php)
Change file mode from 777 to 755 for process.php. Switch off 'W' attribute.
My hoster doesn't allow to run php scripts with 777 attributes for folder and php files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Permissions of 777 are very dangerous. The first 7 indicates the owner can read/write/execute a file. The second 7 indicates anyone in a predefined group can read/write/execute a file. The third 7 indicates anyone in the world can read/write/execute a file.
As you can see, if anyone can read/write a file or folder, anyone can edit or delete that file or folder. I highly discourage the use of 777 for file permissions. Folder permissions are somewhat different in that sometimes they require 777 permissions. My best suggestions is that you discuss your application (formgen) with your host. Explain to them what your problems are and what you are attempting to do then ask what the minimum set of permissions are required to make it all work. Beyond that here is what I use.
744 for graphics and html files
755 for php files
777 for folders with .htaccess files in every folder
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Admittedly, I'm brand new to this. But I made my first form and put it online. The problem is when I "submit" I get this error, "Not Found
The requested URL /process.php was not found on this server..
What do I do next?
Okay, I fixed that problem. It was a path issue. Okay, now another issue. I hope someone can help.
The form is setup to email me on submit. But instead all I get is an error saying "The following errors occured while processing your form input.
* Invalid email address entered"
But the email address I send to is a good one... mine. Can anyone tell me what's wrong?
Is no one here helping out noobs with answers? If not, can someone point me to a place where I can find these answers????
What's the email address you used? It may be that the script doesn't recognize it as a valid address because of the way addresses are processed. For example, I used an email address of 4@5.6 and received "invalid email address" because the script doesn't allow numeric characters after the dot. By the look of it, the script doesn't allow for other non-alphanumeric and accented international characters, so a tilde or other punctuation mark could cause a problem.
Please be patient when asking for help - this is a very low-traffic forum and it may take a few days to get a response.
Thanks for the attempt at help. He email address I used was my usual one on my server. vin@montellomarketing.com. I don't think that's the issue.
Here's where I think the issue might be... and how I think that.
Okay, I think it has to do with the directory my html goes into as opposed to the one that has the php files. I think it's this because I tried moving my html form page to other directories and at one point the form worked (emailed me the info). My problem is somehow putting a path to the right php files into my script, so my final html page can reside in my publich_html folder with the rest of my pages.
I can't seem to find the correct format for guiding that script to the right place, to it actually does what it's supposed to do.
Does this make sense? I'm a total idiot when it comes to code or anything like that.
Someone please help out with an answer, while I continue with trial and error to fix it myself.
Okay... now things have changed. It gets curiouser and curiouser.
I uninstalled the script and began over with a clean install, thinking maybe my constant fiddling with it screwed something up.
Okay... so I created another form, filled it out and submitted it. This is the error I got:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@montellomarketing.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
THEN I WENT TO THE SERVER LOG AND FOUND THIS:
[2006-10-27 18:18:00]: error: file is writable by others: (/home/montello/public_html/formgen/use/ClientContact/process.php)
Someone please help figure this out for me!!!
I just went to the Montello Marketing website and tried the form and it worked fine for me - so I take it you have your permissions issue worked out?
I have had the same problem with error after submit
error: file is writable by others: (/home/.../public_html/formgen/use/.../process.php)
Change file mode from 777 to 755 for process.php. Switch off 'W' attribute.
My hoster doesn't allow to run php scripts with 777 attributes for folder and php files.
Permissions of 777 are very dangerous. The first 7 indicates the owner can read/write/execute a file. The second 7 indicates anyone in a predefined group can read/write/execute a file. The third 7 indicates anyone in the world can read/write/execute a file.
As you can see, if anyone can read/write a file or folder, anyone can edit or delete that file or folder. I highly discourage the use of 777 for file permissions. Folder permissions are somewhat different in that sometimes they require 777 permissions. My best suggestions is that you discuss your application (formgen) with your host. Explain to them what your problems are and what you are attempting to do then ask what the minimum set of permissions are required to make it all work. Beyond that here is what I use.
744 for graphics and html files
755 for php files
777 for folders with .htaccess files in every folder