My costumer can not check out. When I try to inspect the site, I get 4 errors on checkout..
how can I fix this?
checkout:110 Uncaught SyntaxError: Unexpected end of input
checkout:2646 Uncaught SyntaxError: Unexpected token (
checkout:2705 .-----------------------.
| Journal2 Profiler |
|-----------------------|
| Engine | 155 ms |
| ProductTabs | 1 ms |
| HeaderNotice | 0 ms |
| Total | 160 ms |
'-----------------------'
cookieControl-8.0.min.js:1 Cookie Control: Users with a community license cannot use the branding option.
(anonymous) @ cookieControl-8.0.min.js:1
c.onload @ cookieControl-8.0.min.js:1
load (async)
b @ cookieControl-8.0.min.js:1
load @ cookieControl-8.0.min.js:1
(anonymous) @ checkout:2816
jquery-2.1.1.min.js?j2v=2.16.8:4 POST https://xxx.com/index.php?route=journal ... ut/confirm 404
send @ jquery-2.1.1.min.js?j2v=2.16.8:4
ajax @ jquery-2.1.1.min.js?j2v=2.16.8:4
(anonymous) @ checkout:1979
dispatch @ jquery-2.1.1.min.js?j2v=2.16.8:3
r.handle @ jquery-2.1.1.min.js?j2v=2.16.8:3
checkout:2037
error
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
meanwhile I have just find out another issue on my other website running OC 2.1.0.1.
checkout page becomes blank.. costumer can not finish the order..
GET https://djecje-kucice.com/index.php?rou ... t/checkout net::ERR_SPDY_PROTOCOL_ERROR 200
Error / server access logs required to find the root cause. Forum rules.checkout page becomes blank.. costumer can not finish the order..
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
2019-06-24 5:14:40 - PHP Notice: Undefined offset: 0 in /home/xxx/public_html/system/storage/modification/system/library/response.php on line 138
2019-06-24 5:16:08 - PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxx/public_html/system/storage/modification/catalog/controller/product/product.php on line 600
2019-06-24 5:16:28 - PHP Notice: Undefined offset: 0 in /home/xxx/public_html/system/storage/modification/system/library/response.php on line 138
When I change to default template none of the buttons works, so I can not add product to cart.Set your site under temporary maintenance from your admin - > systems - > settings - > edit store - > server tab - > Maintenance Mode. Then, switch back to the default template from the admin - > extensions - > themes page and see if this error message can be reproduced.
I also followed this topic of yours - viewtopic.php?f=170&t=165657
I did disabled few of the extensions (as I have them too many) under modification list.. and nothing..
I than went under log files under modification list and I saw this:
Code: Select all
2019-06-24 5:51:37 - MOD: Modification Default
FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 39
FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 20
LINE: 59
LINE: 80
LINE: 99
FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 23
FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 25
LINE: 31
----------------------------------------------------------------
MOD: SEO Backpack by iSenseLabs
FILE: admin/controller/catalog/product.php
CODE: $data['stores'] = $this->model_setting_store->getStores();
LINE: 829
CODE: $data['keyword'] = $product_info['keyword'];
LINE: 842
CODE: $data['keyword'] = '';
LINE: 846
CODE: getUrlAlias($this->request->post['keyword'])
LINE: 1332
CODE: utf8_strlen($this->request->post['keyword'])
LINE: 1329
CODE: if (isset($this->request->post['keyword'])) {
LINE: 856
FILE: admin/model/catalog/product.php
CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'product_id=" . (int)$product_id . "'");
LINE: 261
LINE: 332
CODE: $data['keyword'] = '';
LINE: 293
CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'product_id=" . (int)$product_id . "') AS keyword
LINE: 353
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'product_id=" . (int)$product_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'");
LINE: 111
LINE: 268
CODE: if (isset($data['product_recurrings'])) {
LINE: 163
FILE: admin/view/template/catalog/product_form.tpl
CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" />
LINE: 242
CODE: <label class="col-sm-2 control-label" for="input-meta-title<?php echo $language['language_id']; ?>"><?php echo $entry_meta_title; ?></label>
LINE: 80
FILE: admin/controller/catalog/category.php
CODE: $data['keyword'] = $category_info['keyword'];
LINE: 449
CODE: $data['keyword'] = '';
LINE: 457
CODE: getUrlAlias($this->request->post['keyword'])
LINE: 551
CODE: utf8_strlen($this->request->post['keyword'])
LINE: 548
FILE: admin/model/catalog/category.php
CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'category_id=" . (int)$category_id . "'");
LINE: 150
LINE: 178
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'category_id=" . (int)$category_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'");
LINE: 50
LINE: 155
CODE: , (SELECT DISTINCT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'category_id=" . (int)$category_id . "') AS keyword
LINE: 250
FILE: admin/view/template/catalog/category_form.tpl
CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" />
LINE: 137
FILE: admin/controller/catalog/manufacturer.php
CODE: $data['keyword'] = $manufacturer_info['keyword'];
LINE: 364
CODE: $data['keyword'] = '';
LINE: 372
CODE: protected function getForm() {
LINE: 265
CODE: getUrlAlias($this->request->post['keyword'])
LINE: 428
CODE: utf8_strlen($this->request->post['keyword'])
LINE: 425
FILE: admin/model/catalog/manufacturer.php
CODE: $manufacturer_id = $this->db->getLastId();
LINE: 15
CODE: $this->db->query("UPDATE " . DB_PREFIX . "manufacturer SET name = '" . $this->db->escape($data['name']) . "', sort_order = '" . (int)$data['sort_order'] . "' WHERE manufacturer_id = '" . (int)$manufacturer_id . "'");
LINE: 53
CODE: public function deleteManufacturer($manufacturer_id) {
LINE: 81
CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'manufacturer_id=" . (int)$manufacturer_id . "'");
LINE: 67
LINE: 86
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'");
LINE: 28
LINE: 72
CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'manufacturer_id=" . (int)$manufacturer_id . "') AS keyword
LINE: 134
FILE: admin/view/template/catalog/manufacturer_form.tpl
CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" />
LINE: 70
FILE: admin/controller/catalog/information.php
CODE: $data['keyword'] = $information_info['keyword'];
LINE: 388
CODE: $data['keyword'] = '';
LINE: 396
CODE: getUrlAlias($this->request->post['keyword'])
LINE: 466
CODE: utf8_strlen($this->request->post['keyword'])
LINE: 463
FILE: admin/model/catalog/information.php
CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'information_id=" . (int)$information_id . "'");
LINE: 63
LINE: 81
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'information_id=" . (int)$information_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'");
LINE: 26
LINE: 68
CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'information_id=" . (int)$information_id . "') AS keyword
LINE: 129
FILE: admin/view/template/catalog/information_form.tpl
CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" />
LINE: 120
FILE: admin/view/template/setting/setting.tpl
CODE: <input type="text" name="config_meta_title" value="<?php echo $config_meta_title; ?>" placeholder="<?php echo $entry_meta_title; ?>" id="input-meta-title" class="form-control" />
LINE: 47
CODE: <textarea name="config_meta_description" rows="5" placeholder="<?php echo $entry_meta_description; ?>" id="input-meta-description" class="form-control"><?php echo $config_meta_description; ?></textarea>
LINE: 71
CODE: <textarea name="config_meta_keyword" rows="5" placeholder="<?php echo $entry_meta_keyword; ?>" id="input-meta-keyword" class="form-control"><?php echo $config_meta_keyword; ?></textarea>
LINE: 92
FILE: admin/view/template/setting/store_form.tpl
CODE: <input type="text" name="config_meta_title" value="<?php echo $config_meta_title; ?>" placeholder="<?php echo $entry_meta_title; ?>" id="input-meta-title" class="form-control" />
LINE: 157
CODE: <textarea name="config_meta_description" rows="5" placeholder="<?php echo $entry_meta_description; ?>" id="input-meta-description" class="form-control"><?php echo $config_meta_description; ?></textarea>
LINE: 181
CODE: <textarea name="config_meta_keyword" rows="5" placeholder="<?php echo $entry_meta_keyword; ?>" id="input-meta-keyword" class="form-control"><?php echo $config_meta_keyword; ?></textarea>
LINE: 202
FILE: catalog/controller/common/home.php
CODE: $this->config->get('config_meta_title')
LINE: 3
CODE: $this->config->get('config_meta_description')
LINE: 6
CODE: $this->config->get('config_meta_keyword')
LINE: 9
CODE: $this->document->setTitle
LINE: 8
FILE: catalog/controller/product/product.php
CODE: $data['description'] = html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8');
LINE: 291
FILE: catalog/controller/product/category.php
CODE: $data['description'] = html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8');
LINE: 142
FILE: catalog/controller/startup/seo_url.php
CODE: parse_str($url_info['query'], $data);
LINE: 124
CODE: foreach ($parts as $part) {
LINE: 28
CODE: url_alias WHERE `query`
LINE: 140
LINE: 151
CODE: $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = '" . $this->db->escape($part) . "'");
LINE: 29
CODE: return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query;
LINE: 188
CODE: if (isset($this->request->get['_route_'])) {
LINE: 29
CODE: if ($url) {
LINE: 193
CODE: public function rewrite($link) {
LINE: 119
CODE: public function index() {
LINE: 17
FILE: catalog/controller/common/seo_url.php
CODE: if (isset($data['route'])) {
LINE: 92
CODE: foreach ($parts as $part) {
LINE: 28
CODE: url_alias WHERE `query`
LINE: 105
LINE: 116
CODE: $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = '" . $this->db->escape($part) . "'");
LINE: 29
CODE: return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query;
LINE: 153
CODE: if (isset($this->request->get['_route_'])) {
LINE: 29
CODE: if ($url) {
LINE: 158
CODE: public function rewrite($link) {
LINE: 123
CODE: public function index() {
LINE: 17
FILE: catalog/controller/common/language.php
CODE: if (isset($this->request->post['redirect'])) {
LINE: 138
FILE: catalog/controller/feed/google_base.php
REGEX: ~^(.*?<description>' \. \$this->config->get\('config_meta_description'\) \. '<\/description>'.*?)$~mi
LINE: 9
----------------------------------------------------------------
MOD: SEO Backpack by iSenseLabs (Breadcrumbs)
CODE: $category_info = $this->model_catalog_category->getCategory($category_id);
LINE: 115
CODE: if ($product_info) {
LINE: 205
----------------------------------------------------------------
MOD: SEO Backpack by iSenseLabs (Canonicals)
CODE: $this->document->addLink($this->url->link('product/product', 'product_id=' . $this->request->get['product_id']), 'canonical');
LINE: 264
CODE: $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'], true), 'canonical');
NOT FOUND!
FILE: catalog/controller/product/manufacturer.php
CODE: $this->document->addLink($this->url->link('product/manufacturer/info', 'manufacturer_id=' . $this->request->get['manufacturer_id'], true), 'canonical');
NOT FOUND!
FILE: catalog/controller/information/information.php
CODE: $this->document->setTitle($information_info['meta_title']);
LINE: 36
FILE: catalog/controller/product/special.php
CODE: $this->document->addLink($this->url->link('product/special', '', true), 'canonical');
NOT FOUND!
CODE: $this->document->addLink(HTTP_SERVER, 'canonical');
LINE: 19
CODE: $data['column_left'] = $this->load->controller('common/column_left');
LINE: 37
----------------------------------------------------------------
MOD: SEO Backpack by iSenseLabs (Front-End Part)
FILE: system/library/document.php
CODE: private $links = array();
LINE: 33
FILE: catalog/controller/common/header.php
CODE: $data['links'] = $this->document->getLinks();
LINE: 84
FILE: catalog/view/theme/bt_comohos/template/common/header.tpl
CODE: <?php foreach ($links as $link) { ?>
LINE: 128
FILE: catalog/view/theme/default/template/common/header.tpl
CODE: <?php foreach ($links as $link) { ?>
LINE: 57
CODE: $this->model_catalog_product->updateViewed($this->request->get['product_id']);
LINE: 680
FILE: catalog/view/theme/bt_comohos/template/product/product.tpl
CODE: <?php echo $header; ?>
LINE: 123
FILE: catalog/view/theme/default/template/product/product.tpl
CODE: <?php echo $header; ?>
LINE: 57
CODE: public function index() {
LINE: 83
CODE: $this->document->setTitle($category_info['meta_title']);
LINE: 145
CODE: if ($manufacturer_info) {
LINE: 147
CODE: $this->document->setTitle($information_info['meta_title']);
LINE: 50
CODE: $this->document->setTitle($manufacturer_info['name']);
LINE: 148
FILE: catalog/controller/error/not_found.php
CODE: public function index() {
LINE: 18
CODE: $this->document->setTitle($this->language->get('text_error'));
LINE: 766
CODE: $data['text_refine'] = $this->language->get('text_refine');
LINE: 158
FILE: catalog/view/theme/bt_comohos/template/product/category.tpl
CODE: <?php echo $header; ?>
LINE: 37
FILE: catalog/view/theme/default/template/product/category.tpl
CODE: <?php echo $header; ?>
LINE: 22
----------------------------------------------------------------
MOD: SEO Backpack by iSenseLabs (URL Unification)
CODE: public function rewrite($link) {
LINE: 135
CODE: $url .= '/' . $query->row['keyword'];
LINE: 215
LINE: 226
CODE: public function rewrite($link) {
LINE: 139
CODE: $url .= '/' . $query->row['keyword'];
LINE: 180
LINE: 191
----------------------------------------------------------------
MOD: <font color="#0000"><b>Add new position</font>
CODE: $data['links'] = $this->document->getLinks();
LINE: 37
FILE: catalog/controller/common/cart.php
CODE: $data['text_empty'] = $this->language->get('text_empty');
LINE: 44
FILE: catalog/controller/common/footer.php
CODE: $data['newsletter'] = $this->url->link('account/newsletter', '', 'SSL');
LINE: 50
FILE: catalog/controller/product/compare.php
CODE: $data['button_cart'] = $this->language->get('button_cart');
LINE: 58
FILE: admin/view/template/design/layout_form.tpl
CODE: <td class="text-left"><select name="layout_module[<?php echo $module_row; ?>][position]" class="form-control">
LINE: 113
CODE: html += ' <option value="content_top"><?php echo $text_content_top; ?></option>';
LINE: 198
----------------------------------------------------------------
MOD: <font color="#0000"><b>Add Newsletter Menu</font>
FILE: admin/controller/common/menu.php
CODE: $this->load->language('common/menu');
LINE: 7
FILE: admin/language/de-DE/common/menu.php
CODE: $_['text_system'] = 'System';
NOT FOUND!
FILE: admin/language/english/common/menu.php
CODE: $_['text_system'] = 'System';
LINE: 70
FILE: admin/controller/marketing/contact.php
CODE: case 'newsletter':
LINE: 123
FILE: admin/model/sale/customer.php
CODE: class ModelSaleCustomer extends Model {
LINE: 8
FILE: admin/view/template/common/menu.tpl
CODE: <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
LINE: 120
----------------------------------------------------------------
MOD: <font color="#0000"><b>Add Product Special Countdown</font>
CODE: $this->model_catalog_product->updateViewed($this->request->get['product_id']);
LINE: 546
----------------------------------------------------------------
MOD: <font color="#0000"><b>Boss - Quick checkout</font>
FILE: catalog/controller/checkout/checkout.php
CODE: if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/checkout/checkout.tpl')) {
LINE: 89
CODE: $data['header'] = $this->load->controller('common/header');
LINE: 88
FILE: catalog/model/setting/setting.php
CODE: $data[$result['key']] = unserialize($setting['value']);
NOT FOUND!
FILE: admin/model/setting/setting.php
CODE: $data[$result['key']] = unserialize($setting['value']);
NOT FOUND!
FILE: catalog/view/theme/bt_comohos/template/payment/cheque.tpl
CODE: $('#button-confirm').bind('click', function() {
NOT FOUND!
FILE: catalog/view/theme/default/template/payment/cheque.tpl
CODE: $('#button-confirm').bind('click', function() {
NOT FOUND!
FILE: catalog/view/theme/bt_comohos/template/payment/pp_pro.tpl
CODE: $('#button-confirm').bind('click', function() {
LINE: 73
FILE: catalog/view/theme/default/template/payment/pp_pro.tpl
CODE: $('#button-confirm').bind('click', function() {
LINE: 73
----------------------------------------------------------------
LINE: 400
CODE: public function deleteProduct($product_id) {
LINE: 444
FILE: catalog/model/checkout/order.php
CODE: $this->db->query("UPDATE " . DB_PREFIX . "product SET quantity = (quantity - " . (int)$order_product['quantity'] . ") WHERE product_id = '" . (int)$order_product['product_id'] . "' AND subtract = '1'");
LINE: 335
CODE: $this->db->query("UPDATE `" . DB_PREFIX . "product` SET quantity = (quantity + " . (int)$product['quantity'] . ") WHERE product_id = '" . (int)$product['product_id'] . "' AND subtract = '1'");
LINE: 362
----------------------------------------------------------------
MOD: NitroPack System Cache Override
FILE: system/library/cache.php
CODE: public function __construct($driver, $expire = 3600) {
LINE: 13
CODE: public function __construct($adaptor, $expire = 3600) {
NOT FOUND!
----------------------------------------------------------------
----------------------------------------------------------------
Use the developers kit - > console tab (F12) to see what error message shows when attempting to add products to the cart. You also have several NOT FOUND! lines in your OCMOD logs. Not a bug with the core.ideep13 wrote: ↑Mon Jun 24, 2019 2:02 pmand the file goes on and on..Code: Select all
2019-06-24 5:14:40 - PHP Notice: Undefined offset: 0 in /home/xxx/public_html/system/storage/modification/system/library/response.php on line 138 2019-06-24 5:16:08 - PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxx/public_html/system/storage/modification/catalog/controller/product/product.php on line 600 2019-06-24 5:16:28 - PHP Notice: Undefined offset: 0 in /home/xxx/public_html/system/storage/modification/system/library/response.php on line 138 after reading an error I used the same advice you gave on other topic - https://forum.opencart.com/viewtopic.php?t=165582 [quote]Set your site under temporary maintenance from your admin - > systems - > settings - > edit store - > server tab - > Maintenance Mode. Then, switch back to the default template from the admin - > extensions - > themes page and see if this error message can be reproduced.[/quote] [b]When I change to default template none of the buttons works, so I can not add product to cart.[/b] I also followed this topic of yours - https://forum.opencart.com/viewtopic.php?f=170&t=165657 I did disabled few of the extensions (as I have them too many) under modification list.. and nothing.. I than went under log files under modification list and I saw this: 2019-06-24 5:51:37 - MOD: Modification Default FILE: system/engine/action.php REGEX: ~(require|include)(_once)?\(([^)]+)~ LINE: 39 FILE: system/engine/loader.php REGEX: ~(require|include)(_once)?\(([^)]+)~ LINE: 20 LINE: 59 LINE: 80 LINE: 99 FILE: system/library/config.php REGEX: ~(require|include)(_once)?\(([^)]+)~ LINE: 23 FILE: system/library/language.php REGEX: ~(require|include)(_once)?\(([^)]+)~ LINE: 25 LINE: 31 ---------------------------------------------------------------- MOD: SEO Backpack by iSenseLabs FILE: admin/controller/catalog/product.php CODE: $data['stores'] = $this->model_setting_store->getStores(); LINE: 829 CODE: $data['keyword'] = $product_info['keyword']; LINE: 842 CODE: $data['keyword'] = ''; LINE: 846 CODE: getUrlAlias($this->request->post['keyword']) LINE: 1332 CODE: utf8_strlen($this->request->post['keyword']) LINE: 1329 CODE: if (isset($this->request->post['keyword'])) { LINE: 856 FILE: admin/model/catalog/product.php CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'product_id=" . (int)$product_id . "'"); LINE: 261 LINE: 332 CODE: $data['keyword'] = ''; LINE: 293 CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'product_id=" . (int)$product_id . "') AS keyword LINE: 353 CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'product_id=" . (int)$product_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'"); LINE: 111 LINE: 268 CODE: if (isset($data['product_recurrings'])) { LINE: 163 FILE: admin/view/template/catalog/product_form.tpl CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" /> LINE: 242 CODE: <label class="col-sm-2 control-label" for="input-meta-title<?php echo $language['language_id']; ?>"><?php echo $entry_meta_title; ?></label> LINE: 80 FILE: admin/controller/catalog/category.php CODE: $data['keyword'] = $category_info['keyword']; LINE: 449 CODE: $data['keyword'] = ''; LINE: 457 CODE: getUrlAlias($this->request->post['keyword']) LINE: 551 CODE: utf8_strlen($this->request->post['keyword']) LINE: 548 FILE: admin/model/catalog/category.php CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'category_id=" . (int)$category_id . "'"); LINE: 150 LINE: 178 CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'category_id=" . (int)$category_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'"); LINE: 50 LINE: 155 CODE: , (SELECT DISTINCT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'category_id=" . (int)$category_id . "') AS keyword LINE: 250 FILE: admin/view/template/catalog/category_form.tpl CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" /> LINE: 137 FILE: admin/controller/catalog/manufacturer.php CODE: $data['keyword'] = $manufacturer_info['keyword']; LINE: 364 CODE: $data['keyword'] = ''; LINE: 372 CODE: protected function getForm() { LINE: 265 CODE: getUrlAlias($this->request->post['keyword']) LINE: 428 CODE: utf8_strlen($this->request->post['keyword']) LINE: 425 FILE: admin/model/catalog/manufacturer.php CODE: $manufacturer_id = $this->db->getLastId(); LINE: 15 CODE: $this->db->query("UPDATE " . DB_PREFIX . "manufacturer SET name = '" . $this->db->escape($data['name']) . "', sort_order = '" . (int)$data['sort_order'] . "' WHERE manufacturer_id = '" . (int)$manufacturer_id . "'"); LINE: 53 CODE: public function deleteManufacturer($manufacturer_id) { LINE: 81 CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'manufacturer_id=" . (int)$manufacturer_id . "'"); LINE: 67 LINE: 86 CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'"); LINE: 28 LINE: 72 CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'manufacturer_id=" . (int)$manufacturer_id . "') AS keyword LINE: 134 FILE: admin/view/template/catalog/manufacturer_form.tpl CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" /> LINE: 70 FILE: admin/controller/catalog/information.php CODE: $data['keyword'] = $information_info['keyword']; LINE: 388 CODE: $data['keyword'] = ''; LINE: 396 CODE: getUrlAlias($this->request->post['keyword']) LINE: 466 CODE: utf8_strlen($this->request->post['keyword']) LINE: 463 FILE: admin/model/catalog/information.php CODE: $this->db->query("DELETE FROM " . DB_PREFIX . "url_alias WHERE query = 'information_id=" . (int)$information_id . "'"); LINE: 63 LINE: 81 CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'information_id=" . (int)$information_id . "', keyword = '" . $this->db->escape($data['keyword']) . "'"); LINE: 26 LINE: 68 CODE: , (SELECT keyword FROM " . DB_PREFIX . "url_alias WHERE query = 'information_id=" . (int)$information_id . "') AS keyword LINE: 129 FILE: admin/view/template/catalog/information_form.tpl CODE: <input type="text" name="keyword" value="<?php echo $keyword; ?>" placeholder="<?php echo $entry_keyword; ?>" id="input-keyword" class="form-control" /> LINE: 120 FILE: admin/view/template/setting/setting.tpl CODE: <input type="text" name="config_meta_title" value="<?php echo $config_meta_title; ?>" placeholder="<?php echo $entry_meta_title; ?>" id="input-meta-title" class="form-control" /> LINE: 47 CODE: <textarea name="config_meta_description" rows="5" placeholder="<?php echo $entry_meta_description; ?>" id="input-meta-description" class="form-control"><?php echo $config_meta_description; ?></textarea> LINE: 71 CODE: <textarea name="config_meta_keyword" rows="5" placeholder="<?php echo $entry_meta_keyword; ?>" id="input-meta-keyword" class="form-control"><?php echo $config_meta_keyword; ?></textarea> LINE: 92 FILE: admin/view/template/setting/store_form.tpl CODE: <input type="text" name="config_meta_title" value="<?php echo $config_meta_title; ?>" placeholder="<?php echo $entry_meta_title; ?>" id="input-meta-title" class="form-control" /> LINE: 157 CODE: <textarea name="config_meta_description" rows="5" placeholder="<?php echo $entry_meta_description; ?>" id="input-meta-description" class="form-control"><?php echo $config_meta_description; ?></textarea> LINE: 181 CODE: <textarea name="config_meta_keyword" rows="5" placeholder="<?php echo $entry_meta_keyword; ?>" id="input-meta-keyword" class="form-control"><?php echo $config_meta_keyword; ?></textarea> LINE: 202 FILE: catalog/controller/common/home.php CODE: $this->config->get('config_meta_title') LINE: 3 CODE: $this->config->get('config_meta_description') LINE: 6 CODE: $this->config->get('config_meta_keyword') LINE: 9 CODE: $this->document->setTitle LINE: 8 FILE: catalog/controller/product/product.php CODE: $data['description'] = html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8'); LINE: 291 FILE: catalog/controller/product/category.php CODE: $data['description'] = html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8'); LINE: 142 FILE: catalog/controller/startup/seo_url.php CODE: parse_str($url_info['query'], $data); LINE: 124 CODE: foreach ($parts as $part) { LINE: 28 CODE: url_alias WHERE `query` LINE: 140 LINE: 151 CODE: $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = '" . $this->db->escape($part) . "'"); LINE: 29 CODE: return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query; LINE: 188 CODE: if (isset($this->request->get['_route_'])) { LINE: 29 CODE: if ($url) { LINE: 193 CODE: public function rewrite($link) { LINE: 119 CODE: public function index() { LINE: 17 FILE: catalog/controller/common/seo_url.php CODE: if (isset($data['route'])) { LINE: 92 CODE: foreach ($parts as $part) { LINE: 28 CODE: url_alias WHERE `query` LINE: 105 LINE: 116 CODE: $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "url_alias WHERE keyword = '" . $this->db->escape($part) . "'"); LINE: 29 CODE: return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query; LINE: 153 CODE: if (isset($this->request->get['_route_'])) { LINE: 29 CODE: if ($url) { LINE: 158 CODE: public function rewrite($link) { LINE: 123 CODE: public function index() { LINE: 17 FILE: catalog/controller/common/language.php CODE: if (isset($this->request->post['redirect'])) { LINE: 138 FILE: catalog/controller/feed/google_base.php REGEX: ~^(.*?<description>' \. \$this->config->get\('config_meta_description'\) \. '<\/description>'.*?)$~mi LINE: 9 ---------------------------------------------------------------- MOD: SEO Backpack by iSenseLabs (Breadcrumbs) CODE: $category_info = $this->model_catalog_category->getCategory($category_id); LINE: 115 CODE: if ($product_info) { LINE: 205 ---------------------------------------------------------------- MOD: SEO Backpack by iSenseLabs (Canonicals) CODE: $this->document->addLink($this->url->link('product/product', 'product_id=' . $this->request->get['product_id']), 'canonical'); LINE: 264 CODE: $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'], true), 'canonical'); [b]NOT FOUND![/b] FILE: catalog/controller/product/manufacturer.php CODE: $this->document->addLink($this->url->link('product/manufacturer/info', 'manufacturer_id=' . $this->request->get['manufacturer_id'], true), 'canonical'); [b]NOT FOUND![/b] FILE: catalog/controller/information/information.php CODE: $this->document->setTitle($information_info['meta_title']); LINE: 36 FILE: catalog/controller/product/special.php CODE: $this->document->addLink($this->url->link('product/special', '', true), 'canonical'); [b]NOT FOUND![/b] CODE: $this->document->addLink(HTTP_SERVER, 'canonical'); LINE: 19 CODE: $data['column_left'] = $this->load->controller('common/column_left'); LINE: 37 ---------------------------------------------------------------- MOD: SEO Backpack by iSenseLabs (Front-End Part) FILE: system/library/document.php CODE: private $links = array(); LINE: 33 FILE: catalog/controller/common/header.php CODE: $data['links'] = $this->document->getLinks(); LINE: 84 FILE: catalog/view/theme/bt_comohos/template/common/header.tpl CODE: <?php foreach ($links as $link) { ?> LINE: 128 FILE: catalog/view/theme/default/template/common/header.tpl CODE: <?php foreach ($links as $link) { ?> LINE: 57 CODE: $this->model_catalog_product->updateViewed($this->request->get['product_id']); LINE: 680 FILE: catalog/view/theme/bt_comohos/template/product/product.tpl CODE: <?php echo $header; ?> LINE: 123 FILE: catalog/view/theme/default/template/product/product.tpl CODE: <?php echo $header; ?> LINE: 57 CODE: public function index() { LINE: 83 CODE: $this->document->setTitle($category_info['meta_title']); LINE: 145 CODE: if ($manufacturer_info) { LINE: 147 CODE: $this->document->setTitle($information_info['meta_title']); LINE: 50 CODE: $this->document->setTitle($manufacturer_info['name']); LINE: 148 FILE: catalog/controller/error/not_found.php CODE: public function index() { LINE: 18 CODE: $this->document->setTitle($this->language->get('text_error')); LINE: 766 CODE: $data['text_refine'] = $this->language->get('text_refine'); LINE: 158 FILE: catalog/view/theme/bt_comohos/template/product/category.tpl CODE: <?php echo $header; ?> LINE: 37 FILE: catalog/view/theme/default/template/product/category.tpl CODE: <?php echo $header; ?> LINE: 22 ---------------------------------------------------------------- MOD: SEO Backpack by iSenseLabs (URL Unification) CODE: public function rewrite($link) { LINE: 135 CODE: $url .= '/' . $query->row['keyword']; LINE: 215 LINE: 226 CODE: public function rewrite($link) { LINE: 139 CODE: $url .= '/' . $query->row['keyword']; LINE: 180 LINE: 191 ---------------------------------------------------------------- MOD: <font color="#0000"><b>Add new position</font> CODE: $data['links'] = $this->document->getLinks(); LINE: 37 FILE: catalog/controller/common/cart.php CODE: $data['text_empty'] = $this->language->get('text_empty'); LINE: 44 FILE: catalog/controller/common/footer.php CODE: $data['newsletter'] = $this->url->link('account/newsletter', '', 'SSL'); LINE: 50 FILE: catalog/controller/product/compare.php CODE: $data['button_cart'] = $this->language->get('button_cart'); LINE: 58 FILE: admin/view/template/design/layout_form.tpl CODE: <td class="text-left"><select name="layout_module[<?php echo $module_row; ?>][position]" class="form-control"> LINE: 113 CODE: html += ' <option value="content_top"><?php echo $text_content_top; ?></option>'; LINE: 198 ---------------------------------------------------------------- MOD: <font color="#0000"><b>Add Newsletter Menu</font> FILE: admin/controller/common/menu.php CODE: $this->load->language('common/menu'); LINE: 7 FILE: admin/language/de-DE/common/menu.php CODE: $_['text_system'] = 'System'; [b]NOT FOUND![/b] FILE: admin/language/english/common/menu.php CODE: $_['text_system'] = 'System'; LINE: 70 FILE: admin/controller/marketing/contact.php CODE: case 'newsletter': LINE: 123 FILE: admin/model/sale/customer.php CODE: class ModelSaleCustomer extends Model { LINE: 8 FILE: admin/view/template/common/menu.tpl CODE: <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li> LINE: 120 ---------------------------------------------------------------- MOD: <font color="#0000"><b>Add Product Special Countdown</font> CODE: $this->model_catalog_product->updateViewed($this->request->get['product_id']); LINE: 546 ---------------------------------------------------------------- MOD: <font color="#0000"><b>Boss - Quick checkout</font> FILE: catalog/controller/checkout/checkout.php CODE: if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/checkout/checkout.tpl')) { LINE: 89 CODE: $data['header'] = $this->load->controller('common/header'); LINE: 88 FILE: catalog/model/setting/setting.php CODE: $data[$result['key']] = unserialize($setting['value']); [b]NOT FOUND![/b] FILE: admin/model/setting/setting.php CODE: $data[$result['key']] = unserialize($setting['value']); [b]NOT FOUND![/b] FILE: catalog/view/theme/bt_comohos/template/payment/cheque.tpl CODE: $('#button-confirm').bind('click', function() { [b]NOT FOUND![/b] FILE: catalog/view/theme/default/template/payment/cheque.tpl CODE: $('#button-confirm').bind('click', function() { [b]NOT FOUND![/b] FILE: catalog/view/theme/bt_comohos/template/payment/pp_pro.tpl CODE: $('#button-confirm').bind('click', function() { LINE: 73 FILE: catalog/view/theme/default/template/payment/pp_pro.tpl CODE: $('#button-confirm').bind('click', function() { LINE: 73 ---------------------------------------------------------------- LINE: 400 CODE: public function deleteProduct($product_id) { LINE: 444 FILE: catalog/model/checkout/order.php CODE: $this->db->query("UPDATE " . DB_PREFIX . "product SET quantity = (quantity - " . (int)$order_product['quantity'] . ") WHERE product_id = '" . (int)$order_product['product_id'] . "' AND subtract = '1'"); LINE: 335 CODE: $this->db->query("UPDATE `" . DB_PREFIX . "product` SET quantity = (quantity + " . (int)$product['quantity'] . ") WHERE product_id = '" . (int)$product['product_id'] . "' AND subtract = '1'"); LINE: 362 ---------------------------------------------------------------- MOD: NitroPack System Cache Override FILE: system/library/cache.php CODE: public function __construct($driver, $expire = 3600) { LINE: 13 CODE: public function __construct($adaptor, $expire = 3600) { [b]NOT FOUND![/b] ---------------------------------------------------------------- ----------------------------------------------------------------
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Now the page is not totally blank, but it keeps loading..
this is the errors from the moment when I try add product in the cart until checkout..
Attachments
problems.png (371.8 KiB) Viewed 58400 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I am having the same exact issue this year on the same site. No one can pass registration checkout. I have Opencart 2.1.0.1. Registration and ordering an item is only possible if the costumer goes the registration page and than make an order.. But if you don't do that, you can not order. Which is very frustrating. I Disabled all extensions, even changed to default theme, can not pass through registering an account, or buying as a guest checkout .. neither of them work.. All of the extension are now disabled.. I now set up to default theme, and I can not pass the button continue after adding a product into card and trying to checkout..
After you choose one if the checkout 'register or guest) .. I am getting this error: content.js:7860 Failed to fetch service name 419
I am clueless what is wrong? Can somebody help me?
Fatal error: Uncaught Error: Call to a member function isLogged() on null in /home/djecjeku/public_html/xx/controller/common/header.php:51 Stack trace: #0 /home/djecjeku/public_html/system/storage/modification/system/engine/loader.php(42): ControllerCommonHeader->index(Array) #1 /home/djecjeku/public_html/xx/controller/common/login.php(89): Loader->controller('common/header') #2 /home/djecjeku/public_html/system/storage/modification/system/engine/action.php(46): ControllerCommonLogin->index(Array) #3 /home/djecjeku/public_html/system/engine/front.php(34): Action->execute(Object(Registry)) #4 /home/djecjeku/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #5 /home/djecjeku/public_html/xx/index.php(174): Front->dispatch(Object(Action), Object(Action)) #6 {main} thrown in /home/djecjeku/public_html/xx/controller/common/header.php on line 51
xx? Is this admin or catalog? In addition, I would suggest to try a fresher version of OC; one of the most recent or the most recent to get rid of most of the past encountered bugs./home/djecjeku/public_html/xx/controller/common/header.php
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 7 guests