davy_yg Posted June 14, 2017 Share Posted June 14, 2017 Hello, I am trying to install my online ecommerce shop offline. I am using the basic template of prestashop: I am receiving this error message and how to fix it? Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\ecommerce.riverdemus.com\classes\db\DbQuery.php:70 Stack trace: #0 C:\xampp\htdocs\ecommerce.riverdemus.com\classes\ObjectModel.php(219): DbQueryCore->from('shop', 'a') #1 C:\xampp\htdocs\ecommerce.riverdemus.com\classes\shop\Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #2 C:\xampp\htdocs\ecommerce.riverdemus.com\classes\shop\Shop.php(399): ShopCore->__construct('1') #3 C:\xampp\htdocs\ecommerce.riverdemus.com\config\config.inc.php(100): ShopCore::initialize() #4 C:\xampp\htdocs\ecommerce.riverdemus.com\index.php(27): require('C:\\xampp\\htdocs...') #5 {main} thrown in C:\xampp\htdocs\ecommerce.riverdemus.com\classes\db\DbQuery.php on line 70 Link to comment Share on other sites More sharing options...
fitgura Posted June 14, 2017 Share Posted June 14, 2017 Something must be with your xampp.. What mysql version do you use? Is your presta database in innoDB format? Link to comment Share on other sites More sharing options...
davy_yg Posted June 22, 2017 Author Share Posted June 22, 2017 (edited) Yes it is in innoDB format. It is written next to each tables. Edited June 22, 2017 by davy_yg (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now