hi, i've uptaded my opencart to 1.5.5.1 and now appears this error message:
Warning: strpos() [function.strpos]: Empty delimiter in /homepages/33/r46754333/htdocs/OpenCart/catalog/controller/common/header.php on line 158
i'm also using sellya theme, but as i've seen in other forums is not a template problem, i've located messages from other users with the same problem, but they havent solved this issue.
thanks.
hi, i've commented this part of code, and error has dissapeared, but i dont know if it can cause big problems
// Daniel's robot detector
// $status = true;
// if (isset($this->request->server['HTTP_USER_AGENT'])) {
// $robots = explode("\n", trim($this->config->get('config_robots')));
//
// foreach ($robots as $robot) {
// if (strpos($this->request->server['HTTP_USER_AGENT'], trim($robot)) !== false) {
// $status = false;
//
// break;
// }
// }
// }
// Daniel's robot detector
// $status = true;
// if (isset($this->request->server['HTTP_USER_AGENT'])) {
// $robots = explode("\n", trim($this->config->get('config_robots')));
//
// foreach ($robots as $robot) {
// if (strpos($this->request->server['HTTP_USER_AGENT'], trim($robot)) !== false) {
// $status = false;
//
// break;
// }
// }
// }
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 19 guests