Log In · Register

 
php is giving me 500 error
Maccabee
post 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.
 
 
Start new topic
Replies
synapse
post Aug 30 2009, 02:21 AM
Post #2


Live long and prosper.
********

Group: Staff Alumni
Posts: 10,142
Joined: Apr 2007
Member No: 514,926



500 is an Internal Server Error, have you made an .htaccess file? Are your error pages noted in that, since I don't think you can just add them the same way you do for normal site pages. I've never used php but maybe this info has to be the first thing on the index.php page...

CODE
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: