Categories
General

Troubleshooting: SoftException in Application.cpp:544

When I had problem with WordPress installation, it was about WordPress Admin Area (Dashboard) Redirect Loop, I got the solution. Today, I experienced different problem. Still related to WordPress.
Okey, I’m not going to tell you that the problem only happens for WordPress. It might happen for other platforms or applications. Read on the details, you’ll know what I mean.
When I enter WordPress dashboard (admin area), I got 404 error page. It seems that the wp-admin folder does not exist. But, it’s there. I toldĀ Lala about this, and she reminds me that I’m not the one who got this problem. (see WordPress Support Forum thread for details).
So, I checked the error log. If you’re using cPanel for your hosting account, you should find the error log there. And, I got this:

[Tue Dec 30 09:20:18 2008] [error] [client ip.address.here] SoftException in Application.cpp:544: Directory "/home/username/public_html/somefolder" is writeable by group

Okey, it’s about SoftException in Application.cpp:544. I searched for answer using Google, and I found a useful answer.

As the message says, the specified foldername has been made writable by group.
That suggests that your server’s apache configuration doesn’t allow you to make folders writable by group.
ie: you’ve got the wrong permissions set on one or more folders.
Check with your hosting company to find out what permissions you’re allowed to set.

The answer is not related to WordPress issue, but it’s a solution for the same problem. So, I checked the wp-admin folder permission again. It was 777. Okey, I changed it into 755… and voila! Problem solved.
Okey, everything is working great now. It’s a new lesson for me :)

Categories
General

Short URLs to Social Services Using Own Domain and .htaccess Redirection

These days, there are many social services we use. I use some of them. Bloggers or websites also provide some links on their blogs/websites to those social service. If links to our profile is easy to remember, that should be great. For example, it’s easy to remember my Flickr photostream using http://flickr.com/orangescale, or Twitter account (http://twitter.com/thomasarie).
But, what about Facebook, Technorati, or LinkedIn? My Facebook profile page is located here: http://www.facebook.com/people/Thomas-Arie-Setiawan/695771665. There is a Facebook application to create more memorable Facebook profile, page or group. They will be something like profile.to/thomasarie or groups.to/AnyGroupName.
Few days ago, @mahadewa and @huda mentioned about this. Anyway, there is .htaccess for redirection. So, why not using it to produce more memorable URLs for our profile? It’s easy. Now, I can have https://thomasarie.com/facebook (Facebook profile), https://thomasarie.com/linkedin (LinkedIn profile), and more.
Since [added later: I have my own domain name,] my web hosting uses Apache and supports .htaccess, it’s very easy to do it. I just put these lines in my .htaccess (in the root folder).

Redirect 301 /facebook http://www.facebook.com/people/Thomas-Arie-Setiawan/695771665
Redirect 301 /flickr http://flickr.com/orangescale
Redirect 301 /linkedin http://www.linkedin.com/in/thomasarie
Redirect 301 /openid http://openid.orangescale.com/thomasarie
Redirect 301 /technorati http://technorati.com/people/technorati/thomasarie

“Redirect 301” means permanent redirection. You can add as many redirection rules there. Just see the patterns there, pretty easy to understand, right? And, I think it’s easier to remember. It also nice if we use it for our business card :)