Page 1 of 1

zend dosen't want to load

Posted: Tue Jan 19, 2010 4:19 pm
by eduard77
Please tell me what is wron with this

Code: Select all

 
; Windows: "\path1;\path2"
;include_path = ".;c:/wamp/www/phpweb20/includes/ZendFramework"
;php_value include_path ".;c:/wamp/www/phpweb20/include; c:/wamp/bin/php/PEAR"
; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
I put this in the php.ini file
and then I have the index page like this:
<?php
 
require_once 'Zend/Loader.php';
 
Zend_Loader::registerAutoload();
$contrller = Zend_Controller_Front::getInstance();
$contrller->setControllerDirectory('../include/Controllers');
$contrller->dispach();
 
?>
and this error
arning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\phpweb20\htdocs\index.php on line 3
 
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.;C:\php5\pear') in C:\wamp\www\phpweb20\htdocs\index.php on line 3
 
What is wrong?
It drives me crazy

Re: zend dosen't want to load

Posted: Tue Jan 19, 2010 4:36 pm
by Eran
Why did you open another thread on this issue?
viewtopic.php?f=1&t=111684

Re: zend dosen't want to load

Posted: Tue Jan 19, 2010 5:09 pm
by Jade
You do realize that a semicolon in front of the include is the same as commenting it out, right?