Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

From localhost to external webserver
 
danilodimoia
Member
 
Total Posts:  36
Joined:  2008-04-21
Chieti
 

Let’s say I’ve finished to work on my magento localhost installation. Now I want to put from my pc to another, a public server. Is it possible to :
1. copy all dirs in ext webserver using a FTP client
2. copy MySQL DB in same ext server
3. modify a file to make magento works in new server without prb

If yes, which file I have to modify to do this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
danilodimoia
Member
 
Total Posts:  36
Joined:  2008-04-21
Chieti
 

i’ve tried to put file in another server, re-create DB tables too. I’ve modified also local.xml in magento/app/etc but when i try to load page it appears a page with

PDOException Object
(
    
[message:protected] => SQLSTATE[42S01]Base table or view already exists1050 Table 'mg_core_resource' already exists
    [string
:private] => 
    
[code:protected] => 42S01
    [file
:protected] => /var/www/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php
    [line
:protected] => 109
    [trace
:private] => Array
        (
            
[0] => Array
                (
                    
[file] => /var/www/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] 
=> 109
                    [function] 
=> query
                    [class] 
=> PDO
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => CREATE TABLE `mg_core_resource` (
  `
codevarchar(50NOT NULL default '',
  `
versionvarchar(50NOT NULL default '',
  
PRIMARY KEY  (`code`)
ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Resource version registry'
                        
)
[... cut...]

page doesnt’t stop to re-load and print these messages… what’s error? Do I have to modify another file?
Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top