Find Jobs
Hire Freelancers

Opencart 1.5.1.3 Undefined Variable when registering - repost

$30-250 USD

Completed
Posted almost 11 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 4567559

About the project

3 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Here is opencart developer,plz check pmb.
$105 USD in 3 days
5.0 (29 reviews)
5.3
5.3
3 freelancers are bidding on average $82 USD for this job
User Avatar
Hi ready to start thanks
$63 USD in 1 day
4.9 (162 reviews)
6.8
6.8
User Avatar
Hello, i understand your requirements well and i am able to solve your problem award me and lets get started, thanks.
$44 USD in 1 day
4.9 (39 reviews)
5.2
5.2
User 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 in 1 day
5.0 (1 review)
1.1
1.1

About the client

Flag of UNITED STATES
Glendale, United States
4.8
14
Payment method verified
Member since Jan 24, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.