Login   Register  
PHP Classes
elePHPant
Icontem

parse error in reportool

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Report generating and drawing  >  All threads  >  parse error in reportool  >  (Un) Subscribe thread alerts  
Subject:parse error in reportool
Summary:Parse error in reportool
Messages:4
Author:Ka-Chun Tan
Date:2009-01-13 04:49:49
Update:2009-01-14 05:59:17
 

  1. parse error in reportool   Reply   Report abuse  
Picture of Ka-Chun Tan
Ka-Chun Tan
2009-01-13 04:49:49
i cant run the reportool!it keep prompting :"Parse error: parse error in C:\wamp\www\as_reportool\as_reportool.php on line 365" can anyone tell me how to solve this problem?


  2. Re: parse error in reportool   Reply   Report abuse  
Picture of Alexander Selifonov
Alexander Selifonov
2009-01-13 19:35:51 - In reply to message 1 from Ka-Chun Tan
I've checked the code - it works fine. May be You have modified sample.php code and omit some <? ?> PHP code delimiters.

  3. Re: parse error in reportool   Reply   Report abuse  
Picture of Alexander Selifonov
Alexander Selifonov
2009-01-14 05:43:37 - In reply to message 1 from Ka-Chun Tan
Another reason - PHP configuration.
Find Your php.ini and set

short_open_tag = On

It will enable short form of "<? "
Otherwise You should edit my class and replace all "<?" with "<?PHP"

  4. Re: parse error in reportool   Reply   Report abuse  
Picture of Ka-Chun Tan
Ka-Chun Tan
2009-01-14 05:59:17 - In reply to message 3 from Alexander Selifonov
all right thanks!it works!