Hi, using Zend Framework need set include_path to the Zend library in the apllication index.php, something like this:
Site id down for "500 Internal Server Error". In error log I get:
And also attaching my .htaccess:
SetEnv APPLICATION_ENV development
Any suggestions how Ican resolve this problem? Can I use Zend Framework on X10 hosting?
Thanks
PHP:
// Set include path to Zend (and other) libraries
set_include_path(BASE_PATH . '/library' .
PATH_SEPARATOR . APPLICATION_PATH . '/models' .
PATH_SEPARATOR . get_include_path() .
PATH_SEPARATOR . '.'
);
Code:
[17-Jul-2009 01:37:34] PHP Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'page.phtml' not found in path (./install/views/)' in /home/dude42/public_html/cms/library/Zend/View/Abstract.php:925
Stack trace:
#0 /home/dude42/public_html/cms/library/Zend/View/Abstract.php(828): Zend_View_Abstract->_script('page.phtml')
#1 /home/dude42/public_html/cms/install/install.php(71): Zend_View_Abstract->render('page.phtml')
#2 /home/dude42/public_html/cms/index.php(8): require('/home/dude42/pu...')
#3 {main}
thrown in /home/dude42/public_html/cms/library/Zend/View/Abstract.php on line 925
SetEnv APPLICATION_ENV development
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Thanks