Category: Hacks
Transposh translation filter and Yoast sitemaps compatibility
Transposh Translation Filter is a seldom updated, but very useful plugin for running multilanguage sites on WordPress. It is free, it is very intuitive to use and so far, does not appear to slow the site down too much. You can find the plugin here. Due to some differences with WordPress, the version on WordPress…
Quick fix for curl: symbol lookup error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol
So you’re trying to install something or compile something or you have curl installed, but it won’t work, because…. # curl -V curl: symbol lookup error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol: nghttp2_http2_strerror Or it may be some other package doing this. If you land up on this obscure blog searching, chances are you already have been pulling…
How to fix mixed content warning if page loads insecure content in spite of #WordPressHTTPS? #W3TC
So I had been confounded. I used to have a sweet green securely loaded blog for ages and I didn’t know what I had changed to make it start throwing up mixed content warnings. I didn’t recall changing ANYTHING on the blog at all. Yet, when pages were accessed over https, they loaded assets over…
Ubuntu 13.10 internet very slow “nothing helps” fix
I installed Ubuntu 13.10 on my laptop and went nuts with the laggy laptop. I have 2gb memory on it, which shouldn’t be causing such a comatose experience. I installed drivers, tweaked memory, did a hundred things, nothing helped. Digging around in the innards, I found that /etc/resolv.conf was very strange and was showing localhost…
Need to recover submitted form data if page crashes? That long comment?
You haven’t lived on the internet till you have written a long comment on a subject you fee strongly about, only to hit submit and lose it. Or it was a carefully crafted job application. Perhaps the site threw an error, perhaps the site is down, or your internet connection. Or the page is simply…
Ioncube with Nginx+php-fpm giving 502 gateway error SOLVED
Ubuntu 13.10 seems to be having trouble with ioncube and php-fpm. My earlier guide on loading ioncube may not work for you anymore. This is really strange and I have no idea why no one seems to mention it, but if you are getting frustrated trying to install the ioncube loader on php-fpm, just ignore…
Ubuntu network slow RTL8101E/RTL8102E PCI Realtek
I recently reinstalled Ubuntu, and found that my network was agonizingly slow. Installing the driver from the Realtek website fixed this. My card is RTL8101E/RTL8102E PCI Express Fast Ethernet controller, but I imagine this will work for other versions too. The problem is that the default driver does not support this card well. Blacklist it.…
Upload Error: client intended to send too large body
If you are using Nginx and are unable to upload files exceeding 1MB or so (most common) and get your error log shows “client intended to send too large body”, then here is the fix. Edit your Nginx configuration file (which on Debian/Ubuntu will be found at /etc/nginx/nginx.conf) and edit the setting for client_max_body_size to something…
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
If you are trying to upgrade, and suddenly start getting errors like: Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature Here are some things to check. This basically means that WordPress is not able to unzip the downloaded packages to install the upgrades. Check to see available space on…
Free space in your WordPress install by deleting old image sizes
If you change your theme often, your uploads folder will accumulate thumbnails of images in many sizes that you no longer use. This consumes disk space unnecessarily. I wish someone coded a plugin for this, but failing that, a handy way to do this via SSH is: find . -name *-250×250.* | xargs rm -f…