Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-03-2008, 01:55 AM
Junior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 8
Default

Hmm, here's what I'm using, and it works fine:

PHP Code:
set_include_path('..' DIRECTORY_SEPARATOR 'library' PATH_SEPARATOR get_include_path()); 
If I were you guys, I would test to see exactly what your include_path is set to:

PHP Code:
<?php echo get_include_path();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 05-05-2008, 04:59 AM
Junior Member
 
Join Date: May 2008
Posts: 4
Default I figured out my problem

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-28-2008, 03:32 PM
Junior Member
 
Join Date: Oct 2008
Posts: 2
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10-29-2008, 03:05 PM
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-01-2009, 10:06 PM
phpoet's Avatar
Junior Member
 
Join Date: Sep 2008
Posts: 25
Default Additional Information On Configuring The Zend Framework

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:45 AM.