PHP Classes

Class 'Timer' not found in

Recommend this page to a friend!

      Spider Engine  >  All threads  >  Class 'Timer' not found in  >  (Un) Subscribe thread alerts  
Subject:Class 'Timer' not found in
Summary:Class 'Timer' not found in
Messages:4
Author:Kristiensen
Date:2007-04-09 07:26:42
Update:2011-01-14 21:06:48
 

  1. Class 'Timer' not found in   Reply   Report abuse  
Picture of Kristiensen Kristiensen - 2007-04-09 07:26:42
Greetings Radu

after installing the script and test it,

it returns this error

Fatal error: Class 'Timer' not found in J:\localhost\www\tests\spider\spiderengine.class.php on line 217

any idea?

Steffy

  2. Re: Class 'Timer' not found in   Reply   Report abuse  
Picture of Radu Topala Radu Topala - 2007-04-09 18:02:42 - In reply to message 1 from Kristiensen
Take a look on the class page. You'll find that LTimer is on "Packages needed by this class". The link to my other class is:
phpclasses.org/browse/package/3635. ...
Have a nice day.

  3. Re: Class 'Timer' not found in   Reply   Report abuse  
Picture of Kristiensen Kristiensen - 2007-04-09 18:49:57 - In reply to message 2 from Radu Topala
but I have installed that class too

otherwise I would have an error on include_once("ltimer.class.php");

I have no error on it

only

Fatal error: Class 'Timer' not found in J:\localhost\www\kiterss\tests\spiderengine.class.php on line 114

but I guess I found the "bug"

actually in line 114
there is
$t=new Timer(); // starts the timer foreach page

which I guess should be

$t=new LTimer(); // starts the timer foreach page

I also made the change in line 217

this now work !!

thanx you for nice class

Steffy

  4. Re: Class 'Timer' not found in   Reply   Report abuse  
Picture of Sergey Polischook Sergey Polischook - 2011-01-14 21:06:48 - In reply to message 3 from Kristiensen
In my case I have the same trubble, but I change line 364 and 237. Good luck!