Can you change it to the below? I've added an extra line which will display the path to the file that it's trying to load. Check that the displayed path to the file is correct.
The text that it's displaying is a path to a file. Can you check using your FTP programme that the path is correct and that the file exists at that location? Only you can know because it's different from server to server. One thing I noticed is there is a double "//" in there. For the $cmtx_folder line you probably put '/commentics//' instead of '/commentics/'.
Also between the 'var_dump' line and the 'require' line, add this:
PHP Code:
<?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php')) {
echo 'File exists';
} else {
echo 'File does not exist';
}
I put '/' before 'frontend/index.php' just like '/frontend/index.php' and I removed it. I added your php code for file exists confirmation and it is showing:
The error is :
Fatal error: Can't use function return value in write context in /home/stechsia/public_html/durgapur.stechvision.com/commentics/frontend/controller/main/comments.php on line 213
Oh!! my God.
Finally comment form is visible on my page . Thank you for your great support !!!
Above comment form this line is never hiding.
string(81) "/home/stechsia/public_html/durgapur.stechvision.com/commentics/frontend/index.php" File exists
So I did not submit the form and I am very excited to submit ........