Find Jobs
Hire Freelancers

Opencart 1.5.1.3 Undefined Variable when registering

$30-250 USD

Sürüyor
İlan edilme: neredeyse 11 yıl önce

$30-250 USD

Teslimde ödenir
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.
Proje No: 4566978

Proje hakkında

2 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 11 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Will be fixed in few seconds, ready to start now.
$30 USD 0 gün içinde
4,9 (26 değerlendirme)
4,0
4,0
2 freelancers are bidding on average $57 USD for this job
Kullanıcı Avatarı
Hi ready to start Thanks
$83 USD 2 gün içinde
4,9 (160 değerlendirme)
6,8
6,8

Müşteri hakkında

   UNITED STATES bayrağı
Glendale, United States
4,8
14
Ödeme yöntemi onaylandı
Oca 24, 2012 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.