Community Support for OpenDocMan (Deprecated)
Unexpected T_ - Printable Version

+- Community Support for OpenDocMan (Deprecated) (
+-- Forum: OpenDocMan Community Discussion (
+--- Forum: OpenDocMan Support - Community Based (
+--- Thread: Unexpected T_ (/thread-576.html)

Unexpected T_ - mfargen - 12-09-2012

I have the same question as this post which is locked:

<!-- l --><a class="postlink-local" href="">viewtopic.php?f=4&t=730&p=1938&hilit=Unexpected+T_#p1938</a><!-- l -->

However, I am using PHP 5.3.16.

I checked User_class.php with a php code checker and there are no syntax errors.

What can I do next? Thanks for your help!


Re: Unexpected T_ - mfargen - 12-10-2012

I did go to the line of code referenced in the error and make the following modification in each file that reported the Unexpected T_variable... error: Changed the public static function or public function declaration to just function(), then reuploaded the affected file. This allows the program to run with no apparent problems. Does anyone see any problem with this fix?