Find Jobs
Hire Freelancers

Opencart 1.5.1.3 Undefined Variable when registering - repost

$30-250 USD

Færdiggjort
Slået op næsten 11 år siden

$30-250 USD

Betales ved levering
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.
Projekt-ID: 4567559

Om projektet

3 forslag
Projekt på afstand
Aktiv 11 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
Here is opencart developer,plz check pmb.
$105 USD på 3 dage
5,0 (29 anmeldelser)
5,3
5,3
3 freelancere byder i gennemsnit $82 USD på dette job
Brug Avatar.
Hi ready to start thanks
$63 USD på 1 dag
4,9 (162 anmeldelser)
6,8
6,8
Brug Avatar.
Hello, i understand your requirements well and i am able to solve your problem award me and lets get started, thanks.
$44 USD på 1 dag
4,9 (39 anmeldelser)
5,2
5,2
Brug Avatar.
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 på 1 dag
5,0 (1 bedømmelse)
1,1
1,1

Om klienten

Flag for UNITED STATES
Glendale, United States
4,8
14
Betalingsmetode verificeret
Medlem siden jan. 24, 2012

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.