Página 3 de 4

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 26 Fev 2012, 16:53
por Gabriel Martins
E eu que pensei que tinha escrito um texto :lol:

Acho que agora eu entendi rsrs
Bom, vou tentar, se não der certo, vou abrir um ticket na Super Domínios pra eles instalarem a nova versão do OpenCart.
O negócio é fazer um curso de programação durante uns 5 anos pra aprender, porque ta tenso :cry:

Bom, vlw até aqui ;)

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 26 Fev 2012, 17:29
por Renato Frota
Se não der certo, porque não instala você a nova versão? Se ficar pedindo suporte sempre, não vai aprender.

Pode abusar do fórum! :D

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 27 Fev 2012, 00:15
por Gabriel Martins
To tentando, mas como não entendo nada, então ta bem difícil :(
Eu mandei os arquivos da nova versão por cima dos antigos para substituir e depois de pronto, mandei o script...

Então quando eu abri o link "minhaloja.com.br/install/upgrade-14x-to-15x.php" apareceu a mensagem de sucess e tal, que foi instalado, dai lembrei do que você disse de atualizar, e fiz isso várias vezes, na primeira vez a mensagem de aviso mudou e apareceu os seguintes erros..
OpenCart 1.x Upgrade Script (BETA)

The following errors occured:
Could not execute this query: INSERT INTO `option` (`option_id`, `type`, `sort_order`)SELECT `product_option_id`, "select", `sort_order` FROM `product_option`; Duplicate entry '504' for key 'PRIMARY'

Could not execute this query: INSERT INTO `option_description` (`option_id`, `language_id`, `name`)SELECT `product_option_id`, `language_id`, `name` FROM `product_option_description`; Table 'webcom_loja.product_option_description' doesn't exist

Could not execute this query: INSERT INTO `option_value` (`option_value_id`, `option_id`, `sort_order`)SELECT `product_option_value_id`, `product_option_id`, `sort_order` FROM `product_option_value`; Duplicate entry '1267' for key 'PRIMARY'

Could not execute this query: INSERT INTO `option_value_description` (`option_value_id`, `language_id`, `option_id`, `name`)SELECT `pov`.`product_option_value_id` , `language_id` , `pov`.`product_option_id` , `name`FROM `product_option_value_description` AS `povd` INNER JOIN `product_option_value` AS `pov` ON `pov`.`product_option_value_id` = `povd`.`product_option_value_id`; Table 'webcom_loja.product_option_value_description' doesn't exist

The above errors occurred because the script could not properly determine the existing state of those db elements. Your store may not need those changes. Please post any errors on the forums to ensure that they can be addressed in future versions!
OpenCart.com
Eu consigo acessar o painel de controle, mas vários ítens do menu, acho que 15% deles da erro, inclusive o nome do ítem não aparece, e quando eu clico e a página abre, aparece a seguinte mensagem: Você não possui permissão para acessar esta página. Por favor, entre em contato conosco.

Imagem menu:
Imagem

Quando na página "principal" do painel de controle também aparece o seguinte erro:
Imagem

E quando eu acesso o site da loja, aparecem as seguintes mensagens de erro:
Notice: Use of undefined constant HTTP_SERVER - assumed 'HTTP_SERVER' in /home/webcom/public_html/index.php on line 66

Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/webcom/public_html/index.php on line 67
=============


No "Relatório de erros" aparecem os seguintes erros:
2012-02-27 3:10:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:19 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:21 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:26 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
Se quiser dar uma olhada na loja como ta: unimartin.com.br

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 27 Fev 2012, 05:31
por Renato Frota
gabrielmartinsp escreveu:To tentando, mas como não entendo nada, então ta bem difícil :(
Eu mandei os arquivos da nova versão por cima dos antigos para substituir e depois de pronto, mandei o script...

Então quando eu abri o link "minhaloja.com.br/install/upgrade-14x-to-15x.php" apareceu a mensagem de sucess e tal, que foi instalado, dai lembrei do que você disse de atualizar, e fiz isso várias vezes, na primeira vez a mensagem de aviso mudou e apareceu os seguintes erros..
Você confundiu tudo... se você seguir a instrução linha por linha não ia fazer coisas aleatórias só porque "lembrou que eu disse tal coisa". A parte de atualizar com Ctrl+F5 era lá no final, depois de todos os procedimentos de atualização realizados, para corrigir um possível erro do navegador, caso ele mostrasse seu template com defeito quando você acessasse a loja.

E fica a dica: um script de atualização (ou qualquer outro que envolva edição de arquivos, registros no banco de dados, ou qualquer manipulação de dados sensíveis) só se roda UMA VEZ! Se você tem a loja 1.4.x e roda o script, ela vira 1.5.1.2. PRONTO! Não dá para um script converter uma loja que já é 1.5.1.2 (que foi convertida com SUCESSO) para 1.5.1.2 de novo! :lol:

Mas eu acho que o script não realiza nenhuma operação problemática, se executado duas vezes (vou confirmar isso). Continue lendo, tenho boas notícias.
gabrielmartinsp escreveu:Eu consigo acessar o painel de controle, mas vários ítens do menu, acho que 15% deles da erro, inclusive o nome do ítem não aparece, e quando eu clico e a página abre, aparece a seguinte mensagem: Você não possui permissão para acessar esta página. Por favor, entre em contato conosco.

Imagem menu:
Imagem

Quando na página "principal" do painel de controle também aparece o seguinte erro:
Imagem

E quando eu acesso o site da loja, aparecem as seguintes mensagens de erro:
Notice: Use of undefined constant HTTP_SERVER - assumed 'HTTP_SERVER' in /home/webcom/public_html/index.php on line 66

Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/webcom/public_html/index.php on line 67
Esses erros acontecem porque você precisa instalar a tradução da loja 1.5.1.3 (você tem só a tradução dos menus que já existiam na 1.4.x). Baixe: https://forum.opencartbrasil.com.br/ ... =13&t=1975
gabrielmartinsp escreveu:No "Relatório de erros" aparecem os seguintes erros:
2012-02-27 3:10:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:17 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:19 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:19 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:21 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:21 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
2012-02-27 3:10:26 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webcom/public_html/index.php:66) in /home/webcom/public_html/system/library/session.php on line 11
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: scheme in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Undefined index: host in /home/webcom/public_html/catalog/controller/common/seo_url.php on line 110
2012-02-27 3:10:26 - PHP Notice: Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/webcom/public_html/catalog/controller/common/header.php on line 26
Se quiser dar uma olhada na loja como ta: unimartin.com.br
Esses erros são por conta das telas de configuração dos módulos e da loja. Eles só são atualizados depois que você salvar tudo novamente.

1- Sistema > Usuários > Grupos de Usuários
abre seu grupo, seleciona tudo e salva

2- Sistema > Configurações > Editar (ao lado do nome da loja) > Salvar

3- Abra cada uma das extensões (Módulos, Frete, Pagamento e Finalização) que estejam instaladas (ativadas ou não) e salve também.

PRONTO! =)

Se você ver erros como 'Document::setTitle' é porque algum módulo seu da 1.4.x não é compatível com a 1.5.1.3.

E se aqueles dois primeiros erros da página inicial da loja (relativos a HTTP_SERVER) não sumirem, eu ACHO que tem algo a ver com o arquivo config.php. Você renomeou ou editou ele recentemente?

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 27 Fev 2012, 19:30
por Gabriel Martins
Pois então, eu instalei o idioma, o erro com os nomes no menu sairam, ta normal agora, porém aquele erro de acesso negado em algumas páginas do painel de controle continua.

Os erros na página da loja também continuam. Enfim, já solicitei a reinstalação da loja já na nova versão pela Super Domínios, entraram em contato comigo hoje, acredito que amanhã já estaja tudo instalado. Acho melhor começar do zero de novo do que ficar complicando, afinal ficar insistindo no mesmo erro duas vezes é burrice, acho que eu já fiz mais do que devia, obrigado pelo suporte Renato. :)

Vou seguir sua dica também de editar códigos do OC com o Notepad do que com o Dreamweaver.
Em breve eu apareço aqui no Fórum de novo rs. Abraço :mrgreen:

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 29 Fev 2012, 18:00
por Renato Frota
Rapaz, as permissões, são do grupo de usuário. Sistema > Usuários > Grupos de usuários. Era só marcar tudo.

E eu já tinha dito isso...

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 17 Mar 2012, 21:15
por expressinformatica
Boa Noite!!

Estou tentando atualizar minha loja da versão 1.4.9.5 para 1.5.1.2, Rodo o script de atualização e conclui com sucesso...

POrém ao atualizar a página inicial, só aparece o cabeçalho e rodapé... aparece o campo de busca e traz os produtos, mas sem imagens...

Alguém sabe o que pode ser?

Segue o print em anexo

Imagem

Att,

Allan Souza

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 17 Mar 2012, 21:26
por expressinformatica
Já resolvido! Era só atualizar os módulos novos produtos, Produtos em destaque.. etc.. valeu!

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 18 Mar 2012, 13:23
por larva123
bom dia a todos, algúem conseguiu habilitar SWF na versão 1.5.1.3, eu segui
um tutorial do Manoel Vidal para habilitar e até consigo fazer o upload do
swf, porém as pastas onde são upados não aparecem no ckeditor, não aparecem
nada para que possa ser selecionado após upload...

alguem tem a solução para isso...

muito obrigado desde já.

--
Rafael A. Wisch Neves

Re: Atualizar Versão 1.4.9.4 para 1.5.1.3 [Resolvido]

Enviado: 18 Mar 2012, 23:55
por Renato Frota
Por favor, abra outro tópico com sua dúvida, ela não tem nada a ver com a atualização da loja, tratada neste tópico.