Find Jobs
Hire Freelancers

Opencart 1.5.1.3 Undefined Variable when registering - repost

$30-250 USD

Concluído
Publicado há quase 11 anos

$30-250 USD

Pago na entrega
PHP Notice: Undefined variable: payment_address in /home5/skyview2/public_html/catalog/controller/checkout/[login to view URL] on line 89 Here is whats going on. A. At first i was getting the errors below so i searched google and found a so called solution Problem : message in the error log on fresh opencart install Undefined index: payment_address_id ...... checkout/[login to view URL] on line 11 Undefined index: shipping_address_id ...... checkout/[login to view URL] on line 11 Solution: 1. EDIT: catalog/controller/checkout/[login to view URL] 2. FIND: Code: Select all if ($this->customer->isLogged()) { 3. REPLACE WITH: Code: Select all if ($this->customer->isLogged() && isset($this->session->data['shipping_address_id'])) { 4. EDIT: catalog/controller/checkout/[login to view URL] 5. FIND: Code: Select all if ($this->customer->isLogged()) { 6. REPLACE WITH: Code: Select all if ($this->customer->isLogged() && isset($this->session->data['payment_address_id'])) { B. Now that i did the above code update i get another message below i have not way of solving . PHP Notice: Undefined variable: payment_address in /home5/skyview2/public_html/catalog/controller/checkout/[login to view URL] on line 89 C. I also had the below issue that i think i solved by finding a solution online but i rather you fix it. PHP Notice: Undefined index: zone_id in /home3/xxxxx/public_html/xxxxx/catalog/controller/account/[login to view URL] on line 322 the online solution is below Your registration control is looking for a variable in your registration form that is not there: Code: Select all if ($this->request->post['zone_id'] == '') { $this->error['zone'] = $this->language->get('error_zone'); } AND THIS: if (isset($this->request->post['zone_id'])) { $this->data['zone_id'] = $this->request->post['zone_id']; } else { $this->data['zone_id'] = ''; } Make sure this line of code is in your registration form: Code: Select all * File: catalog/view/theme/your_theme/template/account/[login to view URL] Here is what i want ...i want opencart 1.5.1.3 with full stable checkout module working without problems. Fix the solution and give me the files to upload to live site. ATTENTION. The errors are all from default checkout module not modules added. To see the error you must always register a new member on the checkout page and complete a checkout with payment module set on cash on delivery. ....Also test the checkout with products requiring shipping and products not requiring shipping...this can effect the error output.
ID do Projeto: 4567559

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 11 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Here is opencart developer,plz check pmb.
$105 USD em 3 dias
5,0 (29 avaliações)
5,3
5,3
3 freelancers estão ofertando em média $82 USD for esse trabalho
Avatar do Usuário
Hi ready to start thanks
$63 USD em 1 dia
4,9 (162 avaliações)
6,8
6,8
Avatar do Usuário
Hello, i understand your requirements well and i am able to solve your problem award me and lets get started, thanks.
$44 USD em 1 dia
4,9 (39 avaliações)
5,2
5,2
Avatar do Usuário
Sir, I hope I am able to help you. I have more than 2 years experiences in web development. Details given upon discussion. Regards, Bdphpguru
$77 USD em 1 dia
5,0 (1 avaliação)
1,1
1,1

Sobre o cliente

Bandeira do(a) UNITED STATES
Glendale, United States
4,8
14
Método de pagamento verificado
Membro desde jan. 24, 2012

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.