- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2015
02:56 AM
06-12-2015
02:56 AM
Trasferire magento da dominio padre a sottodominio
Ciao a tutti avrei bisogno di spostare un sito creato con magento dal dominio root a un sotto-dominio ad esempio
miodominio.com -----> store.miodominio.com
seguendo una guida ho:
- creato sotto dominio
- creato nuovo db
- importato dati nel db
- modificato la tabella core_config_data coi nuovi path (secure_base e unsecure_base)
- modificato coi nuovi parametri in file /app/etc/local.xml
- svuotato /var/cache/
- spostato tutti i file compreso httpaccess nella nuova directory creata al momento della creazione del subdomain
vedo la home ma nn accedo più al pannello admin e ai prodotti ricevo questo errore:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@store.lavicouture.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
cosa sbaglio?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2015
11:08 AM
06-15-2015
11:08 AM
Re: Trasferire magento da dominio padre a sottodominio
Ciao,
quando ho dovuto farlo, ho seguito questa guida ed è andato tutto liscio.
Un paio di accorgimenti che mi sono segnato:
- Prima di importare il db, esegui il comando SQL
SET FOREIGN_KEY_CHECKS = 0;
- Dopo l'importazione del db, esegui il comando SQL
SET FOREIGN_KEY_CHECKS = 1;
- Elimina fisicamente tutto il contenuto di base_dir/var/cache