|
|||
|
I have bootspraper code from tutorial:
PHP Code:
Code:
RewriteEngine on RewriteRule .* index.php php_flag magic_quotes_gpc off php_flag register_globals off Quote:
PHP Code:
Apache 2 on win vista and PHP 5.2.4 Last edited by kociou : 03-09-2008 at 09:56 PM. |
|
|||
|
Code:
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'on');
ini_set('include_path', ini_get('include_path') .';./includes;./application/models');
date_default_timezone_set('Europe/London');
// Load the Zend, become zen..
require 'Zend/Loader.php';
// Save resources
/*Zend_Loader::loadClass('Zend_YOUROPTION'); */
Zend_Loader::registerAutoload();
$front = Zend_Controller_Front::getInstance();
$front->setControllerDirectory(array(
'default' => 'application/controllers',
));
$front->throwExceptions(true);
$front->dispatch();
?>
or just try rechecking your init_set include_path |
|
|||
|
not working...
but on the web (apache2 on debian ZF v. 1.0.4 and PHP 5.2.4) it works php.ini on debian and vista are almost the same ![]() Last edited by kociou : 03-15-2008 at 12:38 AM. |
|
|||
|
Is it throwing any (different) messages?
Last edited by David : 03-15-2008 at 01:44 PM. |
|
|||
|
Hi!
I just had the same problem, got the same message. Just that it worked on my windows platform, and got the error message on linux server. I don't really know what the message means, because it doesn't mean that the file cannot be found. I was using Zend FR 1.5.0.rc, so i updated to the lastest, stable 1.5.0 release. This way i got another warning, that the file cannot be found. It was an include path problem. (i had to add the "." as include path in vhosts.conf) |
|
|||
|
I really recommend if you would go to Nabble - Zend Framework Community forum
the mailing list would probably solve it... since the this forum is still growing =/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|