Jump to content
zitu4life

idea Add Future Display browser errors

Recommended Posts

Hello there

I had this idea today and do not know if it is a viable idea, but I will share here.

What if this app has option to activated display browser PHP errors. Some times on WHMCS updates we lost access to admin and we forgot to activated PHP error before starting update.
Since this app connects with WHMCS admin installation by API, maybe it will be able to activated display error when we do not have access to admin.

image.png.adaf1adaaa7a0efb34459cb3f0f13ed9.png

image.png.a1623d61c26ecaa4d604e502348a552e.png

Share this post


Link to post
Share on other sites

Hi @zitu4life

If you're unable to access the administration area, there is a manual configuration file flag option that you can add to  the configuration.php file in the WHMCS root directory to enable error reporting -

$display_errors = true;

Once you are done, be sure to remove the display_errors flag option. 

 

Share this post


Link to post
Share on other sites

You can also run this query -

update tblconfiguration set value = "on" where setting = "DisplayErrors";

 

Share this post


Link to post
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