Current location: Hot Scripts Forums » Programming Languages » PHP » PHP Not Working

PHP Not Working

Reply
  #1 (permalink)  
Old 06-20-06, 03:11 PM
ProjectJustice ProjectJustice is offline
New Member
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Not Working

I own a website that has been using php includes on the front page, cutenews as the news program, and phpbb as the forum program. Suddenly, today when I go to look at my site, all of the php pages appear in code not the page. I decided to contact my host, and was told: "Unfortunately, troubleshooting your PHP script would be outside the scope of support. For further information and possible resolution to your issue we recommend consulting the help center and documentation for PHP located on the software creator's main website: (http://www.php.net)." I don't know how to do that or what even went wrong. I have only a basic understanding of php and have only been using php scripts and basic includes. If someone could please talk me through this, explain it to me, or anything else that would help it would be VERY helpful. Thanks in advance.

UPDATE: It just started working again, so I'm Ok. But it would still be helpful if someone could explain this to me in case it occurs again or what it is.

Last edited by ProjectJustice; 06-20-06 at 03:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-20-06, 05:41 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
Since this stopped and started on its own, it was likely a global issue with the hosting company (perhaps they were updating the PHP version or they had someone hack into the system and make changes that caused PHP to stop, such as removing the .php extension from the list of file types that are parsed by php.) If your control panel has a setting to enable/disable PHP support for your account, this could have gotten disabled, perhaps due to a corrupt database and/or someone hacked into the system and did this on purpose to disable the web sites...

Another possibility, given the unhelpful answer they gave you, was that someone who thought they knew what they were doing at the hosting company made a change, either deliberately or by accident. A helpful hosting company, even if it is something that is out of their control, should have responded that they would look into the issue, especially when told that PHP pages that were working suddenly started appearing as the actual PHP code (this is a very specific symptom that the PHP parser is not operating.)
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-25-06, 08:37 PM
ProjectJustice ProjectJustice is offline
New Member
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you for your help. I didn't change anything to screw it up and my site is very new and I don't have enemies, so I didn't think it was hacking. That's why I contacted my host and got that response. It started working again within 15-20 mins after getting a response from them, which leads me to believe that it was their mistake. I haven't had problems since and am hopeful It won't again. Thank you very much for the response and help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
not working on a php page pkcidstudio JavaScript 4 05-22-06 04:27 PM
PHP links not working.. blackrose Job Offers & Assistance 6 03-11-06 04:36 PM
Css and php not working together homeboy PHP 0 12-23-05 05:28 PM
PHP multi-dimensional array sorting issue aqw PHP 2 06-25-05 12:09 AM
Proven PHP Script not working on Windows 2000 server – any ideas? chimchim PHP 5 11-13-03 10:16 PM


All times are GMT -5. The time now is 07:45 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.