Vous êtes sur la page 1sur 5

Internal Server Error, SoftException, Is Writeable By Group, Wordpress http://www.colinmcnulty.com/blog/2009/03/22/recovering-from-internal-...

Colin McNulty.com: Crossfit Exercise, Workout and Zone Diet Blog


Fitness, Health, Diet, Crossfit, Weightlifting, Musings and fun. Please comment on what you read.

22.03.09
Recovering from Internal Server Errors
Posted in General Colin McNulty Stuff at 12:31 pm by Colin McNulty

You may have noticed that my blog has been offline for a couple of days. To be honest, I’m not sure how it happened, but I have discovered the cause. The
process of fixing it may prove beneficial to others, so I’ll detail it here. Here’s what the problem looked like:

As you can see, that’s of no help. So the first thing to check was whether the blog WordPress admin pages were working. Nope, same error there. So it’s off to
the trusty cPanel to check the server logs. Clicking the “Error Log” gave a lot more information:

Aha, now we’re getting somewhere:

SoftException in Application.cpp:252: File “/home/xxxxx/public_html/blog/index.php” is writeable by group

Now this makes no sense at first, what’s a SoftException and what’s a writeable group? Here’s my simple interpretation, a soft exception is an error, which in
this case isn’t to do with the file contents itself, but the real clue is the “[file] is writeable by group” bit.

Writeable is a permission (like read or execute) and group is one of the 3 types of user that you can set permissions for: Owner, Group and Public. So it
appears that our problem is to do with the file permissions for the index.php file, specifically that the Group set, has writeable permissions, which isn’t correct.
Now it’s off to the cPanel “File Manager” to check the permissions:

You can see the permissions are set to “0777“. Don’t worry too much about this, but you do need to know that this is wrong and it should be 755 in most cases.
In fact, it wasn’t just index.php that was set to 777, but every file and every folder! I can’t imagine what has caused this, but I assume it was a dodgy upgrade
script. Either way, now to fix it by setting the permissions back to 755.

I use an ftp plugin for Firefox called FireFTP which allows this. Selecting all the files and folders using Ctrl+A, right clicking and selecting “Properties (incl
contents)” and after a few minutes of processing, you get a permissions dialog box up:

1 of 5 12/1/2010 2:39 PM
Internal Server Error, SoftException, Is Writeable By Group, Wordpress http://www.colinmcnulty.com/blog/2009/03/22/recovering-from-internal-...

Just untick the Write boxes against the Group and Public users, and tick the “All Contained Folders” and “All Contained Files”

Click OK and wait for a few minutes whilst Fire FTP ripples through all your files and folders resetting the permissions, and Bob’s your uncle, Internal Server
errors and “is writable by group” errors are gone and the WordPress blog is back up!

www.splunk.com/ITSearch Engadget.com

Permalink

20 Comments »
1. Tonester said,

March 22, 2009 at 5:00 pm

Col, was the upgrade script a WordPress update or one of your own? Do you need someone to (expertly) test it for you next time? Cheers Tone

2. Colin McNulty said,

March 22, 2009 at 9:39 pm

Well I’m only guessing it was a dodgy script, but I had upgraded a few of my plugins recently. So no, it wasn’t one of my scripts.:p

3. Robin said,

April 11, 2009 at 8:56 pm

Thank you so much for posting this! I was having problems importing wordpress files and getting the Internal Server Error. Frustrating! But I did exactly

2 of 5 12/1/2010 2:39 PM
Internal Server Error, SoftException, Is Writeable By Group, Wordpress http://www.colinmcnulty.com/blog/2009/03/22/recovering-from-internal-...

what you did here and voila! Magic! Many thanks!

4. Colin McNulty said,

April 11, 2009 at 9:21 pm

You’re welcome Robin. A mention and link back is always appreciated, as it helps others with the same problem.

5. johnny said,

April 29, 2009 at 10:50 pm

thank you very much this fixed my site also

6. Christopher said,

June 15, 2009 at 6:11 pm

Thank you so much!! You just saved me endless hours of troubleshooting this. Your solution worked perfectly!!!

7. Steven said,

July 10, 2009 at 5:12 pm

Colin,

Thank you very much for posting this resolve! After reading your post and checking the errors in the log file, I had a “EUREKA!” moment and changed
the settings. In no time at all I was able to access the backend…..you’re a lifesaver! Thank you once again.

8. Colin McNulty said,

July 12, 2009 at 7:20 pm

I love getting these nice warm fuzzy feelings. All link backs welcome, which help others solve the same problem.

9. ALI said,

September 7, 2009 at 5:24 am

Hay thanks buddy was also facing such a problem


ad did as you said above .
its working now

10. Colin McNulty said,

September 7, 2009 at 5:24 pm

No worries Ali, glad you got it sorted.

11. nand said,

December 1, 2009 at 4:53 pm

thanks very much for posting this it really helped me solve my sites problem.

12. Colin McNulty said,

December 1, 2009 at 5:23 pm

A pleasure Nand.

13. Memperbaiki Internal Server Error | Blogging | a freelance journal said,

January 18, 2010 at 3:41 am

[...] yang terjadi. Tapi setelah berjalan-jalan di Google, akhirnya saya mendapat pencerahan, khususnya dari sini. Pengalaman ini ingin saya bagi di sini,
siapa tahu ada teman-teman yang mengalami hal [...]

14. Thank you! said,

March 20, 2010 at 9:35 pm

Thanks a lot!
You are a saver!

15. Julian said,

April 17, 2010 at 3:10 am

3 of 5 12/1/2010 2:39 PM
Internal Server Error, SoftException, Is Writeable By Group, Wordpress http://www.colinmcnulty.com/blog/2009/03/22/recovering-from-internal-...

Great! It worked!

16. Paola said,

May 12, 2010 at 5:12 am

Colin, thank you so much for posting this…the “famous 5 min wordpress install” was becoming a nightmare for me!

17. Leonardo said,

June 4, 2010 at 3:37 am

Thanks! I was going nuts about some unzipped apps in my folders.. saw the error in my logs.. some googleing and boom! here is the answer.

18. Psycho said,

August 3, 2010 at 5:37 pm

This guy deserve a donation. I was scared, but it was fixed. yayyyyyyyy!!!

19. Colin McNulty said,

August 3, 2010 at 9:20 pm

Lol, cheers Psycho. I’d settle for a back link.

20. Janckos said,

October 30, 2010 at 1:30 am

Gracias.

www.Yoplait.com/Delights Travel.AOL.com

Leave a Comment
Name (required)

E-mail (required)

URI

Microsoft.com/Windows ParentDish.com

Recent Posts
Movember Compilation – Colin McNulty
Movember – For Prostate Cancer
6 Week PDR Course Starts Monday
The Flinch is Faster than the Faint
What happens when you don’t react to Pre Contact Cues

Categories
Crossfit Workout & Exercises
General Colin McNulty Stuff

4 of 5 12/1/2010 2:39 PM
Internal Server Error, SoftException, Is Writeable By Group, Wordpress http://www.colinmcnulty.com/blog/2009/03/22/recovering-from-internal-...

Olympic Weightlifting
Self Defence
The Zone Diet Blog

Most Interesting Posts


Colin McNulty On Facebook
Cooking a Blue Steak
Golfers Elbow Cure
Intruder in my House!
Map of Crossfit Affiliates
Named Crossfit Workouts
Obsessive Crossfit Disorder
Olympic Lifting Competition

Tags

Aspire Fitness astronaut application bethnal green blank screen blog BWLA cats certification clean and jerk coach greg glassman Core Combatives Cross Extensor
Reflex Crossfit3Dcrossfit workouts & exercises diet dogs gladiators audition gym esa london manchester mark beck
hack health life expectancy

Movember nicole carroll Olympic Weightlifting Paleo Patrick Atteridge PDR Pre Contact Cues raw milk Self Defence snatch SPEAR sugar
nasa upgrade

video videos weight loss West Wythenshawe wordpress Zone Diet

Log in· Subscribe using RSS · See Comments using RSS · XHTML · CSS

5 of 5 12/1/2010 2:39 PM

Vous aimerez peut-être aussi