Page 1 of 1

CompileError on class name

PostPosted: February 14th, 2014, 10:50 pm
by evbase
I am having issues where Phalanger is throwing compile errors over class names. Here is an example of one of the messages:

CompileError: Syntax error: unexpected token 'XYDataSet' in C:\inetpub\wwwroot\Beta\classFiles\libchart\classes\model\XYDataSet.php on line 26, column 5.


Here is the line that it is complaining about:

Code: Select all
class XYDataSet extends DataSet {


I can't for the life of me understand why it is dying. There are a number of classes that are loaded previous to this one, yet it is failing.

Also, it seems to be an issue with load compiling. When I compile it using phpc directly, I don't get any errors. (Oh ya, this is for a website loaded through IIS).

Any help or indication as to what I am doing wrong would be great. I am using Phalanger 3 on Windows Server 2008.

Re: CompileError on class name

PostPosted: February 15th, 2014, 8:30 am
by Jakub Misek
Dow it happen when you run this single one script file? Would it be possible to make a test case?

Thanks,