-
“You do not have sufficient permissions to access this page” after Wordpress upgrade
Posted on July 4th, 2009 No commentsIf you’ve done a wordpress upgrade which included either copying another wp database or changing the current one’s table prefix (as well as changing the $table_prefix PHP variable in your config file,) you will most likely be met with this warning when you try to log in: You do not have sufficient permissions to access this page. The reason for this is that everything in wordpress that accesses info in the db does so from PHP using the $table_prefix variable, and when you first installed your blog, a couple of options are set in the database that include that value, which makes it not really so dynamic!
After rooting through my db, I found 5 or 6 values that still had the old table prefix in – mostly in the `usermeta` table, but also one in the `options` table. To make sure I got them all, I ran these simple SQL statements in phpMyAdmin to update all the values: UPDATE `wp2_usermeta` SET `meta_key` = REPLACE ( `meta_key` , 'wp_' , 'wp2_' ) ; UPDATE `wp2_options` SET `option_name` = REPLACE ( `option_name` , 'wp_' , 'wp2_' ) ; (note: please be sure to backup your database before you execute any SQL on it – if something goes wrong, there’s not a lot you can do to recover it without a backup!) In those two examples, assume the original prefix was “wp” and the new one is “wp2″Follow this link:
Sphere: Related Content
“You do not have sufficient permissions to access this page” after Wordpress upgrade
17, 5, File, Hints and Tips, Jon, OS, RDP, SQL, Wordpress, backup, base, blog, changing, config, data, database, exam, first, fix, hanging, include, install, key, like, me, meta key, name, new, no, not, one, page, php, phpmyadmin, place, prefix, replace, simple, something, sql statements, to, update, upgrade, usermeta, warning, when, word, wp copying, either-copying, File, hanging, Hints and Tips, include, php, place, RDP, something-goes, warning, word -
Ubuntu One – Taking Linux To The Clouds
Posted on July 4th, 2009 No commentsI opened Google Mail on my HTC Magic this morning to find a lovely invitation to the Ubuntu One beta, woot. So I grabbed my shiny Sony Vaio laptop and fired it up, and got straight on with it

Go here to read the rest:
Sphere: Related Content
Ubuntu One – Taking Linux To The Clouds
17, 5, Class, Download, File, Files, Google, ICO, James, Manually, OS, RDP, Someone, Technology, Top, Wordpress, air, backup, click, client, cloud, computer, computing, cool, cost, feature, firefox, first, get, htc magic, http, image, images, include, install, laptop, live, load, login, me, morning, network, no, one, open, page, personal, process, request, share, simple, smile, storage, sync, time, title, to, tools, ubuntu, ubuntuone, upload, web, word, work, www certain-things, cool, Download, Files, firefox, htc magic, include, James, live, packages, personal, ubuntuone, work -
Advanced Syntax-Hilighting Online Code Editors – A Wordpress IDE?
Posted on July 2nd, 2008 No commentsWhen I write plugins for wordpress I like to do it on a test blog in a live environment. Maybe not the best idea, but it's how I like to do it, and it also flags up any weird and wonderful restrictions to the development of the plugin as a result of my hosting company's security policy
See the original post:
Sphere: Related Content
Advanced Syntax-Hilighting Online Code Editors – A Wordpress IDE?
17, 5, Chris, File, Files, Google, HTML, IDE, Java, JavaScript, OS, Plug, Pot O' Ideas, RDP, Read, Someone, Top, Wordpress, auto, available, backup, base, blog, book, cd, code, codepress, cool, data, development, editor, exam, fact, filter, flash, fun, functionality, functions, get, high, highlight, host, hosting, http, ical, ice, language, light, like, list, live, me, name, no, not, one, open, opera, page, php, place, player, plugin, plugins, post, posts, press, problem, project, rest, script, security, solution, string, sub, submit, syntax, system, term, test, theme, thought, time, tip, title, to, type, update, value, values, view, web, web development, website, when, word, work, wp, www exam, File, functionality, host, laptop, mobbler, php, price, project, tip, update, www












































