+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Cant figure out Bootstrapper Video Tutorial

  1. #11
    sunspark is offline Junior Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    8

    Default

    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]

  2. #12
    eventhough is offline 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.

  3. #13
    marioestrada is offline 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.

  4. #14
    GermanZend is offline 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.

  5. #15
    phpoet's Avatar
    phpoet is offline Junior Member
    Join Date
    Sep 2008
    Posts
    26

    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.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Getting module name in bootstrapper
    By ecmcn in forum Installation & Configuration
    Replies: 3
    Last Post: 12-11-2009, 09:31 AM
  2. quickstart tutorial - Newbie no.2 needs Help with Create A Model and Db Tutorial
    By apprentice in forum Installation & Configuration
    Replies: 1
    Last Post: 11-26-2009, 03:49 AM
  3. quickstart tutorial - Newbie Help with Create A Model and Db Tutorial
    By johnlamont in forum Installation & Configuration
    Replies: 5
    Last Post: 07-20-2009, 12:23 AM
  4. A PHP Dev Job in the Video Game Industry
    By rchai in forum Paid work offers and requests
    Replies: 0
    Last Post: 06-22-2009, 12:37 AM
  5. Youtube: add video to playlist
    By del_jachim in forum Web & Web Services
    Replies: 0
    Last Post: 02-13-2009, 09:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts