Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
hi
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.
viewtopic.php?f=2&t=9413#p20377
viewtopic.php?f=4&t=7246#p9983

thanks
Hi,

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.
Thanks, this is the file

Attachments

Thanks.

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