500 server error With only php pages

Status
Not open for further replies.

bainne

New Member
Messages
6
Reaction score
0
Points
0
My website is mainly a dynamic php based site. It was working fine up to today but now I am getting a 500 error message on only php pages. Even really simple ones. I didn't do anything to the site for a while so it couldnt be something I did.

When I tried .html files it worked fine.

Any suggestions??

Thanks
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
What version of PHP are you using?
 

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
Please log into your account management panels and upgrade your php to phpv2. This should solve your issues.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hey Chris73, not sure on account info, you can access it but i can't... just letting you know that some people already have PHPv2 and still getting this error, its because the forwarding for the SQL servers isn't working, meaning it's throwing us an internal server error...
 

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
The 2 people in question have the basic version. I see the stuff you can't. So when i say something that usually means i see that something with their account that needs changed to fix the error. ;)
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
I know, i was just letting you know... incase you come across a few that are having the error that have v2 already, such as me... and a few others that have posted here...
 

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
There are a few options to fix 500 errors...

1. Rename your .htaccess file to .htaccess.bk or remove it to see if that solves the issue.
2.Make sure you have the files chmod to 755
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Already checked both, they are both fine. =] I guarentee the issue is connecting with the MySQL database in my case, because it's only when i view my forums page, all other php pages and html pages are working. =]


YAY 400 POSTS!! =DDDD
 
Last edited:

Coonz

New Member
Messages
132
Reaction score
1
Points
0
yea...got rid of 500 error the first time i tried loading then timed out. Reloaded then it went back to 500 error.. i did everything but remove them...i went to try removing it and it was gone
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
To view it in the file manager, you need to turn on show hidden files.
 

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
Uh, I keep getting these too off of http://heavymetalman.x10hosting.com/html/untitled1.php. Does it have something the PHP version, if so, I'm not sure how to upgrade it to PHP v2 or even if that's available for free accounts. Please advise, thanks!
Upgrading to v2 PHP is available for free accounts and you can do it in your account panel that you login in to on the X10Hosting site.
 

Coonz

New Member
Messages
132
Reaction score
1
Points
0
your site shows up fine to me. what exactly was wrong?..On the other hand i am still having issues... Hellsheep i think you are right...Changed the php and still get errors.
 

HeavyMetalMan

New Member
Messages
13
Reaction score
0
Points
0
Thanks for the replies. It's when you hit the submit button at the bottom. Also, how would I upgrade PHP from the panel? I poked around but didn't see the upgrade PHP, can you please advise what icon it would be and how to upgrade? Thanks a lot.
 

Coonz

New Member
Messages
132
Reaction score
1
Points
0
go to www.x10hosting.com/account login scroll to the bottom and click on the radio button next to intermediate php type in a reason and then hit submit


Does your form go to a database or email?
 
Last edited:

HeavyMetalMan

New Member
Messages
13
Reaction score
0
Points
0
go to www.x10hosting.com/account login scroll to the bottom and click on the radio button next to intermediate php type in a reason and then hit submit


Does your form go to a database or email?

Thank you, put a request in for the intermediate PHP. I was trying to write to a formshandler.csv file in the root (tried to put in different places, so I put it there for now). Also, I'm using netobjects 10 just because I have it, any ideas on that and how it's related? Thanks again.
 

Coonz

New Member
Messages
132
Reaction score
1
Points
0
No problem, i've never used csv files nor have i used netobjects so i am no help
 

HeavyMetalMan

New Member
Messages
13
Reaction score
0
Points
0
No problem, i've never used csv files nor have i used netobjects so i am no help

Well, okay thanks. Perhaps someone else on this board can advise. Also, what do you use to script, do you it yourself or do you haven editor or program? Thanks.
 
Status
Not open for further replies.
Top