Top

Coral CC Release Information

Version 1.2.0
Build Date 29 July 2021
1.2.0

Co

Coral

About CodeCanyon Products

All support requests for CodeCanyon products must be initiated using Envato's messenger or by posting a comment on the CodeCanyon product page.

Frequently Asked Questions

How do I install Coral?

Start by opening the installation.txt file in the main CodeCanyon zip file. Follow the instructions in this file, in order, to get up and running fast. Navigate to your install directory on your website and do your initial database setup, which includes installing the database tables and setting up your account. After you have successfully logged in you are good to go!.

Why no demo?

Coral is designed to show the full paths to files that it monitors. Due to this, I cannot demo this on my own site for security reasons. I know it seems like an inconvenience, but the video demo, product page on my website, and the CodeCanyon product page collectively show Coral in action and offer numerous screenshots and describe the features. Trust me, it is worth more than $28 USD and you won’t be disappointed! If you have pre-sales questions, i.e. want to see pictures or Coral in action, just email me.

How do I setup CronJobs?

If you use cPanel to manage your website, you will need to select Cron jobs and create a new Cron job. Depending on what is installed on your server, you could run any of the following commands at specified intervals (which you select from your cPanel interface). Another, easier option, is to login to your webserver using ssh under an account that has read write access to the Coral installation directory and subdirectories and then update your account's crontab through the shell using crontab -e. Timing examples are easy to find on Google and this will be followed by the path to the command to run. These paths are generated automatically for you, so all you need to do is go to your monitor's options page and scroll to the bottom. Copy the provided code into your Cron GUI or shell and off you go!

Using the Coral CLI

cd /home/username/public_html/coral/app; php cli scan:scan_type 'monitor-slug'

Using Generic PHP Command Line

php -q /home/username/public_html/coral/cron/mysecreykey/scan/scan_type/id

Using Lynx:

lynx -dump http://www.yoursite.com/coral/cron/mysecreykey/scan/scan_type/id &> /dev/null/

Using cUrl:

curl --silent http://www.yoursite.com/coral/cron/mysecreykey/scan/scan_type/id &> /dev/null/

Using wget:

wget http://www.yoursite.com/coral/cron/mysecreykey/scan/scan_type/id

Note: Some hosts have limits on how often Cron jobs can be ran. I recommend to run a comprehensive scan on your monitor at least once per hour.

How to deal with out of memory errors

The easiest way to deal with this is to use the provided Coral Command Line Interface. All monitor scans and other functions can be performed using the PHP CLI - which is not restrained by Apache timeouts or normal memory limits. If you choose to use the web / URL-based methods see below.

If you setup a monitor for a folder that has in excess of 40K files, you will probably run into some memory errors. There are a couple ways to deal with this, but it depends on what your web host allows. If you have access to your php.ini file and can make changes, you will need to bump up your memory_limit value. 32M is good for sites that have less than 10K files. Anything greater than that and you will need to adjust this up to 64M or higher, depending on your specific situation.

Another work around, is that you should break large folders up into smaller monitors. Coral will give you a warning message on the monitor's index page if your monitor is too large. If you can't break up the site, due to the way your site, or client's site is structured, then you will have to bump up your PHP memory limit.

Another thing to consider is that Apache might be configured to timeout scripts after a certain period (usually 30 seconds). If you know how to edit your Apache httpd.conf file, then you can do that as well. However, doing that is way beyond the scope of this support question!