Do NOT post questions related to upgrades.
Question related to a clean install OpenCart 1.5.6.1 ONLY!
Use our FREE search first before posting your "Bug".
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I did a fresh install of 1.5.6.1 and selected mysqli as the driver. After install was done I see errors in both the front and back end of the website and most content is missing. When I change config.php to use mysql instead of mysqli all of the errors go away and the site is working properly.
My server is using php 5.x and mysqli was installed with php.
Front end errors:
Notice: Trying to get property of non-object in /v1561/index.php on line 52
Notice: Trying to get property of non-object in /v1561/index.php on line 61
Warning: Invalid argument supplied for foreach() in /v1561/index.php on line 61
Notice: Trying to get property of non-object in /v1561/index.php on line 69
Fatal error: Call to a member function get() on a non-object in /v1561/index.php on line 103
Back end errors:
Notice: Trying to get property of non-object in /v1561/admin/index.php on line 43
Warning: Invalid argument supplied for foreach() in /v1561/admin/index.php on line 43
I have the following message error when I try to activate Amazon Payments in Extensions > Payments:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/model/setting/setting.php on line 22Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/index.php:81) in /var/www/vhosts/xxxx.it/httpdocs/negozio/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/index.php:81) in /var/www/vhosts/xxxx.it/httpdocs/negozio/system/engine/controller.php on line 29
Notice: Error: Could not load template /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/view/template/module/ebaydisplay.tpl! in /var/www/vhosts/xxxx.it/httpdocs/negozio/system/engine/controller.php on line 90
Solving this bug is quite easy: just renameopenuser2 wrote:Other error message when I try to install eBay display in Extensions > Modules:
Notice: Error: Could not load template /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/view/template/module/ebaydisplay.tpl! in /var/www/vhosts/xxxx.it/httpdocs/negozio/system/engine/controller.php on line 90
Code: Select all
../admin/view/template/module/ebay_display.tpl
Code: Select all
../admin/view/template/module/ebaydisplay.tpl
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
In file admin/controller/payment/amazon_checkout.php, comment out line 297:openuser2 wrote:OpenCart 1.5.6.1 fresh install.
I have the following message error when I try to activate Amazon Payments in Extensions > Payments:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/xxxx.it/httpdocs/negozio/admin/model/setting/setting.php on line 22
Code: Select all
public function install() {
$this->load->model('payment/amazon_checkout');
$this->load->model('setting/setting');
$this->model_payment_amazon_checkout->install();
//$this->model_setting_setting->editSetting('amazon_checkout', $this->settings);
}
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
If you change the default language for any other than English, the language auto-detection doesn't seem to work properly.
The language will never switch, independently of the user-agent information.
(I made sure my session was terminated and my cookies were all deleted.)
There is nothing wrong with the language auto-detection. We tested it in French and everything is fine.prodigieux wrote:If you change the default language for any other than English, the language auto-detection doesn't seem to work properly.
OpenCart custom solutions @ https://villagedefrance.net
2014-02-04 6:30:55 - PHP Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order o ON (op.order_id = o.order_id) WHERE o.store_id = '' AND date_added BETWE' at line 1<br />Error No: 1064<br />SELECT SUM(op.quantity) AS quantity, op.name AS product_name, op.product_id AS product_id FROM order_product op JOIN order o ON (op.order_id = o.order_id) WHERE o.store_id = '' AND date_added BETWEEN '2014-02-1' AND '2014-02-04 06:30:55' GROUP BY op.name ORDER BY SUM(op.quantity) DESC LIMIT 5 in /home3/******/public_html/******/system/database/mysql.php on line 50
I have the same error!!ddowdall wrote:Hi,
I did a fresh install of 1.5.6.1 and selected mysqli as the driver. After install was done I see errors in both the front and back end of the website and most content is missing. When I change config.php to use mysql instead of mysqli all of the errors go away and the site is working properly.
My server is using php 5.x and mysqli was installed with php.
Front end errors:
Notice: Trying to get property of non-object in /v1561/index.php on line 52
Notice: Trying to get property of non-object in /v1561/index.php on line 61
Warning: Invalid argument supplied for foreach() in /v1561/index.php on line 61
Notice: Trying to get property of non-object in /v1561/index.php on line 69
Fatal error: Call to a member function get() on a non-object in /v1561/index.php on line 103
Back end errors:
Notice: Trying to get property of non-object in /v1561/admin/index.php on line 43
Warning: Invalid argument supplied for foreach() in /v1561/admin/index.php on line 43
Please, is there anyone who can help us???
I copied all files via FTP, did an Export from phpMyAdmin and imported the db to the new host. The front end loads with the following erros:
The admin section loads with the following errors:Notice: unserialize() [function.unserialize]: Error at offset 1783 of 1970 bytes in /xxx/xxx/public_html/index.php on line 69
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/pttackle/public_html/store/index.php:69) in /xxx/xxx/public_html/system/library/session.php on line 11
I did kill the browser cookies, cleared vqmod cache and system cache.Notice: unserialize() [function.unserialize]: Error at offset 1783 of 1970 bytes in /xxx/xxx/public_html/admin/index.php on line 51
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /xxx/xxx/public_html/admin/index.php:51) in /xxx/xxx/public_html/system/library/session.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/public_html/admin/index.php:51) in /xxx/xxx/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/public_html/admin/index.php:51) in /xxx/xxx/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
Anyone have any ideas? I'm basically pulling my hair out.
Thanks all.
Mine was already set as mysql, not mysqli. But I solved my problem, the reason was table called "oc_settings" in the database was corrupt, so I had to erase it and reimport it from my backup copy. After that, the problem disappeared. Thanks for your intervention anyway.petpetep wrote:To "mgraphix79" and "maurimarcarneiro"
yehtut wrote:Hi ddowdall,
Change mysqli to mysql in line 21 of config.php and line 24 of admin/config.php.
Good luck.
Ye Htut
http://forum.opencart.com/viewtopic.php ... &start=120
But the same bug in 1.5.6
If customer previous has an order including products with required options.
And admin has after customers first buy, alter product included in previous order and add other required options.
When then customer later click on "Reorder" in order history and checkout.
Product in this new order will pass checkout without the new required options.
Markus Edholm
ME fix IT AB
Facebook
mefixit.se
More generally, the re-order should only be possible if none of its products or options has been changed. I think the upcoming OpenCart 2.0 has already fixed it.snakehult wrote:Bug
If customer previous has an order including products with required options.
And admin has after customers first buy, alter product included in previous order and add other required options.
When then customer later click on "Reorder" in order history and checkout.
Product in this new order will pass checkout without the new required options.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 68 guests