March 15, 2010, 10:46 am
I was playing with Drupal 6 and some UberCart ticket module when I came across an error message where Drupal told me that it needed the IMAP PHP extension to be installed. Because I’m a nice guy I will share this command with you: [me@it ~]# yum install php-imap Now it’s installed, proof: [me@it ~]# [...]
March 9, 2010, 1:03 pm
I got this error when trying to change some configuration settings for my anti-virus (TrendMicro WFBS on Windows Server 2003) ‘Cannot edit LocalServerPort: Error writing the value’s new contents’ As usual, when something I don’t like happens on my computer or on other parts of my life, I ask my friend Google about it, the [...]
March 8, 2010, 6:29 pm
Here is a function for getting the URL of the page being processed in PHP, the function accepts one optional parameter $ignore_port_80 (boolean) to tell it whether it should ignore the port part of the url if the port used is 80: # Function function get_current_url($ignore_port_80 = true) { $is_https = $_SERVER['HTTPS'] === ‘on’; $show_port [...]
February 18, 2010, 9:10 pm
Question When I start vsftpd on my CentOs machine I get this error: Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file: anonymous_enable How can I fix it? Answer The option “anonymous_enable” is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the [...]
January 28, 2010, 1:15 am
There is the semicolon “;” that every one knows, and “\g” which is just the same: mysql > SELECT * FROM wp_links; mysql > SELECT * FROM wp_links\g Those are exactly the same, and will produce the same result, here is an example: mysql> select * from wp_links \g +———+———————–+————–+————+————-+—————+——————+————–+————+————-+———————+———-+————+———————–+ | link_id | link_url …
January 27, 2010, 11:05 am
A lot of web hosts have limited or nonexistent support for PEAR, the pear command will throw errors on most commands or not work at all, in order to install Symfony on such hosts you will need to download the Symfony package, copy Symfony files to your home directory and make them easily accessible from [...]
January 26, 2010, 8:42 pm

Today, whenever I used the built in Firefox search function and as soon as I typed the first letter of my phrase, Firefox suddenly crashed and displayed the well known Mozilla Crash Reporter window (image below). Sending a crash report to complain about my issue won’t help me (specially), and won’t help Mozilla people too [...]
January 22, 2010, 2:03 pm

How can I detect the current WordPress version? Log in to your admin Dashboard and scroll to the bottom of the page, you’ll find your version number on the rightmost spot of the footer. Or you can view the source of one of the pages of your blog and look for the meta generator tag: [...]
January 9, 2010, 9:15 am
The problem Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370 This can happen at any line and with any file, not only http.php at line 1370! Explanation Don’t worry if you get this error, there is nothing wrong with your server or hosting plan [...]
January 1, 2010, 5:49 pm
After the release of Opera 10.5 Alpha, it’s now be possible to rotate elements, this new release includes support for CSS3 rotation and other transitions and transforms, we may not longer need JavaScript for some basic transformations, have a taste: Download Opera 10.5 Alpha See the demonstration The demonstration doesn’t show rotation, so the CSS [...]