Post by magzen » Sun Feb 07, 2021 12:07 am

Hello,

Iam updating a website that is on my localhost, it is still not in live mode

When i try to update i get the following error

Code: Select all

Error Code(0): Error: Invalid default value for 'date_start'
Error No: 1067
ALTER TABLE `oc_coupon` ENGINE = `MyISAM` in E:\xampp\htdocs\rndml\system\library\db\mysqli.php on line 41
In the backadmin it shows that it is 3.0.3.7, i try to update again and the same error shows up on step 1

Would appreciate any help

Active Member

Posts

Joined
Tue Jun 05, 2012 7:04 pm

Post by straightlight » Sun Feb 07, 2021 12:20 am

See if the following modifications works:

1 - In your system/library/db/mysqli.php file,

find:

Code: Select all

public function __construct($hostname, $username, $password, $database, $port = '3306') {
	   
		$this->connection = new \mysqli($hostname, $username, $password, $database, $port);

		if ($this->connection->connect_error) {
			throw new \Exception('Error: ' . $this->connection->connect_error . '<br />Error No: ' . $this->connection->connect_errno);
		}

								
		$this->connection->set_charset("utf8");
		$this->connection->query("SET SQL_MODE = ''");
										  
		$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
		  
																											
   
	}
replace with:

Code: Select all

public function __construct($hostname, $username, $password, $database, $port = '3306') {
		try {
			$mysqli = @new \MySQLi($hostname, $username, $password, $database, $port);
		} catch (mysqli_sql_exception $e) {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
																															  
		}

		if (!$mysqli->connect_errno) {
			$this->connection = $mysqli;
			$this->connection->report_mode = MYSQLI_REPORT_ERROR;
			$this->connection->set_charset('utf8');
			$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
		} else {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
		}
	}
Then,

find:

Code: Select all

public function connected() {
		return $this->connection->ping();
	}
	
	public function __destruct() {
		$this->connection->close();
	}
	
replace with:

Code: Select all

public function isConnected() {
		if ($this->connection) {
			return $this->connection->ping();
		} else {
			return false;
		}
	}

	/**
	 * __destruct
	 *
	 * Closes the DB connection when this object is destroyed.
	 *
	 */
	public function __destruct() {
		if ($this->connection) {
			$this->connection->close();

			$this->connection = '';
		}
	}
Then, revert your database changes from your backup and try again.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by magzen » Sun Feb 07, 2021 12:54 am

Thanks for your reply, i did the following changes and reverted to the previous DB, then tried to update and received following

Code: Select all

Error Code(0): Error: Invalid default value for 'date_start'
Error No: 1067
ALTER TABLE `oc_coupon` ENGINE = `MyISAM` in E:\xampp\htdocs\rndml\system\library\db\mysqli.php on line 47
you can check the complete file in case i have missed something

Code: Select all

<?php
namespace DB;
final class MySQLi {
	private $connection;

	public function __construct($hostname, $username, $password, $database, $port = '3306') {
		try {
			$mysqli = @new \MySQLi($hostname, $username, $password, $database, $port);
		} catch (mysqli_sql_exception $e) {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
																															  
		}

		if (!$mysqli->connect_errno) {
			$this->connection = $mysqli;
			$this->connection->report_mode = MYSQLI_REPORT_ERROR;
			$this->connection->set_charset('utf8');
			$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
		} else {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
		}
	}

	public function query($sql) {
		$query = $this->connection->query($sql);

		if (!$this->connection->errno) {
			if ($query instanceof \mysqli_result) {
				$data = array();

				while ($row = $query->fetch_assoc()) {
					$data[] = $row;
				}

				$result = new \stdClass();
				$result->num_rows = $query->num_rows;
				$result->row = isset($data[0]) ? $data[0] : array();
				$result->rows = $data;

				$query->close();

				return $result;
			} else {
				return true;
			}
		} else {
			throw new \Exception('Error: ' . $this->connection->error  . '<br />Error No: ' . $this->connection->errno . '<br />' . $sql);
		}
	}

	public function escape($value) {
		return $this->connection->real_escape_string($value);
	}
	
	public function countAffected() {
		return $this->connection->affected_rows;
	}

	public function getLastId() {
		return $this->connection->insert_id;
	}
	
	public function isConnected() {
		if ($this->connection) {
			return $this->connection->ping();
		} else {
			return false;
		}
	}

	/**
	 * __destruct
	 *
	 * Closes the DB connection when this object is destroyed.
	 *
	 */
	public function __destruct() {
		if ($this->connection) {
			$this->connection->close();

			$this->connection = '';
		}
	}
}

Active Member

Posts

Joined
Tue Jun 05, 2012 7:04 pm

Post by magzen » Sun Feb 07, 2021 1:54 am

straightlight wrote:
Sun Feb 07, 2021 12:20 am
See if the following modifications works:

1 - In your system/library/db/mysqli.php file,

find:

Code: Select all

public function __construct($hostname, $username, $password, $database, $port = '3306') {
	   
		$this->connection = new \mysqli($hostname, $username, $password, $database, $port);

		if ($this->connection->connect_error) {
			throw new \Exception('Error: ' . $this->connection->connect_error . '<br />Error No: ' . $this->connection->connect_errno);
		}

								
		$this->connection->set_charset("utf8");
		$this->connection->query("SET SQL_MODE = ''");
										  
		$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
		  
																											
   
	}
replace with:

Code: Select all

public function __construct($hostname, $username, $password, $database, $port = '3306') {
		try {
			$mysqli = @new \MySQLi($hostname, $username, $password, $database, $port);
		} catch (mysqli_sql_exception $e) {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
																															  
		}

		if (!$mysqli->connect_errno) {
			$this->connection = $mysqli;
			$this->connection->report_mode = MYSQLI_REPORT_ERROR;
			$this->connection->set_charset('utf8');
			$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
		} else {
			throw new \Exception('Error: Could not make a database link using ' . $username . '@' . $hostname . '!');
		}
	}
Then,

find:

Code: Select all

public function connected() {
		return $this->connection->ping();
	}
	
	public function __destruct() {
		$this->connection->close();
	}
	
replace with:

Code: Select all

public function isConnected() {
		if ($this->connection) {
			return $this->connection->ping();
		} else {
			return false;
		}
	}

	/**
	 * __destruct
	 *
	 * Closes the DB connection when this object is destroyed.
	 *
	 */
	public function __destruct() {
		if ($this->connection) {
			$this->connection->close();

			$this->connection = '';
		}
	}
Then, revert your database changes from your backup and try again.
I tried with replacing mysqli.php from Opencart 3.0.3.6 it worked through the upgrade with no issues patching 10/10 , but it is missing 1 line from the mysqli.php that is in 3.0.3.7, i dont know if it is an issue ?

Code: Select all

$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");

Active Member

Posts

Joined
Tue Jun 05, 2012 7:04 pm

Post by straightlight » Sun Feb 07, 2021 11:33 am

Good to know. At least, this could be a workaround for users who fails the upgrade similar ways in the future.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by magzen » Sun Feb 07, 2021 2:19 pm

straightlight wrote:
Sun Feb 07, 2021 11:33 am
Good to know. At least, this could be a workaround for users who fails the upgrade similar ways in the future.
So it is ok to update without the following line in mysqli.php? I will not be missing anything in the DB after update? :)

Code: Select all

$this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");
After the update process should i shift back from the mysqli.php 3.0.3.6 to the mysqli.php that is on 3.0.3.7 ?

Thanks for your help

Active Member

Posts

Joined
Tue Jun 05, 2012 7:04 pm

Post by adelante25 » Sun Feb 07, 2021 4:29 pm

hello everyone; I just managed to update it by deletin the line, ($this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");) and what should ı do now.. Should I install mysqli.php version 3.0.3.7 to the server?

Newbie

Posts

Joined
Mon Jan 04, 2021 3:28 am

Post by straightlight » Sun Feb 07, 2021 8:35 pm

adelante25 wrote:
Sun Feb 07, 2021 4:29 pm
hello everyone; I just managed to update it by deletin the line, ($this->connection->query("SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION'");) and what should ı do now.. Should I install mysqli.php version 3.0.3.7 to the server?
If it works as it is right now, I would simply suggest to leave that library file the way it is at this time unless your server leaves you the capability to upgrade to MySQL v8+.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by khnaz35 » Sun Feb 07, 2021 9:26 pm

@straightlight
What happened to OC 4.0.0.b?
Instead comes out 3.0.3.7 :o

Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy. :-*

Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by straightlight » Sun Feb 07, 2021 9:28 pm

khnaz35 wrote:
Sun Feb 07, 2021 9:26 pm
@straightlight
What happened to OC 4.0.0.b?
Instead comes out 3.0.3.7 :o
Still in progress on the master branch.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by adelante25 » Sun Feb 07, 2021 9:32 pm

Hi; add to cart does not work on product screen after upgrade.

Newbie

Posts

Joined
Mon Jan 04, 2021 3:28 am

Post by straightlight » Sun Feb 07, 2021 9:40 pm

adelante25 wrote:
Sun Feb 07, 2021 9:32 pm
Hi; add to cart does not work on product screen after upgrade.
Vague. More information is needed. URL / Screenshot, error logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Feb 07, 2021 9:45 pm

See also this solution if it works: https://github.com/opencart/opencart/is ... -774502931 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by adelante25 » Sun Feb 07, 2021 9:58 pm

straightlight wrote:
Sun Feb 07, 2021 9:40 pm
adelante25 wrote:
Sun Feb 07, 2021 9:32 pm
Hi; add to cart does not work on product screen after upgrade.
Vague. More information is needed. URL / Screenshot, error logs.
2021-01-17 21:20:59 - PHP Warning: fopen(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.store.1610922058): failed to open stream: No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 28
2021-01-17 21:20:59 - PHP Warning: flock() expects parameter 1 to be resource, bool given in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 30
2021-01-17 21:20:59 - PHP Warning: filesize(): stat failed for /home/vipgiy/domains/vipgiy.com/storage/cache/cache.store.1610922058 in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 32
2021-01-17 21:20:59 - PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 32
2021-01-17 21:20:59 - PHP Warning: flock() expects parameter 1 to be resource, bool given in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 34
2021-01-17 21:20:59 - PHP Warning: fclose() expects parameter 1 to be resource, bool given in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 36
2021-01-17 21:53:30 - PHP Warning: unlink(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.catalog.language.1610924009): No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 68
2021-01-18 7:17:21 - PHP Notice: Undefined index: email in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 42
2021-01-18 7:17:21 - PHP Notice: Undefined index: reason_id in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 43
2021-01-18 7:17:21 - PHP Notice: Undefined index: reason_id in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 43
2021-01-18 7:17:21 - PHP Notice: Undefined index: email in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/whatsapp-chat-assets/reasons.php on line 2
2021-01-18 7:17:21 - PHP Notice: Undefined index: reason_id in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 65
2021-01-18 7:17:21 - PHP Notice: Undefined index: reason_id in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 65
2021-01-18 7:17:22 - PHP Notice: Undefined index: email in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 90
2021-01-18 7:17:22 - PHP Notice: Undefined index: reason_id in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 94
2021-01-18 7:17:22 - PHP Notice: Undefined index: in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 95
2021-01-18 7:17:22 - PHP Notice: Undefined index: in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 133
2021-01-18 7:17:22 - PHP Notice: Undefined index: reason_message in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/extension/module/elfsight_whatsapp_chat.php on line 134
2021-01-19 16:12:33 - PHP Warning: unlink(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.currency.1611070525): No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 17
2021-01-22 23:14:49 - PHP Warning: unlink(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.catalog.language.1611349466): No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 17
2021-01-22 23:14:49 - PHP Warning: unlink(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.catalog.language.1611349466): No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 17
2021-01-23 11:24:41 - PHP Warning: unlink(/home/vipgiy/domains/vipgiy.com/storage/cache/cache.catalog.language.1611404679): No such file or directory in /home/vipgiy/domains/vipgiy.com/public_html/system/library/cache/file.php on line 68
2021-01-30 17:28:00 - PHP Notice: Undefined index: code in /home/vipgiy/domains/vipgiy.com/public_html/admin/model/design/layout.php on line 38
2021-01-30 17:28:21 - PHP Notice: Undefined index: code in /home/vipgiy/domains/vipgiy.com/public_html/admin/model/design/layout.php on line 38
2021-02-03 13:52:13 - PHP Warning: mail() has been disabled for security reasons in /home/vipgiy/domains/vipgiy.com/public_html/system/library/mail/mail.php on line 77
2021-02-06 22:01:49 - PHP Warning: mail() has been disabled for security reasons in /home/vipgiy/domains/vipgiy.com/public_html/system/library/mail/mail.php on line 77
2021-02-06 22:08:29 - PHP Warning: mail() has been disabled for security reasons in /home/vipgiy/domains/vipgiy.com/public_html/system/library/mail/mail.php on line 77
2021-02-07 9:22:24 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/setting/setting.php on line 343
2021-02-07 10:42:38 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/setting/setting.php on line 343
2021-02-07 11:07:58 - PHP Notice: Error: Could not load cache adaptor db session! in /home/vipgiy/domains/vipgiy.com/public_html/system/library/session.php on line 36
2021-02-07 11:46:18 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/vipgiy/domains/vipgiy.com/public_html/admin/controller/setting/setting.php on line 343
2021-02-07 16:27:23 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:25 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:27 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:28 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:29 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:35 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:38 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
2021-02-07 16:27:43 - PHP Notice: Undefined index: tr-tr in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117

This my web site vipgiy.com

Newbie

Posts

Joined
Mon Jan 04, 2021 3:28 am

Post by straightlight » Sun Feb 07, 2021 10:02 pm

Clear all files and sub-folders in your storage/cache folder with the exception of index.html file. Then, ensure your CHMOD folder permission settings are recursively set to 0755 from FTP (without error messages or frequent disconnections during the process). In addition, ensure not to be logged in into the admin while doing this process and that your browser cache is also cleared, browser closed then re-opened.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by adelante25 » Sun Feb 07, 2021 10:11 pm

straightlight wrote:
Sun Feb 07, 2021 10:02 pm
Clear all files and sub-folders in your storage/cache folder with the exception of index.html file. Then, ensure your CHMOD folder permission settings are recursively set to 0755 from FTP (without error messages or frequent disconnections during the process). In addition, ensure not to be logged in into the admin while doing this process and that your browser cache is also cleared, browser closed then re-opened.
Thank you for your interest, but I did what you said, but I still get no response when I click add to cart in the product details. does not give any error. It just doesn't work. It happened after 3.0.3.7 update.

Newbie

Posts

Joined
Mon Jan 04, 2021 3:28 am

Post by straightlight » Sun Feb 07, 2021 10:13 pm

adelante25 wrote:
Sun Feb 07, 2021 10:11 pm
straightlight wrote:
Sun Feb 07, 2021 10:02 pm
Clear all files and sub-folders in your storage/cache folder with the exception of index.html file. Then, ensure your CHMOD folder permission settings are recursively set to 0755 from FTP (without error messages or frequent disconnections during the process). In addition, ensure not to be logged in into the admin while doing this process and that your browser cache is also cleared, browser closed then re-opened.
Thank you for your interest, but I did what you said, but I still get no response when I click add to cart in the product details. does not give any error. It just doesn't work. It happened after 3.0.3.7 update.
Use the Developers Kit (F12) and see the Console tab and the Network > XHR tab for errors or please post your URL.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by adelante25 » Sun Feb 07, 2021 10:17 pm

straightlight wrote:
Sun Feb 07, 2021 10:13 pm
adelante25 wrote:
Sun Feb 07, 2021 10:11 pm
straightlight wrote:
Sun Feb 07, 2021 10:02 pm
Clear all files and sub-folders in your storage/cache folder with the exception of index.html file. Then, ensure your CHMOD folder permission settings are recursively set to 0755 from FTP (without error messages or frequent disconnections during the process). In addition, ensure not to be logged in into the admin while doing this process and that your browser cache is also cleared, browser closed then re-opened.
Thank you for your interest, but I did what you said, but I still get no response when I click add to cart in the product details. does not give any error. It just doesn't work. It happened after 3.0.3.7 update.
Use the Developers Kit (F12) and see the Console tab and the Network > XHR tab for errors or please post your URL.
www.vipgiy.com my url

Newbie

Posts

Joined
Mon Jan 04, 2021 3:28 am

Post by straightlight » Sun Feb 07, 2021 10:20 pm

Notice: Undefined index: en-gb in /home/vipgiy/domains/vipgiy.com/public_html/catalog/controller/startup/startup.php on line 117
You have this error message from the top right on the common/home of the site which means something went wrong with the upgrade process with your language codes.

As for the product thumbnail images, they are not showing for the following three reasons:

1 - No images are assigned at all to your products
2 - Image permissions
3 - Images are on your server but using the wrong path from FTP or from the database

As for adding products to the cart, when clicking on a product category, it says: Product not found! since the product ID cannot be found on the URL. These issues are all caused by a failed upgrade process or you're experiencing SEO URL issues. If you're not sure how to upgrade your store, you can either create a new service request in the Commercial Support section of the forum or send me a PM directly in order to get this done as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by joscarfom » Wed Feb 24, 2021 6:29 pm

Hi!

I was experiencing the same problem when upgrading from 3.0.3.6 to 3.0.3.7:

Code: Select all

Error Code(0): Error: Invalid default value for 'date_start'
Error No: 1067
ALTER TABLE `oc_coupon` ENGINE = `MyISAM`
I was able to see that a fix has already been implemented in the 3.0.x.x_Maintenance of the GitHub repository (thanks!)

https://github.com/opencart/opencart/co ... 76e934b75e

Rather than applying such changes ourselves, I was wondering if a new release that ships them is scheduled soon :)

Newbie

Posts

Joined
Wed Feb 24, 2021 6:10 pm
Who is online

Users browsing this forum: No registered users and 68 guests