I have posted questions and some investigation to this in the
Q&A forum.Thanks to Stew Brennand who is trying to help.
https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&order=DESC&topic_id=23573&forum=7
I thought I should move it here as the right topic and see
what ideas others have.
Here is the recap:
I did a little checking and found that the
offending line in the generate default^theme.html file
where the line <?php if (): ?> came from the
default/theme.html file and it corresponds to the
line <{if $xoops_showcblock == 1}> in the theme.html file.
There are two occurences of <{if $xoops_showcblock == 1}>
in the theme.html file and similarly, map to two
<?php if (): ?> in the generated file.
I tried to delete the two if and the endif from the
theme.html file and it generated the default^theme.html
file which could be used when I loaded the home page.
Of course the page looks funny with things dislocated.
Any idea why the <{if $xoops_showcblock == 1}> would
generate the <?php if (): ?> line ? as if the "if" with
no condition to check.
Oh, also, I checked the theme.html file and there
is no "<?php>" anywhere in there.
Also, tried another theme phpkaox and the exact same
behavior with the <{if $xoops_showcblock == 1}> generating
the offending <?php if (): ?> in the generated file.
FYI, the error:
Parse error: parse error in /home/xoops/www/html/templates_c/default^theme.html on line 78
Looking at the file line 78:
<td id="centercolumn">
<!-- Display center blocks if any -->
<?php if (): ?> <<=========== this is line 78
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
mySQL: 4.0
PHP: 4.3.3.
xoops: 2.0.7.1
I also wonder if there is anything else I am missing
in the php.ini file that could have caused this but did not
see anything obvious.
Thanks.
Gan