Still looking for help. I think despite the fact that i have my ZF included
the php.ini file i dont think it is seeing any of my ZF file still. I am in
the process of deleting all the ZF folders, refreshing my home page doesnt
even give an warning of a component missing or so. which is strange!!



rcastley wrote:
> 
> You will need the AllowOverride set to All so that the .htaccess can be
> picked up in your application directory.
>  
> Also check the DirectoryIndex had index.php appended to it as well.
>  
> - Robert
> 
>   _____  
> 
> From: Dele [mailto:[EMAIL PROTECTED] 
> Sent: 09 December 2008 15:49
> To: Robert Castley; [email protected]
> Subject: RE: [fw-general] ZF live settings
> 
> 
> Thanks I removed the references to Expires, still nothing. Do you think
> this
> could help adding it to the Virtual Host declarations :
>  
> AllowOverride All
> Options All
>  
> Because I have it for my local version on my apache config file. Thanks
> for
> all your help
>  
>  
> Regards
>  
> Dele
>  
> (C) 071 673 4130  (E) [EMAIL PROTECTED]  (S) dee454
>  
> "Start by doing what's necessary; then do what's possible; and suddenly
> you
> are doing the impossible. "- St. Francis of Assisi.
> 
> Disclaimer: This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity to whom they
> are
> addressed. If you have received this email in error please notify the
> system
> manager. This message contains confidential information and is intended
> only
> for the individual named. If you are not the named addressee you should
> not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete
> this e-mail from your system. If you are not the intended recipient you
> are
> notified that disclosing, copying, distributing or taking any action in
> reliance on the contents of this information is strictly prohibited.
>  
> From: Robert Castley [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 09, 2008 5:40 PM
> To: Dele; [email protected]
> Subject: RE: [fw-general] ZF live settings
>  
> Sometimes you are not allow to put apache module configurations in
> .htaccess.
>  
> Try also removing the references to Expires* and just use the .htaccess
> content I sent previously.
>  
> - Robert
>  
>   _____  
> 
> From: Dele [mailto:[EMAIL PROTECTED] 
> Sent: 09 December 2008 15:14
> To: Robert Castley; [email protected]
> Subject: RE: [fw-general] ZF live settings
> Thanks for the feedback Robert. I replaced the .htaccess file you sent me
> with the one I currently have. Still nothing L
>  
> Regards
>  
> Dele
>  
> (C) 071 673 4130  (E) [EMAIL PROTECTED]  (S) dee454
>  
> "Start by doing what's necessary; then do what's possible; and suddenly
> you
> are doing the impossible. "- St. Francis of Assisi.
> 
> Disclaimer: This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity to whom they
> are
> addressed. If you have received this email in error please notify the
> system
> manager. This message contains confidential information and is intended
> only
> for the individual named. If you are not the named addressee you should
> not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete
> this e-mail from your system. If you are not the intended recipient you
> are
> notified that disclosing, copying, distributing or taking any action in
> reliance on the contents of this information is strictly prohibited.
>  
> From: Robert Castley [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 09, 2008 3:28 PM
> To: dele454; [email protected]
> Subject: RE: [fw-general] ZF live settings
>  
> Your .htaccess file doesn't look right to me. 
> Have you tried this? 
> RewriteEngine On 
> RewriteCond %{REQUEST_FILENAME} -s [OR] 
> RewriteCond %{REQUEST_FILENAME} -l [OR] 
> RewriteCond %{REQUEST_FILENAME} -d 
> RewriteRule ^.*$ - [NC,L] 
> RewriteRule ^.*$ index.php [NC,L] 
>   
> -----Original Message----- 
> From: dele454 [mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ] 
> Sent: 09 December 2008 12:33 
> To: [email protected] 
> Subject: Re: [fw-general] ZF live settings 
>  
> Any help out there still? I havent being able to resolve it yet!! 
>  
> dele454 wrote: 
>> 
>> Hi, 
>> 
>> I am trying to move my files over to the remote server but my pages 
>> appear blank. I have tried everything i know to rectify this from 
>> setting my include path, config files etc but nothing is working. 
>> Checked the apache error log file but nothing captured on what am 
>> experiencing. not logging it. 
>> 
>> I am just attaching all my files here for any help/assistance. Am so 
>> tired been battling with this since last night and i can't still 
>> figure out why this is so. Please i will appreciate any help!!! Am on 
>> a linux VPS platform 
>> 
>> .HTACCESS 
>> 
>> RewriteEngine on 
>> RewriteCond %{SCRIPT_FILENAME} !-f 
>> RewriteCond %{SCRIPT_FILENAME} !-d 
>> RewriteRule ^(.*)$ index.php/$1 
>> 
>> ExpiresActive On 
>> ExpiresByType image/gif A0 
>> ExpiresByType image/png A0 
>> ExpiresByType image/jpg A0 
>> 
>> 
>> index.php on public_html folder: 
>> 
>> require_once 'Bootstrap.php'; 
>> Bootstrap::run(); 
>> 
>> 
>> BOOTSTRAP: 
>> 
>> require_once 'Zend/Loader.php'; 
>> require_once 'Zend/Session.php'; 
>> 
>> 
>> class Bootstrap{ 
>> 
>>     public static $front = null; 
>>    
>>     public static function run() 
>>     { 
>>         try { 
>>                               self::setupEnvironment(); 
>>                               self::prepare();                
>>                               $response = self::$front->dispatch(); 
>>                               self::sendResponse($response); 
>>                               self::$front->dispatch(); 
>>               } catch(Exception $e) { 
>>                 
>>                
>>                 } 
>>     } 
>>    
>>     public static function setupEnvironment() 
>>     { 
>>         error_reporting(E_ALL|E_STRICT); 
>>         ini_set('display_errors', true);// should be set to false 
>> after deployment 
>>         date_default_timezone_set('Africa/Johannesburg'); 
>>     } 
>>    
>>     public static function prepare() 
>>     { 
>>         self::setupController(); 
>>         self::setupView(); 
>>     } 
>>    
>>     public static function setupController() 
>>     { 
>>        
>>               // load the Zend Components 
>>               Zend_Loader::registerAutoload(); 
>>               
>>               //add the setting declared in settings.ini 
>>               $config = new Zend_Config_Ini('config/settings.ini',
> 'development'); 
>>         Zend_Registry::set('config', $config); 
>>                               
>>         //create an instance of the front controller 
>>               self::$front = Zend_Controller_Front::getInstance(); 
>>         self::$front->throwExceptions(true); 
>>         self::$front->returnResponse(true); 
>>       
>>               
>>               // Set the default controller directory: 
>>               self::$front->setControllerDirectory(array('default' => 
>> $config->paths->data . '/controllers', 
>>
> 'admin'   => $config->paths->data .
>> '/modules/admin/controllers'));               
>>               Zend_Layout::startMvc(array('layoutPath' =>
> $config->paths->data . 
>> '/views/layouts')); 
>>                                                                       
>>                               
>>               // setup database connection variables 
>>               $params = array( 
>>                               'host'     => $config->database->hostname, 
>>                               'username' => $config->database->username, 
>>                               'password' => $config->database->password, 
>>                               'dbname'   => $config->database->database); 
>>                               
>>               $db = Zend_Db::factory($config->database->type, $params); 
>>               Zend_Db_Table_Abstract::setDefaultAdapter($db); 
>>               Zend_Registry::set('db', $db); 
>>               
>>                               
>> 
>>               
>>     } 
>>    
>>     public static function setupView() 
>>     { 
>>         $view = new Zend_View; 
>>               
>>               
>>         $view->setEncoding('UTF-8'); 
>>         $viewRenderer = new 
>> Zend_Controller_Action_Helper_ViewRenderer($view); 
>>         Zend_Controller_Action_HelperBroker::addHelper($viewRenderer); 
>>     } 
>>    
>>     public static function sendResponse(Zend_Controller_Response_Http 
>> $response) 
>>     { 
>> 
>>               $response->setHeader('Content-Type', 'text/html;
> charset=UTF-8', true); 
>>         $response->sendResponse(); 
>>     } 
>>       
>>       
>> 
>> } 
>> 
>> 
>> FOLDER STRUCTURE: 
>>  http://www.nabble.com/file/p20911516/Untitled-1.jpg
> <http://www.nabble.com/file/p20911516/Untitled-1.jpg>  
>> 
>> 
>> SETTINGS.INI file: 
>> 
>> [development] 
>> 
>> database.type          = pdo_mysql 
>> database.hostname   = mydomain.co.za 
>> database.username   = mydb007 
>> database.password   = mypass 
>> database.database   = mydb 
>> 
>> paths.data          = /usr/local/lib/apps 
>> paths.modules.admin = /usr/local/lib/apps/modules/admin 
>> 
>> 
>> PHP>INI file(includes): 
>> 
>> ; UNIX: "/path1:/path2"  
>> include_path = 
>>
> ".:/usr/lib/php:/usr/local/lib/php:/usr/local/lib/apps:/usr/local/lib/apps/l
> ib:/usr/local/lib/apps/models" 
>> 
>  
> ----- 
> dee 
> -- 
> View this message in context:
> http://www.nabble.com/ZF-live-settings-tp20911516p20913835.html
> <http://www.nabble.com/ZF-live-settings-tp20911516p20913835.html>  
> Sent from the Zend Framework mailing list archive at Nabble.com. 
>  
> ________________________________________________________________________ 
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________ 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date: 11/17/2008
> 5:24 PM
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date: 11/17/2008
> 5:24 PM
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________
> 
> 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________
> 


-----
dee
-- 
View this message in context: 
http://www.nabble.com/ZF-live-settings-tp20911516p20920891.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to