Jump to content

WHMCS 7.2.1 timeout when using language override


Recommended Posts

Today I continued working on my custom language override file. For some reason this makes WHMCS go crazy when you swap language. I double checked the file and did not find any syntax errors. What could cause this issue? Is there a maximum number of override WHMCS can handle? It is about 30 KB / 400 lines. Should overrides file have the same order as the parent file? If so is there a way to auto-arrange this?

 

dutch.php.txt

 

edit: I notice that the txt is set to UNIX EOL whereas the default PHP are apparently set to Windows. I changed the EOL to Windows and this resulted in a new line appearing between every variable. Now the website is working again. When I removed the empty lines it broke again.

 

Not sure how to get this file right...

Edited by Magistar
Link to comment
Share on other sites

It seems to be related to the parsing of the file because now that I set the file to EOL Windows (without removing the empty lines) WHMCS works very fast (e.g. 50ms). When I clean up the blank lines it doesn't render at all, not even after 10 seconds.

 

Maybe someone is willing to rename the text file I attached back to .php and place it in overrides and see if they can reproduce the error?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated