PHP Classes

Parse error

Recommend this page to a friend!

      RPC API Framework  >  All threads  >  Parse error  >  (Un) Subscribe thread alerts  
Subject:Parse error
Summary:error when trying
Author:Tru magdi
Date:2011-02-22 10:17:26
Update:2011-02-22 23:30:26

  1. Parse error   Reply   Report abuse  
Tru magdi - 2011-02-22 10:17:34
when i try to open the index file localy this error shown up
(\lib\core\Query.class.php on line 35)

and also i try to run it on my server online but the same result.

what the problem is?


  2. Re: Parse error   Reply   Report abuse  
Tru magdi - 2011-02-22 10:19:51 - In reply to message 1 from Tru magdi
sorry the the rest or error message

Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE in C:\xampp\htdocs\move\newapi\lib\core\Query.class.php on line 35

  3. Re: Parse error   Reply   Report abuse  
AJ - 2011-02-22 23:30:26 - In reply to message 2 from Tru magdi
Sorry some how there was a method definition error.

public static raw()

should have been

public static function raw()

this has been updated.