error message

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 19, 2007   (RSS)

By Djulia - December 18, 2007

Hi,

I installed the CMS in : www/mycms/

Now, I want to publish my page in : www/News/

This configuration gives the error message :

Parse error: syntax error, unexpected '(', expecting '}' in /home/xxx/www/mycms/lib/viewer_functions.php on line 39

It is normal ?

Thank you for your answer.

J.

Re: [Djulia] error message

By Dave - December 18, 2007

Sounds like you might have PHP4 running in the /News/ directory instead of PHP5.

You can test with this script. Just create a file called "phpinfo.php" with this in it.

<?php print phpinfo(); ?>

If you have PHP 5.2 running and you still get an error let me know and we'll help you track it down.
Dave Edis - Senior Developer
interactivetools.com