Old-style upload plugin for WordPress

I just started working with WordPress and i found out that uploads weren’t working :-( . After making sure that the webserver user was granted upload permission (chown webservuser wordpressdir/wp_contents/uploads) and confirming the file paths it was still broken. While “Googling” for a solution, i found a nice plugin called Filosofo Old-Style Upload plugin that enables what they call ‘old-style’ uploading. I’m starting fresh with WordPress 2.3.3, so i don’t know about ‘old-style’ WordPress, but i do know that i want to have control over what I upload and where I upload it.

Anyways, i found the problem causing the “Is its parent directory writable by the server?” message. It was caused by PHP safe mode, so beware to check for php safe mode to be off if you want file uploads to your filesystem to work. My current hosting provider (servage.net) has PHP safe mode enabled by default.

I guess it would be a nice feature if on the upload page a warning would appear to tell you that due to PHP safe mode, file uploads might not be allowed, or is there a better way?

WordPress 2.3.3 validation errors

I’m very found of websites that are completely XHTML compliant. I found out that a default wordpress 2.3.3 installation is not XHTML compliant. After some research i found out that a validation error occurred due to two link sections with the same id-name. After removing a link section (by leaving one blogroll category), the validation error was gone, as expected.

Of course i can fix it myself, but it’s a good thing to first look around (“Googling” :) ) and see if you are not the only one with the problem and if there might be a solution at hand. Luckily, most of the time, there *is* a solution at hand, in this case thanks to other fellow WordPress users, like Andrew:

http://www.vayanis.com/2007/08/09/wordpress-22s-link-widget-validation-errors/

I chose the durable ‘My Links’-Widget-solution to prevent future 2.3.x updates from overwriting the ‘in-php-code’-hack. Let’s hope it get’s fixed soon, because multiple blogroll links sections should not break valid XHTML IMHO.

The issue is registered as a bug with WordPress trac: http://trac.wordpress.org/ticket/4287

The source i used can be downloaded here (rename to MyLinksWidget.php and use standard plugin deployment for WordPress) : MyLinksWidget.php. I hope this can help anyone.

Hello World

So, this would be the first post on my new blog :-) . I have an old blog, but the problem is, that it’s written in dutch, which makes it quite unreadable for a large part of the world.

I believe the idea of a blog is that it’s readable by a large part of the world, so it can be used to share ideas and knowledge with the rest of the world (at least to those who have unrestricted access to the Internet). I am grateful that i live in a country where we have Freedom of Speech (the Netherlands), but i am also aware that a large part of the human population on this planet has (at best) restricted access to (public) information. I think it’s wrong for governments or groups to (try to) “control” people in this way.

Anyway, my plan is to ‘dump’ all kinds of stuff here, where some of the stuff might be of interest to other people on the world. Because all posts can be assigned to a category, i find no need to split posts over different blogs (like personal stuff versus it-stuff).

Thank you WordPress.org for making this beautiful blog application and sharing it with the world.