| | #1 | |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
I am making a new site and I have good knowledge in HTML but PHP is where I'm not too good. This is my site: Official Review - Contact See when you try send, it comes up with an error This is the form.php file:
| |
|
Chill.
| ||
| |
| | #2 |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
Anyone? Pleaseeeeeeee
|
|
Chill.
| |
| |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
|
Just tried it, I'm getting a "500 Internal server error". You need to check the error logs of your webserver, most likely there will be some more information about the error. You could also try this: Replace the current code in form.php with... <?php var_dump($GLOBALS); ?> If you still get the error, it's not your code, it's the server configuration. Btw, I noticed that you are not doing any input validation... |
| |
| | #4 | |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
Ok I changed the code to that and now I get this:
Is it my server? What should I do? | |
|
Chill.
| ||
| |
| | #5 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
|
If it's not your server configuration then it might be something about your karma. Search within... and check the error logs of the server as well. Will this script run? <?php phpinfo(); ?> |
| |
| | #6 | |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
This is what is in my error logs:
| |
|
Chill.
| ||
| |
| | #7 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
|
That's it? There should be errors from today, since we had a couple of them already.
|
| |
| | #8 |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
Yeah that's all I got. I just wanna get it fixed lol
|
|
Chill.
| |
| |
| | #9 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
|
could be a corrupt .htaccess-file... u host it urself (dedicated/vps) or u have a "normal" web hosting account?
|
| |
| | #10 |
| Check The Abstract. War Room Member Join Date: 2010
Posts: 435
Thanks: 9
Thanked 137 Times in 42 Posts
|
I'm with hostgator. I just wanna get this sorted
|
|
Chill.
| |
| |
|
| Bookmarks |
| Tags |
| contact, error, form |
| |