Tag Archive wordpress

Byq292u

WordPress/Tweetmeme

Installed tweetmeme buttons on one of my sites.
Bit of a nightmare!
First, they didn’t appear at all. Tried their solution for that. (wp-footer) No good.
Tried inserting javascript directly. No good.
Traced problem to “mod_rewrite” rules used by supercache.
Removed rules (not used anyway), and NONE of my post links work šŸ™
Reset permalinks settings, (-> default, then -> custom) which rewrites the htaccess file, and we’re up.
.. and we have tweetmeme buttons. Excellent!


Byq292u

WordPress/Tweetmeme

Installed tweetmeme buttons on one of my sites.
Bit of a nightmare!
First, they didn’t appear at all. Tried their solution for that. (wp-footer) No good.
Tried inserting javascript directly. No good.
Traced problem to “mod_rewrite” rules used by supercache.
Removed rules (not used anyway), and NONE of my post links work šŸ™
Reset permalinks settings, (-> default, then -> custom) which rewrites the htaccess file, and we’re up.
.. and we have tweetmeme buttons. Excellent!


Byq292u

WordPress/Tweetmeme

Installed tweetmeme buttons on one of my sites.
Bit of a nightmare!
First, they didn’t appear at all. Tried their solution for that. (wp-footer) No good.
Tried inserting javascript directly. No good.
Traced problem to “mod_rewrite” rules used by supercache.
Removed rules (not used anyway), and NONE of my post links work šŸ™
Reset permalinks settings, (-> default, then -> custom) which rewrites the htaccess file, and we’re up.
.. and we have tweetmeme buttons. Excellent!


Byq292u

Wordbay problem.

Inexplicably, Wordbay stopped working across all my sites on unlimited last week.
Not only that, but it took out all sites with it installed.
Had to rename wordbay folder via FTP to get back in.
Quick e-mail to Mark Daniels (wordbay developer), and he’s as puzzled as me.
It does point to a change at Unlimited, but they say no..

Anyway, It works if I switch off geo-location. Mark’s changing the code for version 1.6, out soon.

10/10 for support, Mark!


Byq292u

Wordbay problem.

Inexplicably, Wordbay stopped working across all my sites on unlimited last week.
Not only that, but it took out all sites with it installed.
Had to rename wordbay folder via FTP to get back in.
Quick e-mail to Mark Daniels (wordbay developer), and he’s as puzzled as me.
It does point to a change at Unlimited, but they say no..

Anyway, It works if I switch off geo-location. Mark’s changing the code for version 1.6, out soon.

10/10 for support, Mark!


Byq292u

WordPress 3.1.2 Upgrade

Upgraded all sites to wordpress 3.1.2 last week.
Tested all sites: OK.
Of course, on Saturday, I find that one of the sites has fallen over with a memory allocation error in wp-db.php, which is in the WordPress core directory..

Quick e-mail to unlimited support who confirm that nothing has changed at their end.

So that means it’s either a problem with 3.1.2, or one of the plugins. Only solution: disable all plugins, and re-enable one by one, testing site as we go.

Eventually traced to “efficient related posts” plugin.
Site back up and running in a few minutes. Sorted.


Byq292u

WordPress 3.1.2 Upgrade

Upgraded all sites to wordpress 3.1.2 last week.
Tested all sites: OK.
Of course, on Saturday, I find that one of the sites has fallen over with a memory allocation error in wp-db.php, which is in the WordPress core directory..

Quick e-mail to unlimited support who confirm that nothing has changed at their end.

So that means it’s either a problem with 3.1.2, or one of the plugins. Only solution: disable all plugins, and re-enable one by one, testing site as we go.

Eventually traced to “efficient related posts” plugin.
Site back up and running in a few minutes. Sorted.


Byq292u

WordPress 3.1.2 Upgrade

Upgraded all sites to wordpress 3.1.2 last week.
Tested all sites: OK.
Of course, on Saturday, I find that one of the sites has fallen over with a memory allocation error in wp-db.php, which is in the WordPress core directory..

Quick e-mail to unlimited support who confirm that nothing has changed at their end.

So that means it’s either a problem with 3.1.2, or one of the plugins. Only solution: disable all plugins, and re-enable one by one, testing site as we go.

Eventually traced to “efficient related posts” plugin.
Site back up and running in a few minutes. Sorted.


Byq292u

Internal Server Error 500

Been getting this error intermittently across multiple sites and multiple hosting.
Last night, I had two sites down for a couple of hours.
Apparently, WordPress is trying to access something that isn’t available, and rather than timing-out, it’s crashing.
WP forums has lots of conflicting info about this.
It’s either a problem with dodgy plugins/themes, a problem with mod_rewrite rules in htaccess, or just Godaddy being crap. Well I’m not with Godaddy.

The only thing that seems to be consistent is that it started happening after WP 3.01.
I’ve just upgraded to 3.1.. so we’ll see what happens..


Byq292u

WordPress: "you do not have sufficient permissions to view this page"

I thought I’d upgrade security on some of my sites last week.
I installed a plugin called “wp-security-scan”, which made some sensible suggestions:
1. Change the table prefixes from “wp_” to something else (and update wp-config)
2. Rename the admin user

It the offered a button that said “rename now..”
So I did.
The plugin then reported that it couldn’t update wp-config. So I did that manually.

*BANG* – The sound of the door slamming on the admin panel.

I couldn’t log in “you do not have sufficient permissions to view this page”..

Looks like a file rights issue, right? Wrong. Nothing odd about the file rights or ownership (according to Jab Web Support).

So I set about rolling back the changes. Rather than use my database backup, I decided to find out exactly what that plugin had done..

So, I manually renamed all the tables back to “wp_”
till no login.

Looking inside the tables, though, I found that the plugin had renamed all FIELDS starting with “wp_” as well..

Things like “wp-user_roles”. Fairly crucial.

Anyway, the solution was to browse wp-user and wp-user-meta for any fields starting with the new prefix, and rename them back to “wp_”..

Et voila. Access granted. šŸ™‚

All would have been well, except that some IDIOT at Jab Web wrecked the DNS settings for the site, and it disappeared off the web. Thanks Guys!

Fortunately, I spotted the error, and corrected it. And fired off an email at Jab Web. No response even now…