As the subject says it, I don't manage to use correctly sess and auth classes in PhpLib. By arriving on the authentification form an error that I can't solve occurs :
"Parse error: parse error in d:\program files\easyphp\www\phplib-7.4-pre1\php\session.inc(339) : eval()'d code on line 1"
Can someone help me ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have exactly the same error using auth, and I'm not able to detect where is the problem.
But I'm trying to use PHPlib with MSSQL 7.0, so may be that's the problem. But I'd be really glad if there is someone able to tell if there's a way to go around this error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This problem is caused by the wrong column type in the active_sessions table. The column type specified in the create_database.mssql file is way too short to hold session data, even without a lot of registered variables.
I had a contract programmer who was developing on NT and he spent a couple hours trying to find the right data type that was supported by his version of MSSQL and the database drivers he had. I wish I could remember his solution, but it was a few months ago and I've slept since then.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much: now may be I'll be able to find a better solution than using two different databases (mysql with phplib for login and mssql for other kinds of data).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As the subject says it, I don't manage to use correctly sess and auth classes in PhpLib. By arriving on the authentification form an error that I can't solve occurs :
"Parse error: parse error in d:\program files\easyphp\www\phplib-7.4-pre1\php\session.inc(339) : eval()'d code on line 1"
Can someone help me ?
I have exactly the same error using auth, and I'm not able to detect where is the problem.
But I'm trying to use PHPlib with MSSQL 7.0, so may be that's the problem. But I'd be really glad if there is someone able to tell if there's a way to go around this error.
This problem is caused by the wrong column type in the active_sessions table. The column type specified in the create_database.mssql file is way too short to hold session data, even without a lot of registered variables.
I had a contract programmer who was developing on NT and he spent a couple hours trying to find the right data type that was supported by his version of MSSQL and the database drivers he had. I wish I could remember his solution, but it was a few months ago and I've slept since then.
Thank you very much: now may be I'll be able to find a better solution than using two different databases (mysql with phplib for login and mssql for other kinds of data).