Fatal error: Cannot redeclare CSQLAdmin::$functions in sqladmin.php on line 30

I am trying to install a PHP application that manages vehicle dispatch scheduling.

I installed it per the instructions, however I cannot run it; I get an error:

                               Fatal error: Cannot redeclare CSQLAdmin::$functions in sqladmin.php on line 30

I am running PHP 5.2.4.  Any ideas how to resolve this?  I have attached the source code.

Thanks!
dispatch-software.zip.txt
LVL 16
hankknightAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
hernst42Connect With a Mentor Commented:
To fix the error remove eg. line 20-29 or 13-22
0
 
hernst42Commented:
You get that error because that property $functions is declared twice in line 20 and 30


	/**
	* description
	*
	* @var type
	*
	* @access type
	*/
	var $functions;
	
 
	/**
	* description functions list which will be executed in variouse points of sqladmin
	*
	* @var type
	*
	* @access type
	*/
	var $functions;

Open in new window

0
 
hankknightAuthor Commented:
Thanks, J├╝rgen.

That fixed the Fatal Error problem but it still does not work.  Now I just get a blank screen.

The website for this application is here but there is NO support:

http://www.dispatch-software.org/

Cheers!
0
 
hernst42Commented:
The program is written for php4 only and if run with php5 will lead to blank pages.
$this is a special keyword in php5 wheras it was special, but not protected. $this as variable name in a non object context will produce a fatal error in php5 where it work in php4.

Better search for a supported and working program for such task.
0
 
hankknightAuthor Commented:
Thank you.
0
All Courses

From novice to tech pro — start learning today.