Jump to content

500 errors all over the place, only 50% of my whmcs is working


Recommended Posts

Hi,

I don't know why my whmcs stop working and I cannot figure this out. I get a lot of  (Internal Server Error 500) but the files have the right permissions, checked 50 times. From what I can understand I get the 500 error when whmcs tries to POST or GET something.

Right now only 50% my whmcs is working.
Anybody got any idea on this problem?

I did not found anything in  error_logs and serverlogs.

 

123.png

Screenshot_1.png

Link to comment
Share on other sites

Hi Andreig,

The 500 Internal Server could be a number of things, can you try enabling errors under Setup > General Settings > Other > Display Errors then try accessing some of your pages to see if an error shows up.

Have you also ensured that you meet the Minimum System requirements?

Do you see any errors under Help > System Health Check

Link to comment
Share on other sites

I have solved the problem.
The problem was generated by the language file, we translated some products from marketplace and used this model for the new translations. Whmcs was somehow fine with this and working on the files where we used that model but other parts of the whmcs core failed.

> $_LANG['store']['sitelock']['feature.desc1'] = "Proactively monitors for and alerts you about any malware that is detected on your website.";

Aparently "['feature.desc1']" was the problem.

Link to comment
Share on other sites

  • 2 weeks later...
On 7/11/2018 at 12:29 PM, andreig. said:

Aparently "['feature.desc1']" was the problem.

 

Maybe the dot in variable name?

Renaming it as follows:

$_LANG['store']['sitelock']['featuredesc1'] = "Proactively monitors for and alerts you about any malware that is detected on your website.";

everything works fine?

Link to comment
Share on other sites

5 hours ago, Remitur said:

Maybe the dot in variable name?

that dot format in language string names is used at least once in the default language files - it's been there since at least v7.1

$_LANG['domainChecker.additionalPricingOptions'] = 'Additional Pricing Options For :domain';

though as @Remitur suggests, you shouldn't do it in the way that you originally tried (I could explain the reason but it's not important) and his suggested format would be a better consistent method.

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