Archive for the 'Wordpress' Category

Problems with mssql_connect() on IIS

Lately I’ve been reinstalling my Windows servers a couple of time due to some problems. I’m running both PHP (WordPress) and ASP.NET on my server. From my WordPress blog I sometimes connect to MS SQL to get some data and this time i could not get the MSSQL extension in PHP to work. I got [...]

pclzip_err_bad_format (-10) : unable to find end of central dir record signature

I got this error today when i was trying to upgrade some WordPress plugins. It turned out that my disk was full at my webhost. When i googled the error message i got lots of different answers so i just thought i would try to give some google juice to this solution.

Only show the sub menu when the parent is selected with the new wp_nav_menu in WordPress 3.0

I just spent two hours trying to hide the submenu for a menu item that is not selected in the new menu system in WordPress 3.0. First i found this post in the WordPress forums where someone had built a “Custom Walker” but it was for a slightly different scenario and it was also a [...]

WordPress file upload on IIS, 403, permalinks and all sorts of crap

I have just installed two servers with IIS 7 and IIS 7.5 and i have had all sorts of problems with IIS file uploads. Issues with permissions for PHP and WordPress. Apparently with PHP you must give your IIS_IUSRS (What is the diffrence between IIS_IUSRS and IUSR btw?)  user permission to both your temp direct [...]

Problems with Dean’s Permalinks Migration after WordPress 2.7

I updated to WordPress 2.7 when it was released and on the surface everything seemed to work just fine. Then today when i clicked a old link to one of my wordpress sites i got a 404 message. It turns out that Dean’s Permalinks Migration plugin stopped working after WordPress 2.7 (i assume at least, [...]

Generate expiring urls for Amazon S3 via a WordPress Plugin

I am a .net developer and haven’t done any PHP work ever. But i use WordPress and for some time now i been looking for a plugin that could generate a URL for Amazon S3 that is “signed” and will expire after a certain amount of time. I posted the question on both wordpress and [...]