.php error?

Status
Not open for further replies.

enigmaboosting

New Member
Messages
28
Reaction score
0
Points
0
I tried to load my site (running smf 2.0 rc3) today after the recent server restorations and I noticed that mysql database was gone and I didn't make a backup (that was totally my fault). so i made a backup of my public_html folder and deleted everything smf related in it so i could reinstall. But then I noticed that any .php file will not load (such as "mysite.com/hello.php" would result in 500 internal server error) but .html files load fine someone please help and thanks for any support
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Good. A guinea pig.

You are on Boru. Could you give me the name of a php and a html file (I can see your domain name, you do not have to include that)?

I assume the .php file is 'vanilla' with no mySQL, so we can rule out that causing the problem.

Do you have a .htaccess file? Contents? Permissions on the .php file? Permissions on public_html ?

If you go to cPanel --> Logs --> Error Log ... does it list errors? (this is not the error_log that PHP puts in public_html ).
 

enigmaboosting

New Member
Messages
28
Reaction score
0
Points
0
yes i have a .htaccess file with full permissions my public_html has full permissions and what do you mean by contents? the error log shows nothing it is blank and I made another .php file with full permissions that simply says hello it is at enigmaboosting.tk/test.php
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. I asked what the permissions were. If you set them to 0777, it might cause the error.
2. Same with .htaccess. Without seeing it, I cannot tell if that might be the the problem.
3. Apache usually prints errors to Error Log, which could help track down the problem. It was worth a shot.
 

enigmaboosting

New Member
Messages
28
Reaction score
0
Points
0
ok is 0777 when you check all boxes? such as giving owner group and all users read write and execute abilities? cause that is how I have it set when I say full permissions I mean that I have all boxes checked and P.S. I have teamviewer
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
group and world should not have write abilities. They should have everything else. Owner should have all.
 
Last edited:

enigmaboosting

New Member
Messages
28
Reaction score
0
Points
0
thank you so much it works now i'll be sure 2 rep

---------- Post added at 05:45 AM ---------- Previous post was at 03:25 AM ----------

sorry for double post but now after I've installed smf it is doing the same thing again except when i chmod it to 755 which fixed it before I still get internal server error
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
The error has been resolved. However your website shows a 'table not found' error. Closing thread. If you have anymore problems, please open a new thread.
 
Status
Not open for further replies.
Top