php is giving me 500 error |
php is giving me 500 error |
Aug 29 2009, 06:17 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
Im not sure why, but the php isnt working on my site. the other php page son my site are working but this page isnt if I name it index.html it works but not index.php. It shows the 500 error. But php displays html just like html pages do.
So whats wrong? its at josephbcohen.com. Ill be trying to fix it. |
|
|
|
![]() |
Aug 29 2009, 11:37 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
Should I show you the index.php code and the includes?
Well i will... index.php: CODE <?php $title = "Joseph Cohen"; $description = "The website of Freelancer, Joseph Cohen."; $keywords = "Joseph, Cohen, Joseph Cohen, Freelance, web, graphic, design, programming, social, jewsih, teenager"; include("includes/header.php"); ?> <center><br><br><br><img src="images/splash.png"> <br><a style="cursor:default;" href="#"><img border="0" src="images/noenter.png"></a></center> <?php include("includes/footer.php"); ?> header.php: CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title><?php echo $title; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="description" content="<?php echo $description ?>" /> <meta name="keywords" content="<?php echo $keywords ?>" /> <link rel="shortcut icon" href="/images/favicon.ico" /> <link rel="stylesheet" type="text/css" href="/stylesheet.css" /> </head> <body> footer.php: CODE </body></html>
|
|
|
|
jcp php is giving me 500 error Aug 29 2009, 06:17 PM
jcp bump. Its working on my localhost but not on my se... Aug 29 2009, 08:36 PM
mipadi QUOTE(jcp @ Aug 29 2009, 09:36 PM) bump. ... Aug 29 2009, 09:05 PM
jcp I have set an index.php. I havnt gotten any errors... Aug 29 2009, 10:33 PM
mipadi QUOTE(jcp @ Aug 29 2009, 11:33 PM) I have... Aug 29 2009, 11:13 PM
jcp click to enlarge
ill change the 500 error page so ... Aug 29 2009, 10:47 PM
tcunningham 500 is an Internal Server Error, have you made an ... Aug 30 2009, 02:21 AM
jcp There is an .htaccess file.
Any other takers? Aug 30 2009, 05:53 PM
allvanishing Check what the .htaccess contains. It might be set... Aug 30 2009, 10:14 PM
jcp its just blank. Aug 30 2009, 10:44 PM
medic Was the script working before hand?
If other PHP ... Aug 31 2009, 05:59 AM![]() ![]() |