PHP Classes

won't run

Recommend this page to a friend!

      Round robin tournament scheduler  >  All threads  >  won't run  >  (Un) Subscribe thread alerts  
Subject:won't run
Summary:copied files to server but example won't run
Messages:5
Author:gary kozlowski
Date:2008-09-06 16:15:50
Update:2008-09-07 20:03:10
 

  1. won't run   Reply   Report abuse  
Picture of gary kozlowski gary kozlowski - 2008-09-06 16:15:50
I have copied all the files to my web server. When I tried to run the example all I get is "done" at the bottom of the screen.

I put a "print" statement before the "require("class_rrobin.php");" statement and it prints but then stops and I end up with "done" at the bottom again.

Thanks,
Gary Kozlowski
gary.kozlowski@gmail.com

  2. Re: won't run   Reply   Report abuse  
Picture of Nicholas Rathmann Nicholas Rathmann - 2008-09-07 09:45:56 - In reply to message 1 from gary kozlowski
Hi.

It sounds like PHP is having trouble interpretating the class file. Are you running PHP 5? What does the PHP error-log look like?

  3. Re: won't run   Reply   Report abuse  
Picture of gary kozlowski gary kozlowski - 2008-09-07 12:43:41 - In reply to message 2 from Nicholas Rathmann
I'm running PHP 4.3.9.

Where will I find the PHP error log?

  4. Re: won't run   Reply   Report abuse  
Picture of Nicholas Rathmann Nicholas Rathmann - 2008-09-07 19:18:24 - In reply to message 3 from gary kozlowski
OK. That is your problem. This class requires PHP 5, as written in the class infomation fields. Sorry, no PHP 4 support :-).

  5. Re: won't run   Reply   Report abuse  
Picture of gary kozlowski gary kozlowski - 2008-09-07 20:03:10 - In reply to message 4 from Nicholas Rathmann
OK. Thanks for the help...