View Single Post
  #1 (permalink)  
Old 01-13-2008, 12:12 AM
WavyDavy WavyDavy is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Default Cant figure out Bootstrapper Video Tutorial

I am trying to follow the bootstrapper tutorial from here
Zend Framework: Getting Started - Mitch’s World

And I cannot get my bootstrapper index.php to work, everytime I try to access it I get the following error;

Quote:
Warning: require(Zend/Loader.php) [function.require]: failed to open stream: No such file or directory in E:\xampplite\htdocs\demo_app\public\index.php on line 23

Fatal error: require() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.;\xampplite\php\pear\:../library') in E:\xampplite\htdocs\demo_app\public\index.php on line 23
This is the code for index.php

PHP Code:
<?php

/*
*Error Reporting
*/

error_reporting(E_ALL|E_STRICT);
ini_set('display_errors''on');

ini_set('include_path'ini_get('include_path') . ':../library');

/*
*Zend Loader
*/
//Zend_Loader::loadClass('');
require "Zend/Loader.php";

/*
*Required Classes
*/

Zend_Loader::loadClass('Zend_Controller_Front');

/*
*Setup controller
*/

$front Zend_Controller_Front::getInstance();
$front->setControllerDirectory('../application/controllers');
$front->throwExceptions(true);

?>
Reply With Quote