Error Log in Arastta

How to Find and Configure the Error Log in Arastta

The error log is very useful when trying to determine bugs or incomplete code on your website. In Arastta there is a build-in error log system that will allow you to see any errors a user has experienced while browsing your store. In the case of a problem with the PHP modules another error log is created inside your Arastta folder on the server. You can check it via SSH/File Manager when you cannot access the website itself.

To find,view and clean the Error Log, you need to complete the following steps:

Step 1 Configuring the Error Log

To configure the Error Log you will need to access the System>Settings section of the main admin menu.

Select the Server tab and scroll down to the bottom of the page for the error log options.

Of course you will not want to display any errors while your store is live as that means your customers will also be able to see them. To enable the logging of errors select Yes in the Log Errors configuration. You will also be able to set a custom name for the Error Log file. This log file is situated in System/log/error.log

Step 2 Accessing the Error log in Arastta

To access the build-in error log you must be logged in your Arastta admin dashboard and then navigate to Tools>Error Logs.

You will not be able to edit anything in the Error List but if you have a big error log it is recommended to clean it after you have resolved the issues in it.

You can do that by clicking the Clear button.

Step 3 How to troubleshoot PHP modules via error_log

Let us say that you have enabled Memcache by mistake via the caching settings inside Arastta, you have Memcached installed but the PHP module is disabled in your PHP version configuration. This will result in a blank page on your store and admin area and if you are not aware what the cause is you might think the only way to fix it is to create a new store. In these cases the auto created error_log is very valuable.

error_log is created in your main Arastta folder and can be opened with the help of cPanel’s File Manager.

You can also open the log via SSH by navigating to the main Arastta folder and using the command:

From this we can clearly see that Memcached is not supported as a PHP module. If you go into cPanel>Select PHP Version, enable memcache/memcached and click Save the website will start working properly again.