नेपाली गीत:Rajesh Payal Rai/Anju Pant:-खोज्दै आए...
Get link
Facebook
X
Pinterest
Email
Other Apps
-
नेपाली गीत,khojdai aaye, som thapa magar and rajesh payal rai and anju pant music and songs, dinesh subba songs, nepali folk songs, modern pop song, adhunik geet, tanahunge nepal
If you see an error in opencart like below: Notice: Trying to access array offset on the value of type null in .../vendor/scss.inc.php on line 1753 then the solution is: Open the file .../vendor/scss.inc.php and go to line as given in the above case it is 1753 where you will see code like below: foreach ($args as $arg) { list($key, $value) = $arg; $key = $key[1]; if (empty($key)) { $posArgs[] = $value; } else { $keyArgs[$key] = $value; } } Then change the line to the following, the changes done is in bold. foreach ($args as $arg) { list($key, $value) = $arg; if (!empty($key[1])) { $key = $key[1]; } if (empty($key)) { $posArgs[] = $value; } else { $keyArgs[$key] = $value; } } ...
customer: login($email, $password): Check whether the customer is approved and check whether the username and password is correct or not. public function login($email, $password) { if (!$this->config->get('config_customer_approval')) { $customer_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE LOWER(email) = '" . $this->db->escape(strtolower($email)) . "' AND password = '" . $this->db->escape(md5($password)) . "' AND status = '1'"); } else { $customer_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE LOWER(email) = '" . $this->db->escape(strtolower($email)) . "' AND password = '" . $this->db->escape(md5($password)) . "' AND status = '1' AND approved = '1'"); } if ($customer_query->num_rows) { $this->session->data['customer_id'] = $customer_qu...
Comments
Post a Comment