Skip to content

Commit

Permalink
Bug fix in products brand update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiril Kirkov committed Feb 5, 2018
1 parent f10db51 commit 83c32dd
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 0 deletions.
18 changes: 18 additions & 0 deletions application/logs/log-2018-01-23.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2018-01-23 10:05:17 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:17 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:17 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:17 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:19 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:20 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:20 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:20 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:05:20 --> 404 Page Not Found: /index
ERROR - 2018-01-23 10:08:49 --> 404 Page Not Found: /index
ERROR - 2018-01-23 11:21:02 --> 404 Page Not Found: /index
3 changes: 3 additions & 0 deletions application/logs/log-2018-01-30.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2018-01-30 09:09:24 --> 404 Page Not Found: /index
31 changes: 31 additions & 0 deletions application/logs/log-2018-01-31.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2018-01-31 09:16:32 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:32 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:32 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:32 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:35 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:16:52 --> Mailer Error: Could not instantiate mail function.
ERROR - 2018-01-31 09:18:16 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:16 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:16 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:16 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:16 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:17 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:18 --> 404 Page Not Found: /index
ERROR - 2018-01-31 09:18:29 --> Mailer Error: Could not instantiate mail function.
ERROR - 2018-01-31 09:21:11 --> 404 Page Not Found: /index
39 changes: 39 additions & 0 deletions application/logs/log-2018-02-05.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2018-02-05 09:49:40 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:40 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:40 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:40 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:52 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:52 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:52 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:49:52 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:50:38 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:50:38 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:51:52 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:52:44 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:52:44 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:52:44 --> Severity: Notice --> Undefined index: band_id /var/www/html/shop/application/modules/admin/models/Products_model.php 110
ERROR - 2018-02-05 09:52:59 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:52:59 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:52:59 --> Severity: Notice --> Undefined index: band_id /var/www/html/shop/application/modules/admin/models/Products_model.php 110
ERROR - 2018-02-05 09:53:27 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:53:40 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:53:40 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:53:50 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:53:50 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:53:59 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:53:59 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:54:08 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:54:19 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:54:19 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:54:33 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:54:33 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:54:39 --> 404 Page Not Found: /index
ERROR - 2018-02-05 09:54:40 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:54:40 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:54:48 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:54:48 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:55:07 --> Image Upload Error: <p>You did not select a file to upload.</p>
ERROR - 2018-02-05 09:55:07 --> Severity: Notice --> Undefined index: virtual_products /var/www/html/shop/application/modules/admin/models/Products_model.php 109
ERROR - 2018-02-05 09:55:07 --> Severity: Notice --> Undefined index: brand_id /var/www/html/shop/application/modules/admin/models/Products_model.php 110
2 changes: 2 additions & 0 deletions application/modules/admin/models/Products_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public function setProduct($post, $id = 0)
'in_slider' => $post['in_slider'],
'position' => $post['position'],
'virtual_products' => $post['virtual_products'],
'brand_id' => $post['brand_id'],
'time_update' => time()
))) {
log_message('error', print_r($this->db->error(), true));
Expand All @@ -133,6 +134,7 @@ public function setProduct($post, $id = 0)
'position' => $post['position'],
'virtual_products' => $post['virtual_products'],
'folder' => $post['folder'],
'brand_id' => $post['brand_id'],
'time' => time()
))) {
log_message('error', print_r($this->db->error(), true));
Expand Down

0 comments on commit 83c32dd

Please sign in to comment.