Hello, I tried to made some modifications on the register account function using fiverr but it went all wrong. So now I can't register any account because it says that you must enter the zipcode, even when you are entering it.
So I need to re install the account registration. I tried to do it, and re uploaded the original files of registration from opencart and my template. But for some reason it doesn't work, and still asking for the zipcode.
Can anyone save me with the list of files involved on registration, or the files that I should re upload. That would be very helpful.
Hope someone can help me with this.
Thanks
Hello, please give me a hand with this.
Need to re install the account registration. I've tried re uploading from controller/account and catalog/view/theme but it still asking for the postcode. So I think that I'm not re uploading every file involved on registration.
What can I do??
The error that I'm getting is $_['error_exists'] from language/account/register.php
The error comes from catalog/controller/account/register.php
What should I check??
I don't know too much about code, but I searched for the "getTotalCustomersByEmail" and found this, nothing looks wrong for me.
Thanks
Need to re install the account registration. I've tried re uploading from controller/account and catalog/view/theme but it still asking for the postcode. So I think that I'm not re uploading every file involved on registration.
What can I do??
The error that I'm getting is $_['error_exists'] from language/account/register.php
The error comes from catalog/controller/account/register.php
Code: Select all
if ($this->model_account_customer->getTotalCustomersByEmail($this->request->post['email'])) {
$this->error['warning'] = $this->language->get('error_exists');
}
I don't know too much about code, but I searched for the "getTotalCustomersByEmail" and found this, nothing looks wrong for me.
Code: Select all
public function getTotalCustomersByEmail($email) {
$query = $this->db->query("SELECT COUNT(*) AS total FROM " . DB_PREFIX . "customer WHERE LOWER(email) = '" . $this->db->escape(strtolower($email)) . "'");
return $query->row['total'];
}
Who is online
Users browsing this forum: Majestic-12 [Bot] and 26 guests