Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
i have been installed couch in a subdomain, when i change the extension file html to php, appear error 500 an in the error.log appear this : PHP Parse error: syntax error, unexpected 'require_once' (T_REQUIRE_ONCE) in /home/nouscmeb/public_html/angelcaro/about.php on line 1

i have tried whit his post but dont works.


As being reported in the error log, it appears to be a PHP syntax error (and not a path issue as discussed in the threads you mentioned).

If you could please PM me the 'about.php' template, I'll take a look at it for you.
Thanks, this is the file



I had a look and the error is right there on the first line -
Code: Select all
<? php require_once( 'couch/cms.php' ); ?>

There is a space between '<?' and 'php'. Please remove that to make the statement as follows -
Code: Select all
<?php require_once( 'couch/cms.php' ); ?>

That should rectify the problem.

Hope it helps.
Thank you for your help! now it works.
5 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest