DOCUMENTATION.

1.2
MENU

Debugging

To enable error reporting make sure the debug mode is set to true in app/config/app.php.
Also make sure you have the errors turned on in your PHP config file (php.ini).

Ajax Errors

If you came across an error like "Oops! Something went wrong.", check your browser's Console and Network tabs for more information.


If you get errors about the "Request Origin" request make sure you accept the request in ajax.php from where you send it by adding:

header('Access-Control-Allow-Origin: yourwebsite.com');
header('Access-Control-Allow-Origin: www.yourwebsite.com');

Error Handling

EasyLogin Pro comes with a whoops error handling. However, if you want to disable it open app/init.php search for "Register Custom Exception Handling" and delete/comment this line:

$app->startExceptionHandling();