PHP comments being displayed, fatal error occurs

See all posts Reply

PHP comments being displayed, fatal error occurs new!
by Brian, 17 years, 4 months ago
I recently upgraded to PHP 5.2 after I got a bug mentioned in the forum about isReadable. However, now when I even try the sample index.html/upload.php you provide with 0.20, the page shows all the PHP comments (except the ones started with the double-forward slash) as well as all the code and then finally gives a fatal error about not finding the 'Upload' class. I have tried 0.21RC1 with the same results. Any ideas? Thanks in advance.Reply
Re: PHP comments being displayed, fatal error occurs new!
by Brian, 17 years, 4 months ago
Ok, I seemed to solve the issue, I opened up class.upload.php and changed the first line from:
<?
to:
<?php

And all is well now.Reply
Re: PHP comments being displayed, fatal error occurs new!
by colin, 17 years, 4 months ago
Thanks, I will fix that for the next version.Reply