Nob License Posted February 1, 2020 Share Posted February 1, 2020 hi, There is a big bug in the (new? from 01.02.2020) download version - the html code will be not generated propper: Almost all drop down choose boxes where generated with an false select tag. (i think, this depens only on Boxes with an id - boxes without an id seams to be correct) This is the code snippet from the original installation: <selectid="entity" name="entity" class="js-entity-select custom-select"><option value="0" selected="selected">Kategorien</option><option value="1">Artikel</option><option value="2">Varianten</option><option value="3">Kunden</option><option value="4">Adressen</option><option value="5">Marken</option><option value="6">Lieferanten</option><option value="7">Alias</option><option value="8">Shop Kontaktdaten</option> </selectid="entity"> The tag - selectid - is wrong (blankspace between select an id failure) and this is the reason for the display issue (you cant select anything) With the correct tag select id (blankspace after select) - it works (of course, - tested with debugger). This belongs to all browsers. A have tried to figur out, how the system generates this speciaql tag (with debugger, cetc.), but i can't find this function. Help welcome! THX 2 Link to comment Share on other sites More sharing options...
JBW Posted February 3, 2020 Share Posted February 3, 2020 Guess you are using wrong PHP Version - downgrade to PHP 7.2 Link to comment Share on other sites More sharing options...
Muathime Posted August 7, 2020 Share Posted August 7, 2020 I had the same problem. downgrading to PHP version 7.2.0 solved almost all problems I had. All design bugs were solved by this single trick. Thanks JBW. To check your php version Win cmd: >cd c:\xampp\php or cd c:\php\ //depending on where your php is > php -v //to see your version I was running prestashop 1.7.6.7 on php 7.4 and it was very unhappy! Link to comment Share on other sites More sharing options...
Giamba17 Posted November 15, 2020 Share Posted November 15, 2020 (edited) Hi, The same for me, so I found a solution to get it work on php7.4, waiting for next release. I removed the dash in Twig block {%- block widget_attributes -%} and {%- endblock widget_attributes -%}, witch are now {% block widget_attributes %} and {% endblock widget_attributes %} from file "src/PrestaShopBundle/Resources/views/Admin/TwigTemplateForm/form_div_layout.html.twig" and then delete the twig cache "var/cache/prod/twig". Edited November 15, 2020 by Giamba17 (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