Avenir | Drupal Development | Joomla Development | Magento Development | OsCommerce Development

Thursday, 24 March 2011

Magento Installation from 'Localhost to Server or Server to localhost'

1)Import the Database … If the database seems bulk means empty the following tables,
Log_url
log_url_info
log_visitor
log_visitor_info
log_visitor_online
2) Then made the following changes in the below table
Core_config_data-> web/unsecure/base_url
                                        Web/secure/base_url
3)  Search the current hostname eg:www.example.com and replace with current local host Ip in ‘core_config_data ‘ table
4)      Go to  the path :    app/etc/   and delete the local.xml file
5)      Go to the path:     var/cache, var/session    delete all the files
6)      Check the file permissions for the following  folders
Var
Media
App
7) Check whether the lines commented in the app/code/core/Mage/core/session/Model/abstract/varien.php  files
// set session cookie params
session_set_cookie_params( 
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()//,
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);

By RadhaKrishnan

No comments:

Post a Comment