Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
FuelPHP 1.8.1 and db session driver (PostgreSQL)
  • Hello,
    I use fuel in several my projects. Mainly I use db session driver (PDO -> PostgreSQL). After upgrade core to 1.8.1.* sessions stops working. Log is full of this message:

    ERROR - 2018-05-03 18:54:00 --> Session update failed, session record could not be recovered using the previous id

    After short debug I found a problem in core/classes/session/db.php in write method; $this->record->get('session_id') returns null (why? when I make this sql query in pgadmin3 it return good values). I use fuel from 1.6; till 1.8.0.4 everythings working great!

    Can someone reproduce the same issue ?

    regards
    Rafal
  • Can you var_dump $this->record when it returns null, and post that here?

    I don't have PostgreSQL available to test at the moment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion