Jump to content

Prestashop 1.6 - BO module_list.xml file ERRORS (SOLUTION FOR FIXING)


ZikmaSolutions

Recommended Posts

Today, 

like most of you , we got new bag, new problem, new issue with Presta Shop. 

Today problem is:

4 errors 

  1. Error found : CData section not finished Use this native module to connect with your custom in country_module_list.xml file.
  2. Error found : Premature end of data in tag additional_description line 1 in country_module_list.xml file.
  3. Error found : Premature end of data in tag module line 1 in country_module_list.xml file.
  4. 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 by ZikmaSolutions (see edit history)
Link to comment
Share on other sites

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 by Danny (see edit history)
Link to comment
Share on other sites

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

[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

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

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 by Danny (see edit history)
Link to comment
Share on other sites

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 by Rabelpla (see edit history)
Link to comment
Share on other sites

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 by Danny (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...