Wordpress

From Hackepedia
Revision as of 13:43, 26 April 2010 by 24.68.96.155 (talk)
Jump to navigationJump to search

If you want to embed php in Wordpress, you will want to install the Exec php plugin.

You do not have sufficient permissions to access this page.

This likely happened due to you renaming the wp_ prefix to something else to prevent SQL injection attacks. If so, there is one last mysql command you should run on your database (after doing a backup).

UPDATE `newprefix_usermeta` SET `meta_key` = REPLACE( `meta_key` , 'wp_', 'newprefix_' );
UPDATE `newprefix_options` SET `option_name` = 'newprefix_user_roles' WHERE `option_name` ='wp_user_roles' AND `blog_id` =0;

Replace newprefix in both places with your new prefix.