Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Critical PHP 5.4.9 Sessions Issue (Sessions data not being saved)

    Hi everyone,

    First of all, thank you all for simply taking the time to open this thread.

    Secondly, i'm writing this post in the hope on finding out the root of this Problem which i have with the php sessions, which happens in the following conditions, on both a cakephp-based script, and the widely known phpMyAdmin:

    PHP Info page:

    http://www.dtk.me/inf.php

    PHPMyAdmin URL:

    http://dtk.me/phpMyAdmin-3.5.4-english/index.php

    Username: sessionstest
    Password: SessionsTest2012

    Please note that the sessions.save_path is writable by the nobody user, which php-fpm / nginx run under, and everybody else.

    The login pages only work on Opera, and you can actually try it for yourself.

    Please let me know what other info you need, if you need any, and hopefully some of you will be able to help me solve this issue ASAP. I'll look into it myself, as i am since 5 days ago when i've upgraded to php 5.4.9.


    P.S: nginx version is 1.3.9, but it has worked just fine so far.

    Best Regards,

    Alex.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,441
    Thanks
    62
    Thanked 537 Times in 524 Posts
    Quote Originally Posted by PennyCoders View Post
    Bad gateway error on both of those.

    What exactly is your problem?

    You've stated that your sessions are not saving and that you're using phpmyadmin and cakephp.

    You've not stated any error messages. You've not shown your php.ini file. You've not shown your sessions save path setting (just commented on it) and you've not shown any basic php code to test your sessions either.

    What is the issue and what have you done to test it?

    What are you using? Wamp, mamp, lamp? Did you install apache, mysql and php manually with a manual config?
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •