• I need some basic help:

    Yesterday I changed the name of the folder where wordpress has been uploaded. I did also make some changes in some “folder references” in the settings – I can’t remember exactly which one.

    Today, when I try to access the wp-admin area I get the bellow error message.

    If I rename the folder back to the original name {old folder name} I get this message;
    The requested URL /{new folder name}/wp-login.php was not found on this server.
    Pls note: the typed {old folder name} changes automatic to the {new folder name} in the error message

    This is the error message with {new folder name} URL:
    —————————————————-
    Warning: fopen(/{old folder name}/wp-content/uploads/2008/10/xlanguage-parser-176060526809320669.log) [function.fopen]: failed to open stream: No such file or directory in /{new folder name}/wp-content/plugins/xlanguage/admin.php on line 141

    ——————————-
    This is line 141:
    $fd = fopen($this->options[‘parser’][‘log2’], ‘w’);
    ——————————-

    Warning: fclose(): supplied argument is not a valid stream resource in /{new folder name}/wp-content/plugins/xlanguage/admin.php on line 142

    ——————————-
    This is line 142:
    fclose($fd);
    ——————————-

    Warning: Cannot modify header information – headers already sent by (output started at /{new folder name}/wp-content/plugins/xlanguage/admin.php:141) in /{new folder name}/wp-content/plugins/xlanguage/xlanguage.php on line 224

    ——————————-
    This is line 224
    setcookie( xLanguageTagCookie, $this->language, time() + 30000000, COOKIEPATH );
    ——————————-

    Warning: Cannot modify header information – headers already sent by (output started at /{new folder name}/wp-content/plugins/xlanguage/admin.php:141) in /{new folder name}/wp-includes/pluggable.php on line 770

    ——————————-
    This is line 770
    header(“Location: $location”);
    ——————————-

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cje

    (@cje)

    I believe there’s the first error message which makes the problem. As it seems like the only string with the old folder name
    ————–
    Warning: fopen(/{old folder name}/wp-content/uploads/2008/10/xlanguage-parser-176060526809320669.log) [function.fopen]: failed to open stream: No such file or directory in /{new folder name}/wp-content/plugins/xlanguage/admin.php on line 141
    ————–

    Anyone who may have an idea in which file this sting may be located?

    wingitdataroomcom

    (@wingitdataroomcom)

    I had the same problem, took me a couple hours to figure it out…

    solution:
    1. you need to login the the database that wordpress uses
    2. execute query: select * from wp_options where option_name=’xlanguage_options’
    3. it’s here, you have two options
    a) you can try to fix it
    b) just delete the whole record if you don’t mind making all the settings again (once you de-activeate and activate the plugin, it will create it again)

    I took option b because I am just setting up

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘xlanguage and wp-admin login problem’ is closed to new replies.