zend dosen't want to load

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eduard77
Forum Newbie
Posts: 17
Joined: Sun Nov 22, 2009 10:10 pm

zend dosen't want to load

Post 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
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: zend dosen't want to load

Post by Eran »

Why did you open another thread on this issue?
viewtopic.php?f=1&t=111684
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: zend dosen't want to load

Post by Jade »

You do realize that a semicolon in front of the include is the same as commenting it out, right?
Post Reply