Hi people,
Whilest in the backend of my site I clicked on the error log by mistake and saw that there is some error messages can't see what is causing the errors
PHP Notice: Undefined index: name in /home/********/public_html/catalog/controller/product/product.php on line 484
2012-03-06 18:02:52 - PHP Notice: Undefined index: text in /home/******/public_html/catalog/controller/product/product.php on line 488
2012-03-06 18:02:52 - PHP Notice: Undefined index: rating in /home/*******/public_html/catalog/controller/product/product.php on line 492
2012-03-06 18:02:52 - PHP Notice: Undefined index: captcha in /home/*******/public_html/catalog/controller/product/product.php on line 496
The lines in question are as follows:
if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 25)) {
$json['error'] = $this->language->get('error_name');
}
if ((utf8_strlen($this->request->post['text']) < 25) || (utf8_strlen($this->request->post['text']) > 1000)) {
$json['error'] = $this->language->get('error_text');
}
if (!$this->request->post['rating']) {
$json['error'] = $this->language->get('error_rating');
}
if (!isset($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$json['error'] = $this->language->get('error_captcha');
Any one got a solution or explanation!!!
regards
eddie
Have you modified any of those files to add any extensions? It's always a good idea to get back to square one and have the original files loaded, making sure they work properly. Then you can trace your steps forward and back to find out exactly what's causing the issue(s).
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
??????????????????????????????????Raysky wrote:Looks like the post variables are not present. Check the calling form
Our online shop using OpenCart http://www.enscomputers.co.uk
no I have not changed or added any mods since installing the cart last month, it has appeared out of nowhere.cwswebdesign wrote:Have you modified any of those files to add any extensions? It's always a good idea to get back to square one and have the original files loaded, making sure they work properly. Then you can trace your steps forward and back to find out exactly what's causing the issue(s).
Regards
Eddie
Our online shop using OpenCart http://www.enscomputers.co.uk
Who is online
Users browsing this forum: No registered users and 115 guests