andreig. Posted July 10, 2018 Share Posted July 10, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted July 11, 2018 Share Posted July 11, 2018 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 0 Quote Link to comment Share on other sites More sharing options...
andreig. Posted July 11, 2018 Author Share Posted July 11, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted July 24, 2018 Share Posted July 24, 2018 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 24, 2018 Share Posted July 24, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.