preoteasa Posted August 4, 2016 Share Posted August 4, 2016 Hello, In the back office of Prestashop 1.6.1.6 I get the following error: 28 errors Error found : error parsing attribute name in country_module_list.xml file. Error found : attributes construct error in country_module_list.xml file. Error found : Couldn't find end of Start Tag contact line 139 in country_module_list.xml file. Error found : xmlParseEntityRef: no name in country_module_list.xml file. Error found : Entity 'nbsp' not defined in country_module_list.xml file. Error found : Specification mandate value for attribute itemscope in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 497 in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 503 in country_module_list.xml file. Error found : Opening and ending tag mismatch: li line 496 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: ul line 492 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: div line 487 and li in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 554 in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 560 in country_module_list.xml file. Error found : Opening and ending tag mismatch: li line 553 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: div line 480 and li in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 611 in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 617 in country_module_list.xml file. Error found : Opening and ending tag mismatch: li line 610 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: div line 434 and li in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 671 in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 677 in country_module_list.xml file. Error found : Opening and ending tag mismatch: li line 670 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: body line 244 and li in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 740 in country_module_list.xml file. Error found : Couldn't find end of Start Tag div line 746 in country_module_list.xml file. Error found : Opening and ending tag mismatch: li line 739 and div in country_module_list.xml file. Error found : Opening and ending tag mismatch: html line 6 and div in country_module_list.xml file. Error found : Extra content at the end of the document in country_module_list.xml file. The problem is that I cannot even find the file country_module_list.xml. Any help would be appreciated. Link to comment Share on other sites More sharing options...
shokinro Posted August 4, 2016 Share Posted August 4, 2016 this file should be under following folder along with other files. /config/xml/default_country_modules_list.xml 1 Link to comment Share on other sites More sharing options...
shokinro Posted August 4, 2016 Share Posted August 4, 2016 (edited) by the way, the file location is defined in /classes/module/Module.php const CACHE_FILE_MUST_HAVE_MODULES_LIST = '/config/xml/must_have_modules_list.xml'; I think this file will be created and maintained by PrestaShop back office admin page, so please make sure the folder is writable (permission 755). Edited August 4, 2016 by shokinro (see edit history) 1 Link to comment Share on other sites More sharing options...
OpenSource Expert Posted August 4, 2016 Share Posted August 4, 2016 Please see default_country_modules_list.xml file exist in config/xml folder. If it does not exist, it means permission is not written for config and xml folder. Set permission 777 for these folder and check it. 1 Link to comment Share on other sites More sharing options...
preoteasa Posted August 4, 2016 Author Share Posted August 4, 2016 The file default_country_modules_list.xml is in the /config/xml/ folder. I have also setup permission 777 on /config and all subfolders/files, but nothing changed. Link to comment Share on other sites More sharing options...
preoteasa Posted August 4, 2016 Author Share Posted August 4, 2016 (edited) I removed the file default_country_modules_list.xml, and the problem seems fixed. The file was generated again. Thank you for your help. Edited August 4, 2016 by preoteasa (see edit history) 1 1 Link to comment Share on other sites More sharing options...
OpenSource Expert Posted August 4, 2016 Share Posted August 4, 2016 That's very good. Now you can mention [solved] in your post. Thanks Link to comment Share on other sites More sharing options...
shokinro Posted August 4, 2016 Share Posted August 4, 2016 I guess the file was locked/opened somehow by some other process - that caused it not updating. Link to comment Share on other sites More sharing options...
preoteasa Posted August 19, 2016 Author Share Posted August 19, 2016 [solved] Is this what you mean? I cannot find anywhere to set the status solved. Link to comment Share on other sites More sharing options...
OpenSource Expert Posted August 19, 2016 Share Posted August 19, 2016 [sOLVED] TopicIf, after posting a topic, you find a solution to your problem, please indicate it in your post and describe the solution.Furthermore if you are the author of the topic for which a solution has been found, please edit your topic title to mark it as [sOLVED]. It's mentioned in Forum rules Best Practices. Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2016 Share Posted August 19, 2016 I encountered the same problem in one shop of my customers today in this case it was enough to clear cache (adv. parameters> performance) while we clear cache - prestashop rebuilds these .xml files 4 Link to comment Share on other sites More sharing options...
cerovic Posted October 26, 2016 Share Posted October 26, 2016 Had same problem, Fixed by deleting the old file default_country_modules_list.xml. thank for sharing solution. Link to comment Share on other sites More sharing options...
HUHA Posted November 23, 2016 Share Posted November 23, 2016 I encountered the same problem in one shop of my customers today in this case it was enough to clear cache (adv. parameters> performance) while we clear cache - prestashop rebuilds these .xml files This option saved me. Thank you. Link to comment Share on other sites More sharing options...
milanleft Posted February 13, 2018 Share Posted February 13, 2018 On 4/8/2016 at 2:22 PM, preoteasa said: I removed the file default_country_modules_list.xml, and the problem seems fixed. The file was generated again. Thank you for your help. Also for me! Thank you guys! Link to comment Share on other sites More sharing options...
selectshop.at Posted March 23, 2018 Share Posted March 23, 2018 On 19.8.2016 at 5:02 PM, vekia said: I encountered the same problem in one shop of my customers today in this case it was enough to clear cache (adv. parameters> performance) while we clear cache - prestashop rebuilds these .xml files This solved for me. Link to comment Share on other sites More sharing options...
Claudiocool Posted October 11, 2018 Share Posted October 11, 2018 It occured here while a server-update with a new linux-version. I think, the creation of that fiile finished in that moment, bit it wasn't completed. Thanks for the solutions here. Link to comment Share on other sites More sharing options...
Marco Posted October 15, 2018 Share Posted October 15, 2018 I have the problem that admin panel doesn't even open when trying. I opened a ticket with my host's support and they send me on this topic. I followed these steps but nothing changed: renamed (to not delete) the .xml file and checked permission to the folders. What else could happend? Link to comment Share on other sites More sharing options...
juancaco Posted October 26, 2018 Share Posted October 26, 2018 Cleaning cache is not an option if access to backend is not possible. The way to go is renaming or deleting default_country_modules_list.xml as I did. It worked and I can now access backend succesfully. Cheers, thank you guys Have a great day Link to comment Share on other sites More sharing options...
Claudiocool Posted November 27 Share Posted November 27 You should try both, one of these solutions will help 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