• Resolved Rimbalt

    (@rimbalt)


    Hi everyone.

    A few minutes ago I was modifying my theme and suddenly it asked me to log in again because the session has expired. I do it, but even after telling me that the log in was successful, it loads a few second and tells me to log in again because of expiration.
    The weird thing is, it does that ONLY on the Appearance => Personalize or Appearance => Background menus (Sorry if it’s not the right names, I’m not using the english version). I can access everything else on the dashboard. I tried uninstalling the current theme and choose another one, didn’t change anything. What’s happening ? :/

    Thanks.

    Edit: After reading a few other posts I tried deactivating all plugins and re install the default theme. Didn’t work either.

Viewing 9 replies - 1 through 9 (of 9 total)
  • So switching to TwentyFifteen theme didn’t work? It sounds like something you did in modifying your theme. Try removing (after backup) the folder your theme is contained in, entirely. Just to make sure WP isn’t loading it for some reason. Then see what happens. Hopefully that will fix it and it was something you were doing when you modified the theme.

    Thread Starter Rimbalt

    (@rimbalt)

    Hi, thank you for the reply.

    I tried that and it did not change anything. So I went ahead and just deleted everything in the theme folder via Filezilla, then re-downloaded & installed the default theme, but it didn’t worked either.

    I was hoping I could avoid re-installing everything but maybe it could do the trick ?

    (I must add that I’m a complete beginner and practicly didn’t do anything with the theme at the time… Just changed some texts like the title of the page, changed the background image… Didn’t mingle with code or anything. I was just beginning to work on my sitebefore this problem occured.)

    So you only edited CSS in your theme? If so, that shouldn’t ever cause anything like this. And the fact that going back to TwentyFifteen theme didn’t fix it, suggests it’s not a theme issue.

    What hosting is this site installed on? Have you tried resaving permalinks? I’m wondering if a plugin/theme did something to your .htaccess file. Going to Settings>Permalinks and just clicking save (no need to change anything) should re-write the WP stuff in .htaccess and usually clears up any issues there.

    Thread Starter Rimbalt

    (@rimbalt)

    I did what you proposed and it’s not working either. But, on the top of the “Permalinks” page there was this text:

    Warning: is_writable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/rimbalt-illustrations.fr/:/usr/lib/php/:/tmp:/var/www/html/dnpanel/:)
    in /var/www/vhosts/rimbalt-illustrations.fr/httpdocs/wp-admin/options-permalink.php on line 131

    Warning: is_writable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/rimbalt-illustrations.fr/:/usr/lib/php/:/tmp:/var/www/html/dnpanel/:)
    in /var/www/vhosts/rimbalt-illustrations.fr/httpdocs/wp-admin/includes/misc.php on line 170

    I have no idea what this means but it must be a new clue ?

    As for my host it’s a french hosting service called EvX Online if that’s what you’re asking.

    This is going beyond my expertise. Try providing this to your host, see if they have any insight….?

    Thread Starter Rimbalt

    (@rimbalt)

    So… Since I had practicly nothing done anyway I deleted the database and made a new one, to reinstall WP completly from scratch, and it worked, I can finally go to theme customization… I think we’ll never know what caused that, but whatever !
    Thanks for all your time and replies. I’ll mark the topic as resolved.

    Huh. Strange. No problem. Wish I’d actually offered something that helped πŸ™‚

    Hi
    I had the same problem and and kept me awake for two nights. Turns out, that I had installed wp super cache and modified wp-config.php to include the cache path.

    Then one day, I switched the caching engine to Zencache or somethign else ( I was experimenting with cache engines LOL) and cleared the cache.

    From that day onwards, I tried everything but login prompt would reappear when custmizing the theme…

    Today, I analyzed the settings in wp-config.php and found the culprit.
    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( ‘WPCACHEHOME’, ‘C:\inetpub\xxxxxxxxxxx.com\wp-content\plugins\wp-super-cache/’ ); //Added by WP-Cache Manager

    and commenting out this define fixed the issue.

    New users coming to this page for solution:

    Please note this worked because I was no longer using wp cache and had wpcachehome defined which was probably causing this conflict! You guys must try out the above steps first and see if it resolves the problem.

    Thanks

    ecbuildware

    (@ecbuildware)

    Session Expired

    I am experiencing the same Problem session Expired

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Session expired’ is closed to new replies.