|
|||
|
Hi,
Let me first briefly introduce my problem. I'm using the Zend_Session_SaveHandler_DbTable class from the incubator to store session information a MySQL tabel. In my bootstrap.php I have the following code to setup the savehandler. PHP Code:
Warning: Zend_Db_Table_Abstract::require_once(Zend/Db/Table/Select.php) [function.Zend-Db-Table-Abstract-require-once]: failed to open stream: No such file or directory in X:\htdocs\library\Zend\Db\Table\Abstract.php on line 773 Fatal error: Zend_Db_Table_Abstract::require_once() [function.require]: Failed opening required 'Zend/Db/Table/Select.php' (include_path='.;C:\php5\pear;../library/') in X:\htdocs\library\Zend\Db\Table\Abstract.php on line 773 What is going on here? I have no clue. Obviously the files are just there and the library path is in the include path. Stanger even is that just setting up a model with a class that extents Zend_Db_Table_Abstract does not produce errors when selecting data through it (while passing the same code line). Anybody experienced this before? |
|
|||
|
Yes I had this problem too. What I did is to use an absolute path in stead of ../library.
So this: ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . '../library/'); would become ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . getcwd() . '/../library/'); The problem I hink is somewhere in the savehandler because I had the exact same problem when I was using an sessionhandler. Hope this helps. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|