Error handling

This page provides you complete information about the errors if you facing and how to deal with them.

In sometimes script error can be occur either temporary or permanently and you do not know how to deal with them.

Internal Server 500 Error

This error can be occur due to syntax mistake or any programmatic mistake. whenever this type of error occurs you will see logs also in red color textarea. You can report us error with screenshot and logs and it will quickly fixed via OTA Updates into your application.

HTTP ERROR 500

If you have error like above screenshot you need to check following

Please make sure you select PHP version 7.4.15 and MYSQL version should be 5.7+ and below settings should match :

max_exeuction_time : 300 โœ… memory_limit : -1 or 2G โœ… post_max_size : 2G โœ… upload_max_size : 2G โœ…

If you want to know how to update following settings headover to here :

pageServer Requirements

JSON_EXTRACT Error

  1. If your database server type is MYSQL then version should be 5.7.33+

  2. If your database server type is Maria DB then version should be 10.4.+

Reset / Forgot Password Show Error?

Your mail settings is not properly you need to check here

pageMail settings

Paypal error 401

Paypal error can be occur due to invalid keys settings you saved in Payment settings -> Paypal tab or you're testing not supported currency in paypal sandbox such as INR.

Login Access blocked error

At the time of login if you encounter the warning Login access blocked then make sure the user role your account have must have permission of Login. IF not then edit the role from admin and update the permission.

Social login not working

Social login is not working either your callback url is not match or keys is not valid.

Contact Page, Map Shows " development purpose only"

We can not change Google Map that says "for development only". Google Maps is no longer free. You have to associate a credit card so that you can get billed if your site has requests that exceed the $200 credit they give you monthly for free. That is why you get the watermarked maps. For more information, see: https://cloud.google.com/maps-platform/pricing/

Best picture sizes to be use all through the project ?

  • Favicon - 32 x 32px

  • Logo - 200 x 96px

  • Main Slider - 1247 x 520px

  • Advertisement Two non-equal - 820 x 300px , 396 x 303px Three equal - 395 x 395px Two equal - 610 x 342px

  • Blog - 384 x 400px

Hide or Denied Access .env

To Hide or Denied Access .env and create .htaccess file in root folder and write following code.

# Disable Directory listing
Options -Indexes

# block files which needs to be hidden, specify .example extension of the file
</FilesMatch "^\.env">
    Order allow,deny
    Deny from all
<//FilesMatch>

Debug Mode

If you face any 500 error you can follow following docs to show error logs.

pageWhat is APP DEBUG Mode?

419 Page Expired error

In some cases you may meet the unwanted error call 419 page expired to resolve this issue either you can go back to previous page and perform the same operation you're doing or even after tried it out again and again you can do below solution.

Make sure php version 7.4.15 and use all following PHP setting. Its show due to session not save.

404 - error or directory not found

If your application is showing home page only and rest routes showing 404 error then it's due to your apache configuration. The main error behind this error is mod_rewrite.so header is not enabled.

https://stackoverflow.com/questions/13514990/laravel-4-all-routes-except-home-result-in-404-error

Last updated