Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

500 error -> HTML code size is larger than pcre.backtrack_limit 1000000

  • belsange
  • belsange's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago #220818 by belsange
Hello,

I am using limeMpdf to do a summary of the answers entered and I have some issues with it. I get this error: “The HTML code size is larger than pcre.backtrack_limit 1000000. You should use WriteHTML() with smaller string lengths.” I am not sure how to use WriteHTML() directly in the “Content of the PDF” section of the interface. How can I fix this issue?

Thank you
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220823 by DenisChenu
Maybe a specific issue in HTML produced.
Else : did you try remove some string step by step ?
And use class and not style (yuou can create your own class).

else : 1 000 000 seems the default, did you try to boost : mpdf.github.io/troubleshooting/known-iss...ome-sections-missing

Else : you are on the LimeSurvey support forum … not really LimeMpdf support …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • belsange
  • belsange's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago - 2 years 6 months ago #220867 by belsange
Thank you for your answer.

Where should I do the class?

Also, how can I boost on the cloud-hosted version of LimeSurvey?

Thank you
Last edit: 2 years 6 months ago by belsange.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220869 by tpartner
If you are cloud hosted, contact LimeSurvey support direct. This is a volunteer forum for the community.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220879 by DenisChenu
Hope LS cloud update my plugins when i fix it …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • belsange
  • belsange's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago #220922 by belsange
I see.

Still, where should I do the classes to not use "style" ?

Thank you
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220954 by DenisChenu
I think you can not update gitlab.com/SondagesPro/coreAndTools/lime...df/style-custom.twig or gitlab.com/SondagesPro/coreAndTools/lime...mpdf/stylesheet.twig
in limesurvey cloud ?

Check with LimeSurvey GMBH team please.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose