# Frequently Asked Questions

#### 1. Where can I ask for support and do you offer custom integrations?

Please leave us an email at support@licensebox.app and we will be happy to help and yes, we do take custom projects. You can also contact us using the Envato support page.

#### 2. How to make LicenseBox verify Envato purchase codes?

If you wish to verify Envato purchase codes of your clients, you should add your Envato API token in the general settings page (You can create a new Envato API token here, if you have not created one yet) and make sure you give it the following permissions (`View your items' sales history`, `Verify purchases of your items`)

#### 3. Why is the included installer locked?

After successful installation, the included installer will get locked automatically. If you wish to do a re-installation, simply upload the `/install` folder again.

#### 4. Why am I getting 404 page not found errors?

Make sure that your server's apache `mod_rewite` is enabled and also check that `.htaccess` file exists in the main script directory.

Note: If you are using Nginx based hosting, kindly check the answer mentioned below.

#### 5. How can I use this with Nginx?

Nginx doesn't support `.htaccess` files, therefore you would need to modify your server's `nginx.conf` file to allow URL rewriting. In most cases adding the following location block in your server block should work. You can also follow this nginx guide for Codeigniter applications.

    location /licensebox {
      try_files $uri $uri/ /licensebox/index.php;
    }

Note: Make sure you change licensebox in the above section with your LicenseBox root folder name (e.g '/license' etc).

#### 6. The .htaccess file exists but URL Rewriting is still not working?

On some servers the default re-write rules may not work, in that case try using the alternate rules mentioned in the `.htaccess` file, simply uncomment the alternate rules and comment back the default rules.

#### 7. URL Rewriting is enabled but I am still getting 404 error/empty page?

Check to see if there is a trailing slash in the url, you can add or remove trailing slashes from the url using the `.htaccess` file, simply uncomment the required rules.

#### 8. How can I add a new language in the API?

To add a new language you would first need to create a new folder with that exact language name (e.g "french" Note: all small characters) in `/application/language/` folder then copy the `english` langauge folder contents and rename them accordingly. Finally you would need to edit the `.po` file using an editor like (Poedit).

#### 9. I am unable to upload large version files?

Kindly check and increase these values `max_execution_time`, `post_max_size` and `upload_max_filesize` in your php.ini file.

#### 10. Why are automated emails not being sent?

First of all, check if you have set-up your cron job correctly. If the emails are still not being sent, check if your server_email/SMTP details are correct in the email settings page.

#### 11. I have added cron job but it is not running?

Make sure your web hosting provider allows the cron duration you have selected (e.g Hostgator has 15 minutes interval limit for shared and reseller accounts) and also check if your account name, LicenseBox root folder path is correct in your cron command.

#### 12. Old session files are not being deleted, what should I do?

LicenseBox relies on the default PHP garbage collector to delete old session files, if you notice that old session files are not being deleted. Kindly check these values `session.gc_probability`, `session.gc_divisor` and `session.gc_maxlifetime` in your php.ini file.

#### 13. Envato API token connection is OK but Cron job fails?

All requests made to the Envato API are dynamically rate limited by Envato. So if you have made a lot of requests in a short span, your token will be rate-limited for some time. You can try contacting the Envato team for more information.

#### ❮ Previous (Internal API Integration)

Please mail us your feedback at support@licensebox.app
Follow us on twitter at @LicenseBoxApp for future product updates