Thanks for taking the time to explain that David!

Is there any way you can be more specific as to what code goes where? I am
still trying to get my footing here with Zend.

I've added this code to my index.php file and now it throws the error "Fatal
error: Cannot redeclare class Zend_Loader in
C:\xampp\htdocs\zendproject\library\Zend\Loader.php on line 31".


David Muir wrote:
> set_include_path(implode(PATH_SEPARATOR, array(
>     realpath(dirname(__FILE__).'/../library'),
>     get_include_path()
> )));
> 
> defined('APPLICATION_ROOT')
>     || define('APPLICATION_ROOT',
>             realpath(dirname(__FILE__).'/..'));
> 
> // Define path to application directory
> defined('APPLICATION_PATH')
>         || define('APPLICATION_PATH',
>                 APPLICATION_ROOT . '/application'); 
> 


Using the code I posted in my first post, is there any way you can be more
specific as to what goes where? 
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Error-Class-forms-ContactForm-not-found-new-to-Zend-tp3319850p3320570.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to