Software & Development

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

Did you move your wordpress page to different server/database and now you are unable to login to wordpress admin interface, because you receive “You do not have sufficient rights to access this page“? Did you change table_prefix in wp-config.php file?

The solution is simple – check user usermeta (meta_key) and options (option_name) tables. There are some keys that use table_prefix as part of the key and wordpress is unable to read user rights and roles.

Simple but confusing…

Software & Development

Oracle & Java error “locale not recognized”

If you are using rather exotic Windows regional settings you might get the following error:

Locale not recognized

The solution is simple as mentioned here. Just set the JAVA_TOOL_OPTIONS environment variable to this:

-Dfile.encoding=UTF8 -Duser.language=en -Duser.region=US

JDBC won’t use regional setting to determine locale to be used (and probably unsupported at the moment) anymore .