zimiro Posted November 1, 2013 Share Posted November 1, 2013 como migro a loja para hospedagem ja que no config dela nao tem url do caminho? Link to comment Share on other sites More sharing options...
guest* Posted November 9, 2013 Share Posted November 9, 2013 http://doc.prestashop.com/display/PS15/System+Administrator+Guide#SystemAdministratorGuide-MovingPrestaShop Link to comment Share on other sites More sharing options...
omine Posted November 10, 2013 Share Posted November 10, 2013 Eu mantenho alguns comandos SQL para facilitar no ambiente local # local development environment USE database_name; UPDATE ps_configuration SET value = 'dev-prestashop.com' WHERE name = 'PS_SHOP_DOMAIN'; UPDATE ps_configuration SET value = 'dev-prestashop.com' WHERE name = 'PS_SHOP_DOMAIN_SSL'; UPDATE ps_configuration SET value = 'http://dev-prestashop.com/feed.rss' WHERE name = 'RSS_FEED_URL'; UPDATE ps_configuration SET value = 'http://dev-prestashop.com' WHERE name = 'CANONICAL_URL'; UPDATE ps_configuration SET value = 'http://dev-prestashop.com' WHERE name = 'MB_CANCEL_URL'; UPDATE `ps_shop_url` SET domain = 'dev-prestashop.com', domain_ssl = 'dev-prestashop.com', physical_uri = '/'; no server, online: # production environment USE protein_db; UPDATE ps_configuration SET value = 'prestashop.com' WHERE name = 'PS_SHOP_DOMAIN'; UPDATE ps_configuration SET value = 'prestashop.com' WHERE name = 'PS_SHOP_DOMAIN_SSL'; UPDATE ps_configuration SET value = 'http://prestashop.com/feed.rss' WHERE name = 'RSS_FEED_URL'; UPDATE ps_configuration SET value = 'http://prestashop.com' WHERE name = 'CANONICAL_URL'; UPDATE ps_configuration SET value = 'http://prestashop.com' WHERE name = 'MB_CANCEL_URL'; UPDATE `ps_shop_url` SET domain = 'prestashop.com', domain_ssl = 'prestashop.com', physical_uri = '/'; Note que esses são parâmetros básicos. Verifique na tabela "ps_configuration" se existe alguma coluna com "value" = "nome do dominio", pois pode existir outras configurações referentes a módulos terceiros. Atenção a essa parte: UPDATE `ps_shop_url` SET domain = 'dev-prestashop.com', domain_ssl = 'dev-prestashop.com', physical_uri = '/'; Caso a loja esteja sob um folder, configure physical_uri de acordo. Exemplo, se o site estiver em http://endereco/loja O parâmetro "physical_uri" deve ser setado como "/loja/". Após isso, excluir o cache: /cache/smarty/cache /cache/smarty/compile Geralmente faço via SSH para excluir mais rápido. Pelo FTP não recomendo devido quantidade de arquivos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now