Runtime Error Thrown as Accessing the Home Page

Have you ever had the following problem:

An application error occurred on the server. The current custom error settings for this application prevented the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on local server machine.

To make the details of this specific error message view-able on remote machines, you will need to create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.

This problem is caused by wrong setting for the category. The server is not set to recognize index.php as the default page and thus refuses to load it.

Solution 1:

–Try to add to .htaccess file next directive:

DirectoryIndex index.php

Solution 2:

Set the index.php as the default document under Host Panel->Virtual Directories->Directory Properties->Documents as follows:

Figure 1. Set the Directory Properties in the host cpanel

Figure 2. Set the index.php as the default document

Looking for quality TomatoCart Web Hosting?

Tags: , , , , , , , , | Posted under TomatoCart | RSS 2.0

Author Spotlight

Jack Yin

TomatoCart Developer & Co Founder - Arvixe Web Hosting / TomatoCart Community Liaison

Leave a Reply

Your email address will not be published. Required fields are marked *