Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-10-2012, 01:13 AM   PM User | #1
PennyCoders
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
PennyCoders is an unknown quantity at this point
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.
PennyCoders is offline   Reply With Quote
Old 12-10-2012, 01:47 PM   PM User | #2
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,665
Thanks: 45
Thanked 456 Times in 444 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
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?
__________________
Please don't be rude: Put your php code in [php][/php] tags. It is a sticky topic at the top of the forum and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote
Reply

Bookmarks

Tags
nginx, php, php-5.4.9, phpmyadmin, sessions

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:50 PM.


Advertisement
Log in to turn off these ads.