PHP Classes

error

Recommend this page to a friend!

      myPageDisplay  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:error in testing the class
Messages:5
Author:awad haj
Date:2006-10-08 09:26:07
Update:2006-10-11 06:35:15
 

  1. error   Reply   Report abuse  
Picture of awad haj awad haj - 2006-10-08 09:26:07
when testing the class, i have this error:


Fatal error: fatal flex scanner internal error--end of buffer missed in C:\Program Files\xampp\htdocs\islamqa\classes\paging2\classes\mypagedisplay_class.php on line 461



=> my php version is 5.1.1

  2. Re: error   Reply   Report abuse  
Picture of Peter Barkway Peter Barkway - 2006-10-09 14:11:11 - In reply to message 1 from awad haj
Hi,

I have made several updates to the class, over the weekend and today, in order to add some extra functionality - I am now up to version 1.1b. Could you please download the new example.php and class file and re-test to see if you still get the same error.

I have developed this against PHP v4.4.2 but I am not, as far as I am aware, doing anything specific to that version.

kind regards

Peter

  3. Re: error   Reply   Report abuse  
Picture of awad haj awad haj - 2006-10-10 06:36:10 - In reply to message 1 from awad haj
the bug was fixed when i removed the last line comment!

  4. Re: error   Reply   Report abuse  
Picture of Peter Barkway Peter Barkway - 2006-10-10 08:08:08 - In reply to message 3 from awad haj
Awad,

Thanks for the reply. Could you please just clarify which line you removed so that I can amend the current script and re-post it.

Regards

Peter

  5. Re: error   Reply   Report abuse  
Picture of awad haj awad haj - 2006-10-11 06:35:15 - In reply to message 4 from Peter Barkway
first, thank you very much for yr v.nice stuff!

=> The last line in the class file is:

} # class myPageDisplay

No problem when i remove the comment (# class myPageDisplay), but with the comment i have the error.