Sgt1966 Posted December 16, 2016 Share Posted December 16, 2016 Installed 1.7.0.2 and when attempting to logon to Admin receive the following message: Warning on line 66 in file /home/....../public_html/config/smartyadmin.config.inc.php[2] Cannot use a scalar value as an array this is a repeated problem by many others as well. how to solve in the Prestashop 1.7.0.2 product ? Link to comment Share on other sites More sharing options...
PaulD Posted December 17, 2016 Share Posted December 17, 2016 (edited) I have same problem as yours in PrestaShop 1.7.0.2 production, not development version. Also in some places, there is "HTMLSPECIALCHARS" instead of module name, theme name, or another another different types of variable across PrestaShop. SERVER INFORMATION: Informácie o serveri: Linux #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 Verzia serverového softvéru: Apache PHP verzia: 7.0.13-1~dotdeb+8.1 Limit pamäte: 128M Maximálna doba vykonávania: 120 Max. veľkosť nahrávaného súboru: 2M Edited December 17, 2016 by PaulD (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted December 17, 2016 Share Posted December 17, 2016 It is solved in this PR, https://github.com/PrestaShop/PrestaShop/pull/7190 2 Link to comment Share on other sites More sharing options...
afr0m3n Posted December 21, 2016 Share Posted December 21, 2016 should i update the files manually from the 3 github files? :/ kind of dunno what to do, shop doesnt work when debug off, when on, errors (mentioned above) appears thanks Link to comment Share on other sites More sharing options...
Rhobur Posted December 24, 2016 Share Posted December 24, 2016 yes, you need to update manually those files either by editing the lines in question or by completely replacing the existing installed files with the Github ones. Link to comment Share on other sites More sharing options...
bellini13 Posted December 24, 2016 Share Posted December 24, 2016 Are you using PHP 7.1.0 by any chance? Link to comment Share on other sites More sharing options...
afr0m3n Posted December 24, 2016 Share Posted December 24, 2016 yes, you need to update manually those files either by editing the lines in question or by completely replacing the existing installed files with the Github ones. thanks a lot ! Are you using PHP 7.1.0 by any chance? dunno if u'Re asking me, but - no, i'm not Informace o serveruServer information: Linux #1 SMP Thu Dec 8 14:04:32 EST 2016 x86_64 Server software version: Apache PHP version: 5.4.45 Memory limit: 128M Max. doba provádění: 30 Upload Max File size: 20M Informace o databáziMySQL version: 5.5.52-0ubuntu0.12.04.1 MySQL engine: InnoDB MySQL driver: DbPDO menu_configurePrestaShop version: 1.7.0.2 Current theme in use: classic 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