hi thanks for the reply, i got a white page and when i checked the error log
it says this

#0
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php(596):
Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('layout')
#1
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php(553):
Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('layout')
#2 /home/jigenkic/public_html/zendtry/application/Bootstrap.php(16):
Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('layout')
#3
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php(636):
Bootstrap->_initViewHelpers()
#4
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php(589):
Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('viewhelpers')
#5 /home/jigenk in
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php
on line 661
[04-May-2010 09:01:52] PHP Fatal error:  Uncaught exception
'Zend_Application_Bootstrap_Exception' with message 'Resource matching
"layout" not found' in
/home/jigenkic/public_html/zendtry/library/Zend/Application/Bootstrap/BootstrapAbstract.php:661

here's my main index.php
<?php

// Define path to application directory
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(dirname(__FILE__) .
'/../application'));

// Define application environment
defined('APPLICATION_ENV')
    || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?
getenv('APPLICATION_ENV') : 'production'));

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . '/../library'),
    get_include_path(),
)));

/** Zend_Application */
require_once 'Zend/Application.php';  

// Create application, bootstrap, and run
$application = new Zend_Application(
    APPLICATION_ENV, 
    APPLICATION_PATH . '/configs/application.ini'
);
$application->bootstrap()
            ->run();
--------------------------------------------

is there anything i need to change because when in my localhost the project
runs perfect when i upload it in my hosting it does'nt work same directory
structure
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-on-a-shared-Host-tp2124880p2125218.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to