|
Posted by Steve on 08/06/06 22:18
Jerry Stuckle wrote:
> Sounds like you might have a syntax error in your functions.php file.
> First of all, enable all errors in your php.ini file:
>
> error_reporting = E_ALL
>
> Then either check your Apache error log file (if you're using the
> default logging), or set
>
> display_errors = On
>
> in your php.ini file (not recommended for production systems) to see
> what error you're getting.
That did the trick. The problem was that whenever I started a PHP block
with "<?", it didn't work, but when I used "<?php", it works fine (I had
to do that in every place in functions.php).
I did a little more research, and discovered that the reason this was so
was that I had short_open_tags=Off in php.ini. I changed it to on, and
tested, and it worked the way I had it (with short tags).
Thanks for everybody's help. You learn something new every day.
Steve
[Back to original message]
|