![]() |
|
|||
|
Hmm, here's what I'm using, and it works fine:
[PHP]set_include_path('..' . DIRECTORY_SEPARATOR . 'library' . PATH_SEPARATOR . get_include_path());[/PHP] If I were you guys, I would test to see exactly what your include_path is set to: [PHP]<?php echo get_include_path();[/PHP] |
|
|||
|
I hate it when people post "I solved my problem, thanks," without actually telling everybody how they figured out the solution.
It turns out my apache was set up to only allow access to my public_html directory and NOT the entire website directory. For example: /var/www/vhosts/domain.com/httpdocs and not /var/www/vhosts/domain.com/ which it needs to access application/, library/, etc. I had to setup a vhost.conf file in my conf/ folder to allow php to access files OUTSIDE of the documentroot. I don't know what you guys are using but this article might shed some light on this problem: Aaron Gadberry Blog Archive Using Plesk and vhost.conf This problem basically involves PHP's open_basedir setting. Change your index.php file and try to require a file OUTSIDE of your document root and it should show you that it doesn't have permission to access stuff outside of the docroot. Hope that helps. |
|
|||
|
I'm having the same problem from eventhough, ive tried using open_basedir but no good, i'm not using any virtual hosts.
My development is done in a Windows PC, and the server runs on CentOS with PHP 5.2.6 and Apache 2.2.3. This is the error im getting: Warning: Zend_Loader::include_once(Zend/Auth/Adapter/Dbtable.php) [zend-loader.include-once]: failed to open stream: No such file or directory in /var/www/html/interganga/library/Zend/Loader.php on line 83 Warning: Zend_Loader::include_once() [function.include]: Failed opening 'Zend/Auth/Adapter/Dbtable.php' for inclusion (include_path='../library:.:/usr/share/pear:/usr/share/php') in /var/www/html/interganga/library/Zend/Loader.php on line 83 Fatal error: Class 'Zend_Auth_Adapter_Dbtable' not found in /var/www/html/interganga/application/models/Usuario.php on line 105 The framework is there, all the files are correctly placed, it is just not reading anything. On the windows pc it runs flawlessly on linux i can't get past the login. |
|
|||
|
Hi WavyDavy,
I compared your code with the tutorial and I do not see the last statement: /* * Go!!!! Go!! */ $front->dispatch(); I ran the sample on the iSeries (i5) and it works, I put my demo folder in the htdocs folder. |
|
||||
|
When I first started using the Zend Framework I found it very difficult to locate detailed information on how to actually install and configure everything. So I created a tutorial about all of this that includes a 37 minute screencast, 13 pages of written information, and the source code for an example application. From what I understand, it's been very helpful to a lot of people. Here is a link to the tutorial on Installing And Configuring the Zend Framework.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Designed by: Miner Skinz |
Powered by vBulletin® Version 3.8.4 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.1.0 |
![]() |