Enable debugging

Enable debugging

As much as I struggle to make AppMail compatible out-of-the-box with any host, this is just unrealistic since the configuration vary so much between the hosts.

By default, AppMail runs in production mode, that is, no errors are show to the end user. That also means that if you get a serious error (most of the time a file permission error) the application will stop running and you will get a white screen.
If this happens, most probably you will open a support ticket but in order for me to be able to help you, you will have to enable debugging so that i can see exactly the error.

In order to enable debugging, all you have to do, is to open the ‘apps/init.php’ file and at line 16 add:

define('MW_FORCE_DEBUG_MODE', true);

Then save the file and reload the app in your browser to see the actual issue.

    • Related Articles

    • Enable installer debugging

      Sometimes the install process might give you headaches, though this is extremely rare, it seems it can happen. It can be because importing the database schema takes too much time, or because you lose the session in middle of the install, or for any ...
    • Enable the file manager for editor files

      Following screenshots show how to enable the file manager so that you can store assets for your campaigns or generally so that they can be accessed from the editor. Step 1: Step 2: Step 3: Step 4: Step 5: That’s it.
    • Enable campaign geolocation tracking for opens

      In order to enable geolocation tracking for opens, to show you a breakdown of the countries that open your emails, something like: You have to follow a few steps. 1. Go to Backend > Extend > Extensions and enable the Location extension. 2. Once the ...
    • How do I enable command line import for subscribers?

      Importing large CSV files from the web interface, like shown in this article, can be problematic sometimes. This is why we offer an alternative. We offer a way to upload your CSV file which will be queued and then processed by a command line command. ...
    • Enable the use of temporary queue tables when sending campaigns

      The main issue we have with huge AppMail apps is that the campaign_delivery_log table becomes huge (I’ve seen installs with hundred GB’s of data in that table alone) and we use that table to join against when we send the campaigns so that we can see ...