If you’re in the business of translating text and coding websites you’ll most probably at some point be needing the utility called ‘xgettext’ but if it is not installed on your system you will need to install the entire set of tools called gettext from GNU.
If you’re on a CentOS system or equivalent and have yum installed simply run
yum install gettext
» Read more…
So I was messing around with jQuery‘s new little piece of sex – the jQuery Mobile Framework, when bam!
Call to undefined function json_decode() in /var/www/server/path/secret/h4x.php on line 56
Oh no! My PHP skills have failed me so I thought. But alas I had not made this magical mystical function up, it is of course a PHP Module, and soon to be included in PHP 5.2
After a quick bit of googling I came across an excellent tutorial for installing the said module, however I then ran into another problem after trying to execute ‘pecl install json’.
» Read more…
On the eUKhost blog, they just posted a new article about Virtuozzo Power Panel that comes with most of their VPS servers. The Power Panel is a great piece of kit and I’ve been intending on writing a little blog post for a while about how easy it is to use, not only for the features listed in the eUKhost blog but more aimed towards the ease of installing programs and applications at the operating system level (CentOS in my case).
» Read more…
For one of my domains, I noticed it was stuck as ‘suspended’ but was still functioning. This was due to my server going offline during a Plesk cp backup. There are two ways of fixing this:
If your domain is just that, a domain then run this command as root from your CLI
/usr/local/psa/bin/domain -u <full_domain_name> -status enabled
It should then tell you that it was successful, and hopefully your domain is back to normal. –
SUCCESS: Update of domain ‘example.com’ complete.
For domains that are part of a client, or if a client has been susspended simply run
/usr/local/psa/bin/client -u <login_name> -status enabled
It took me an hour or so to find out how to install which was a pain, so for anyone having trouble here is the code your need. Replace the wget with the latest version to install the most recent, up-to date version.
These instructions are for the CLI, terminal version so no GUI here.
# wget http://rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar xvzf rarlinux*
# cd rar
# make
# make install