• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The session to files do not appear in sessions folder

#11
(10-18-2016, 05:46 PM)edica Wrote: It does not work.

$config['sess_driver']              = 'files';
$config['sess_cookie_name']         = 'of';
$config['sess_expiration']          = 7200;
$config['sess_save_path']           = APPPATH.'sessions';
$config['sess_match_ip']            = FALSE;
$config['sess_time_to_update']      = 300;
$config['sess_regenerate_destroy']  = FALSE;

Please sorry. Sad
I'm using PHP 7.1 RC4
The problem in PHP, is it?

PHP 7.1 RC4 was officially released less than 2 hours ago, while your post saying that you use it from ~11 hours ago ...

Yes, if you're using PHP 7.1-anything, that's likely the problem.
But you didn't specify this up until now, and obviously you're also changing environments, which means you're moving the goalposts, making everything even harder to debug - please don't do that.
Reply

#12
I use a large repository.
https://github.com/php/php-src/blob/php-7.1.0RC4/NEWS 17out2016 09:32 BRST
[remi-php71]
name=Remi's PHP 7.1 RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/php71/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/php71/mirror

But everything works perfectly. Including session in the database.
The only problem is that is not save the file in the folder sessions.
Reply

#13
(10-19-2016, 03:41 AM)InsiteFX Wrote: Then you must have an installation problem with your folders access.

But I do know that they made changes to the PHP 7 sessions.


I believe it. CI 31 maybe not compatible with PHP7.1 (When will it be released)
The problems are related to sessions.

Another problem found it with: "$this->session->set_flashdata()" It is being ignored without errors, warnings...
Reply

#14
(10-19-2016, 12:15 PM)edica Wrote:
(10-19-2016, 03:41 AM)InsiteFX Wrote: Then you must have an installation problem with your folders access.

But I do know that they made changes to the PHP 7 sessions.


I believe it. CI 31 maybe not compatible with PHP7.1 (When will it be released)
The problems are related to sessions.

Another problem found it with: "$this->session->set_flashdata()" It is being ignored without errors, warnings...

Do not use php 7.1. You do not know how debug it. It could be a bug in php 7.1 or in ci 3.1
Reply

#15
It has to be the PHP version I'm using PHP Version 7.0.9 and it works for me.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#16
I returned to PHP 7.0.12. All working properly.

Thanks.
Reply

#17
This should help: https://github.com/bcit-ci/CodeIgniter/c...5e56272a0a
Reply

#18
(10-22-2016, 06:40 AM)Narf Wrote: This should help: https://github.com/bcit-ci/CodeIgniter/c...5e56272a0a

Very nice. Smile

Thanks.
Reply

#19
(10-28-2016, 06:26 AM)edica Wrote:
(10-22-2016, 06:40 AM)Narf Wrote: This should help: https://github.com/bcit-ci/CodeIgniter/c...5e56272a0a

Very nice. Smile

Thanks.

Turns out it wasn't so nice: https://github.com/bcit-ci/CodeIgniter/issues/4874
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.