• George Moureau

    (@georgepiccexcellencecom)


    I need to use session arrays in my custom theme however when adding session_start() to wp-settings.php it seems to break wp-admin. I cannot edit pages, make setting changes in the dashboard or see any of my pages listed in the dashboard/Pages function.

    I have 3 wordpress sites: development, beta testing and Production. I have no problems with session_start() in either the development site or the beta site. All sites are running WP 3.9.2 and the same plugins and the same php code. Its just the production site that wp-admin goes wonky. Any thoughts would be appreciated…

    George

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well, I don’t know for what reason you should change wp-settings.php. It could be overridden by WordPress update.

    I use session_start() & session_end(), but in my custom function.php, and have no problem at all.

    Thread Starter George Moureau

    (@georgepiccexcellencecom)

    Ok, that makes sense. I didn’t really know where to put it so I stuck it there. I’ll move it to my functions.php file and see what happens.

    thanks

    Thread Starter George Moureau

    (@georgepiccexcellencecom)

    I put it in the functions.php file and reinstalled 3.9.2. This seems to have corrected the problem. Just waiting to see if it reoccurs.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-admin seems disabled when using session_start() in wp-settings’ is closed to new replies.