Jump to content

Another update, another bug. PS_checkout module


Ray UK

Recommended Posts

After updating to the latest ps_checkout the following error is shown, and the whole site went down.

 

Invalid resource provided: "/home/********/public_html/modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:document:1.2}source': This element is not expected. Expected is one of ( {urn:oasis:names:tc:xliff:document:1.2}seg-source, {urn:oasis:names:tc:xliff:document:1.2}target, {urn:oasis:names:tc:xliff:document:1.2}context-group, {urn:oasis:names:tc:xliff:document:1.2}count-group, {urn:oasis:names:tc:xliff:document:1.2}note, {urn:oasis:names:tc:xliff:document:1.2}alt-trans, ##other{urn:oasis:names:tc:xliff:document:1.2}* ). (in /home//********//public_html/[admin-dir]/ - line 812, column 0)

To get the site back I can remove the ps_checkout module from the modules directory, but I put the module back and the site goes down again.  😕

Link to comment
Share on other sites

7 hours ago, Ray UK said:

After updating to the latest ps_checkout the following error is shown, and the whole site went down.

 

Invalid resource provided: "/home/********/public_html/modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:document:1.2}source': This element is not expected. Expected is one of ( {urn:oasis:names:tc:xliff:document:1.2}seg-source, {urn:oasis:names:tc:xliff:document:1.2}target, {urn:oasis:names:tc:xliff:document:1.2}context-group, {urn:oasis:names:tc:xliff:document:1.2}count-group, {urn:oasis:names:tc:xliff:document:1.2}note, {urn:oasis:names:tc:xliff:document:1.2}alt-trans, ##other{urn:oasis:names:tc:xliff:document:1.2}* ). (in /home//********//public_html/[admin-dir]/ - line 812, column 0)

To get the site back I can remove the ps_checkout module from the modules directory, but I put the module back and the site goes down again.  😕

I'm not big on prestashop checkout but maybe this will help.  Also nice shop, well done!  Also, make sure to have staging copy to test module upgrades or anything for that matter first.

this is a broken XLIFF file inside ps_checkout that crashes the translator when Symfony warms the cache. The bad file is:

/modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf

to fix is bit complicated for posting in a forum to do list, so you may want to reconsider upgrade until you have a staging copy to test it out.

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...