This is usually caused due to restriction on executing index.php files by the code in .htaccess of your server. As a result index.php files inside the /cometchat directory are not accessible.
To fix this, add exception to execute all the index.php files inside the /cometchat directory and its sub-directories on your server.
Not finding what you need?
The CometChat team is here to help!