Webspace & Domain Names This is a discussion on, PHP showing a 500 error within the Freedom2Surf forum; No changes on my behalf, so I suspect either a broader systemic problem or some foul play. My f2s hosted ...

Reply
 
LinkBack Thread Tools
Old 20-02-2009, 09:59 AM   #1
Tiscali User Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
PHP showing a 500 error

No changes on my behalf, so I suspect either a broader systemic problem or some foul play. My f2s hosted domain (and blog spcifically) is showing a 500 error on this url http://www.bellebouche.com/blog/

Internal Server Error

File "/websites/LinuxPackage04/be/ll/eb/bellebouche.com/public_html/blog/index.php" is writeable by others
suPHP 0.6.3

I've loogged a support ticket with f2s - anyone else have any issues or insight?
adrianfoden is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-02-2009, 10:14 AM   #2
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,760
Thanks: 1
Thanked 6 Times in 6 Posts
Re: PHP showing a 500 error

My PHP scripts are fine as long as I don't set the file permissions so other users have write access. Maybe they changed their setup if its only started happening recently. If you change the file permissions for index.php in your FTP client so only the owner has write permissions (so it's 644 or -rw -r--r--), I think that should fix it.
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-02-2009, 12:06 PM   #3
freedom2surf Staff
 
Antonio_f2s's Avatar
 
Join Date: May 2008
Posts: 449
Thanks: 3
Thanked 65 Times in 53 Posts
Re: PHP showing a 500 error

I am not aware that we have made any changes but I am waiting for confirmation on this just in case we have installed any security patches.

Anyway, the advise from Adam should fix your issue. If it doesnt, please let me know and I'll have a look for you.
__________________
Antonio

http://www.freedom2surf.net

Last edited by Antonio_f2s; 20-02-2009 at 12:07 PM. Reason: typo
Antonio_f2s is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-02-2009, 12:35 PM   #4
Tiscali User Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP showing a 500 error

Adam and Antonio - thanks for your input.

I'd not made any changes of late - what was working last night was no longer working this morning. I'm using an off-the-shelf wordpress blog under http://www.bellebouche.com/blog path. The default starter page was index.php

I've checked the CHMOD attributes for the /blog/ folder (correct) and the index.php within it. I'll attempt to flex them up/down as per the advice and report back.
adrianfoden is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-02-2009, 04:31 PM   #5
Tiscali User Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP showing a 500 error

Edit for complete change in fortunes

Changing the permissions on the containing folder to 755 and the original file to 644 has partially brought it back to life.

I say partially as I'm still missing some component parts but again these look like forther permissions changes are required to some elements. It's fixable I think... but I am puzzled why it's suddenly changed and PHP is requiring these elemental changes.

Last edited by adrianfoden; 20-02-2009 at 05:09 PM.
adrianfoden is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP versions php4ever Webspace & Domain Names 4 31-12-2009 07:52 PM
DIY "guide" to resolve the POP3 error Antonio_f2s E-Mail 11 23-01-2009 12:25 PM
New server: PHP or FP extensions NOT BOTH kcider Webspace & Domain Names 5 09-02-2007 09:37 AM
Creating dirs with PHP or Perl scripts... Noiz Webspace & Domain Names 5 28-07-2005 11:54 AM
SQL Error : 1030 Got error 28 from table handler humet Webspace & Domain Names 6 01-12-2004 07:59 PM


All times are GMT. The time now is 05:40 PM.