• Resolved alain-jacomet

    (@alain-jacomet)


    Hello all,

    I Had WP 2.7. I upgraded to WordPress 2.7-es_ES (It just prompted on the dashboard). I made all my backups.

    After updating, when logging in as Admin, I get

    “You do not have sufficient permissions to access this page.” (In spanish).

    If I go to wp-config.php and comment out define ('WPLANG', 'es_ES'); I can login correctly.

    I’ve read most threads about this specific error, but they all point to having changed the table prefixes in the SQL, while I haven’t done that.

    What could this be? I was expecting not to use force_update.php or anything that would keep me in the dark as for the fix.

    Thank you very much.

    Information:
    What was I doing…
    1- I recently translated Shopp plugin, and uploaded an Shopp-es_ES.mo to its directory.
    2- I’m using a 3rd party .mo file for the WP language. However, it worked perfectly until the update, and would be very strange if a .mo file was making this error happen.
    3- Before I upgraded, I made a WP-Backup and phpMyAdmin backup.
    4- MAYBE IMPORTANT. I was having problems with the PHP memory allocation limit. Since I use shared hosting, the only way to increase it was changing from the PHP5 Engine to FastCGI PHP5, which provided me with a php.ini file. I changed max limit from 32 to 64MB.

    Maybe because I was using define (‘WPLANG’, ‘es_ES’); WordPress recommended a spanish version, which is WP v.2.7-es_ES.

Viewing 5 replies - 1 through 5 (of 5 total)
  • is your blog’s main .mo file in
    /wp-content/languages?

    Thread Starter alain-jacomet

    (@alain-jacomet)

    It is.

    /wp-content/languages/
    ..
    es_ES.mo 276.271 -rw-r–r–
    es_ES.php 66 -rw-r–r–
    es_ES.po 441.784 -rw-r–r

    Thread Starter alain-jacomet

    (@alain-jacomet)

    OK. The solution to this was deactivating all of the plugins, renaming the plugins folder to something else.

    Then, with all of them deactivated, access was granted.

    Activating one by one revealed that WP-DB-Backup was causing the problem.
    I haven’t found out why.

    Hey, Alan the error is in the es_ES.php in the language folder in WP-CONTENT, eliminate this file and you will be able to activate any plugin.

    Thanks SaintM. That worked for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘When changing WPLANG to es_ES, I loose admin access to the Dashboard.’ is closed to new replies.