[Phplib-users] Example_Session_Custom... missing arguments for ct_sql.inc ???
Brought to you by:
nhruby,
richardarcher
From: Alan T. M. <am...@ho...> - 2001-08-29 16:39:55
|
I am trying to use the session4 custom in the local4.inc file from CVS. I get the following error when I try to impliment a page with sessions using the custom storage: Warning: Missing argument 1 for ac_release_lock() in c:\inetpub\wwwroot\mydomain.com\php-lib\php\db\mysql\ct_sql.inc on line 42 Warning: Missing argument 2 for ac_release_lock() in c:\inetpub\wwwroot\mydomain.com\php-lib\php\db\mysql\ct_sql.inc on line 42 I looked up line 42 and see the following: $query = sprintf("SELECT get_lock('%s-%s-%s')", $this->database_lock_semaphore, $name, $sid); I am assuming by this that the problem is in either the "database_lock_semaphore variable because earlier it is defined as: var $database_lock_semaphore = ""; and that wold mean it was blank. Or, the error is something that is just beyond me. Can someone help suggest something? I have been looking around trying to figure out what is going on here. I think it has something to do with the $database_lock_semaphore variable being blank, but after searching the documentation, I cannot find anything on that or what it is. Thanks in advance. Alan |