For some reason i had duplicate entries in my WP database. The ID field in wp_users table was tempered with and was changed to Non Auto-Increment to insert records on the will. I deleted all ID=null records manually and then…
Fix to Windows 7 Error “No such interface supported”
Yesterday i tried to install Internet Explorer 7 standalone version which eventually failed and didn’t work at all. Additionally it caused my Windows 7 Ultimate to produce “No such interface supported” and similar nasty errors when i clicked on main…
How to edit or download .htaccess from cpanel file manager where it is hidden
In my cpanel (dont know the version number) it didn’t show .htaccess file and hid it by default. If it happens and as a lazy person like me you dont want to do ftp like things to get the htaccess…
Keyword shortcuts to switching working files or buffers in jEdit
Hint: By buffers in jEdit it means working files (area), which is shown in the image below:
Briefly unavailable for scheduled maintenance. Check back in a minute
“Briefly unavailable for scheduled maintenance. Check back in a minute” If this message appears on you wordpress website for more than you anticipated if might mean that your wordpress update failed due to some reason. You can get rid of…
Changing HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT in worpress 3.3 header
I see <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” /> in my themename/header.php file. How do i changed HEADER_IMAGE_WIDTH and/or HEADER_IMAGE_HEIGHT??
How to remove html { margin-top: 28px !important; } from wordpress header
To remove html { margin-top: 28px !important; } from wordpress header go to /wp-includes/admin-bar.php and edit around line 672 (in WordPress 3.3) Alternatly you can add a remove_action filter in you active theme/functions.php file like this, as this is a…
“Warning: session_start() [function.session-start]: open(/tmp…”, a possible fix for oscommerce
For the following warning in oscommerce installation: Warning: session_start() [function.session-start]: open(/tmp\sess_5616cfa91211a8ef5ee94d09d21f7eb5, O_RDWR) failed: No such file or directory (2) in C:\wamp\www\catalog\includes\functions\sessions.php on line 67 As a solution they will suggest you to create a tmp folder in your root folder..
Conditional order by sorting using two fields in MySQL
Here’s the scenario. I have two fields in my “listings” table with help of which i wanted to sort (order by) results. First field is “activation_date”. It is the activation date of a listing. Second one is “featured” which stores…
How to check radio button on page load with jQuery
For example you have a set of radio buttons created dynamically with some web language like PHP and you expected one of them selected or checked on most of the times. If, none of them was checked somehow, you would…