I getting this common error and can't seem to fix it:

"Fatal error: Exception thrown without a stack frame in Unknown on
line 0"

I have my session data in a separate database connection from the
other apps (we have several apps that are going to share session data
hence the separate connction). I edited factories.yml to reference the
new session database:

all:
  storage:
    class: sfMySQLSessionStorage
    param:
      database: session
      session_name: cookiename
      session_cookie_domain: .example.com
      db_table: session
      db_id_col: id
      db_time_col: time
      db_data_col: data

The database schema looks like this:

mysql> desc session;
+-------+--------------+------+-----+---------+-------+
| Field | Type         | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| id    | varchar(255) |      | PRI |         |       |
| time  | bigint(20)   |      |     | 0       |       |
| data  | text         | YES  |     | NULL    |       |
+-------+--------------+------+-----+---------+-------+
3 rows in set (0.00 sec)

It looks like the initial session key gets inserted but then when
updating the session data it fails. Im guessing it's using the wrong
database connection where the session table doesn't exist. So why is
symfony ignoring the database connection name?

Ive seen this several times on the list and on the forums and most
people just break down and move the session table into the same
database as the main application. I dont want to do this since it will
be shared across all symfony apps.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to