WordPress : ‘You do not have sufficient permissions to access this page’

The problem looks like below.

You do not have sufficient permissions to access this page

The supposed permission problem has occured before and mainly involves plugins. For older version of wordpress, your problem may be solved by one or both of the

  • Change of table prefix - I suggest you visit this to solve that problem. And it also solves a string of other things, too.
  • Failed Upgrade - If you used an automatic upgrade and failed, it is possible that the version number saved in the database is already updated. You can force upgrade it by updating the your version number. Another alternative is by using MarkAquit’s script here

However, these solutions are only applicable for older versions of WordPress. If you have a clean install, you should not encounter this. That’s why it didn’t work and was back to square one of investigation. Upon further checking, it turned out that the problem is related to old plugins. Apparently, there are plugins that was written before the current releases and whose parts of the code is no longer compliant with the current version of WordPress.

Finding the offending plugin is a bit tricky especially if you are using a lot of plugins. Luckily, I only encounter this in a contact page plugin and replace it accordingly with a new plugin which was released lately. The problem with my older plugin is that there’s no more active development. And so when some of the codes were deprecated, the plugin fails.

So what’s the problem then? Old Plugins.

Incoming search terms:

  • wordpress plugins You do not have sufficient permissions to access this page

Could not locate OCI dll Error

If you are using 10g client with PL/SQL developer, you may encounter the message “Initialization error: Could not locate OCI dll” when launching PL/SQL Developer. It does not happen with the 8i client so I already suspected that it must be with the 10g client that I recently installed. Luckily, I found this thread in Oracle OTN forum and the solution seems to be easy.

All I have to do is copy a whole bunch of files from the ORAHOME folder to ORAHOME\bin. It seems like PL/SQL Developer is hardwired to find the files under the bin folder. It did the trick and my sql editor is now working. I hope it fixes yours too.

Here’s the screenshot of the files I copied. Take note that I copied them instead of just moving so as not to break anything.

oracle_files_copy_to_bin

Incoming search terms:

  • oci dll
  • Could not locate OCI dll
  • initialization error could not locate oci dll
  • toad could not locate oci dll
  • pl sql developer could not locate oci dll
  • plsql developer could not locate oci dll
  • oci dll was not found
  • oracle oci dll file
  • toad cannot find oci dll: oci dll
  • cannot find OCI DLL: oci dll

WordPress Upgrade Error(wp-comments)

I’ve been encountering this for a number of times already and on each time, I had to upgrade WordPress manually(through SSH to make it faster). Now, I was able to partially solve this by removing/renaming the existing upgrade folder under wp-contents. You can follow the steps below.

  1. Login to your server via FTP
  2. navigate to wp-contents folder
  3. rename the existing upgrade folder to a new name(you can also choose to delete)
  4. under wp-contents folder, create a new folder named upgrade
  5. set permission of the new upgrade folder to 666
  6. re-run the upgrade from within wordpress

[Read more...]