ZikmaSolutions Posted October 9, 2018 Share Posted October 9, 2018 (edited) Today, like most of you , we got new bag, new problem, new issue with Presta Shop. Today problem is:4 errors Error found : CData section not finished Use this native module to connect with your custom in country_module_list.xml file. Error found : Premature end of data in tag additional_description line 1 in country_module_list.xml file. Error found : Premature end of data in tag module line 1 in country_module_list.xml file. Error found : Premature end of data in tag modules line 1 in country_module_list.xml file. Version is latest 1.6.1.21 , related 3. October 2018. Fresh install. No modules, no customizing, no products. Edited October 9, 2018 by ZikmaSolutions (see edit history) Link to comment Share on other sites More sharing options...
Danny Posted October 9, 2018 Share Posted October 9, 2018 (edited) Hi, i'm experiencing the same problem (errors without doing nothing wrong) ... and i bet others .... I think the problem is the server addons.prestashop.com that doesn't working correctly right now... I'll wait 'til the server will work again. I'm confident, then, the errors will disappears... maybe after clearing the cache. Danny Edited October 9, 2018 by Danny (see edit history) Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted October 9, 2018 Author Share Posted October 9, 2018 Maybe I have found a solution. Need to change something to this file: /public_html/classes/controller/AdminController.php at line 2159 and change libxml_use_internal_errors(true) to (false) . Errors are not displayed now. libxml_use_internal_errors(false); $country_module_list = file_get_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST); $must_have_module_list = file_get_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_MUST_HAVE_MODULES_LIST); $all_module_list = array(); if (!empty($country_module_list) && $country_module_list_xml = @simplexml_load_string($country_module_list)) { $country_module_list_array = array(); if (is_object($country_module_list_xml->module)) { foreach ($country_module_list_xml->module as $k => $m) { $all_module_list[] = (string)$m->name; } } } else { foreach (libxml_get_errors() as $error) { $this->errors[] = Tools::displayError(sprintf('Error found : %1$s in country_module_list.xml file.', $error->message)); } } Link to comment Share on other sites More sharing options...
Danny Posted October 9, 2018 Share Posted October 9, 2018 [1.6.1.18] (my version) Hi, i'm experiencing the same problem (errors without doing nothing wrong) ... and i bet others .... I think the problem is the server addons.prestashop.com that doesn't working correctly right now... I'll wait 'til the server will work again. I'm confident, then, the errors will disappears... maybe after clearing the cache. UPDATE! After a few hours everything is now ok, no more errors. Just wait and do nothing for a while. Often are server problems and doing this or that could cause some files corruption.. PS. Just an advice... disable the module about "Best Trader" (don't remember the name) ... gamification module... it's not useful and often slows backoffice loading. Danny Link to comment Share on other sites More sharing options...
Rabelpla Posted October 9, 2018 Share Posted October 9, 2018 3 hours ago, Danny said: [1.6.1.18] (my version) Hi, i'm experiencing the same problem (errors without doing nothing wrong) ... and i bet others .... I think the problem is the server addons.prestashop.com that doesn't working correctly right now... I'll wait 'til the server will work again. I'm confident, then, the errors will disappears... maybe after clearing the cache. UPDATE! After a few hours everything is now ok, no more errors. Just wait and do nothing for a while. Often are server problems and doing this or that could cause some files corruption.. PS. Just an advice... disable the module about "Best Trader" (don't remember the name) ... gamification module... it's not useful and often slows backoffice loading. Danny Hello The cache I delete is the entire contents of the app / cache /? folder. or delete any particular file? I still do not work any prestashop website. Raquel Link to comment Share on other sites More sharing options...
Danny Posted October 9, 2018 Share Posted October 9, 2018 (edited) 26 minutes ago, Rabelpla said: Hello The cache I delete is the entire contents of the app / cache /? folder. or delete any particular file? I still do not work any prestashop website. Raquel 1. Wait for a better server running performances on prestashop.com .... then check if error appear again... then... 2. Control panel / Administration / Performance -------> Clear cache 3. Check if the error appear again. 4. I also suggest to disable gamification module (customers expertise) to improve BO performances. 5. Check if the error appear again and eventually improvement of performances BO if none of this help your situation you can try with the other suggestions you can find inside the forum... Danny Edited October 9, 2018 by Danny (see edit history) Link to comment Share on other sites More sharing options...
Rabelpla Posted October 9, 2018 Share Posted October 9, 2018 (edited) thank you very much It starts to work little by little, now I get this error, you can not pay with Paypal (The payment option for paypal already works), But I keep showing this error : Warning: array_merge (): Argument # 2 is not an array in /var/www/vhost/alu10.com/home/html/src/Core/Payment/PaymentOption.php on line 326 Warning: array_merge (): Argument # 2 is not an array in /var/www/vhost/alu10.com/home/html/src/Core/Payment/PaymentOption.php on line 326 It comes out on this page;https://alu10.com/en/order I do not understand why he shows me this error, any solution to this? Raquel Edited October 9, 2018 by Rabelpla (see edit history) Link to comment Share on other sites More sharing options...
Danny Posted October 9, 2018 Share Posted October 9, 2018 (edited) 25 minutes ago, Rabelpla said: thank you very much It starts to work little by little, now I get this error, you can not pay with Paypal: Warning: array_merge (): Argument # 2 is not an array in /var/www/vhost/alu10.com/home/html/src/Core/Payment/PaymentOption.php on line 326 Warning: array_merge (): Argument # 2 is not an array in /var/www/vhost/alu10.com/home/html/src/Core/Payment/PaymentOption.php on line 326 It comes out on this page;https://alu10.com/en/order I do not understand why you can not pay now with Paypal and because you give me this error, do you know any? Raquel It's not easy at distance to help you... but if you're saying that your shop is starting to work again, little by little, i suggest to check things i said to you before... keeping calm.. clear cache, disable gamification module (customers expertise), clear cache again and check for errors. Try a few times. Once you've done this, there's always a possibility that *server problems* still affect your installation, and it's a thing related to *addons* and *modules* and their communication to your store. So.... probably you need to wait more.... Then check if your *all* payment modules don't work or just *paypal* At the end, and proceeding step by step... you can eventually considering check the *paypal module* Danny PS. Your *paypal error* is now disappeared... just checked your checkout process a few minutes ago. Edited October 9, 2018 by Danny (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