From: Ed B. <eba...@ta...> - 2001-11-29 13:59:30
|
Yes, I had installed the tarball from sourceforge and not the CVS version. = I'm going to have to see how I can hack the new stuff into my installation= , because I've modified it a little. Ed >>> Andrew <ajw...@ro...> 11/28/01 08:15PM >>> There is code in the functions script that prevents it from being included more than once .. Maybe the current CVS version is not what you have installed .. Check your includes/functions.inc.php file .. The first few lines of my version look like this:...<snip> -- F. Edward Barrett Network Specialist, Traverse Area District Library http://tadl.tcnet.org |
From: -fkp- <fk...@gm...> - 2001-12-12 00:12:45
|
Hello, I just installed phphelpdesk and I'm getting the same error msg Fatal error: Cannot redeclare showsummary() in /www/devel/helpdesk/includes/functions.inc.php on line 61 Is there a patch out or can somebody point me in the right direction? TIA Karl --------------------------- FROM: Andrew DATE: 11/28/2001 17:15:53 SUBJECT: RE: [Phphelpdesk-help] PHPHelpDesk and Debian Testing There is code in the functions script that prevents it from being included more than once .. Maybe the current CVS version is not what you have installed .. Check your includes/functions.inc.php file .. The first few lines of my version look like this: <?php // Global Functions if( isset( $FUNCTIONS ) ) { return; } $FUNCTIONS=1; These lines prevent the rest of the file from being imported more than once. I have a nagging suspicion that there are a lot of little bug fixes like this that are not in the most recent release .. I will talk to Joe, to project leader, and we will look into making a new release which includes these fixes. Also, someone from the list says he will send me some patches, so I would like to include those also. Hope this helps; Andrew On Wednesday 28 November 2001 15:21, you wrote: > Hello. I am running PHPHelpDesk 0.6.16, installed on Debian Woody with > apache 1.3.19 and php4.0.5. Everything was running smoothly until I > (foolishly, it turns out) updated to the following relevant packages: > > apache-1.3.22-2 > apache-common-1.3.22-2 > apache-dev-1.3.22-2 > apache-perl-1.3.22-2 > libapache-dbi-perl-0.88-5 > libapache-request-perl-0.33-1 > libapache-session-perl-1.53-4 > libapache-mod-perl-1.26-1 > php4-4.0.100-1 > php4-cgi-4.0.100-1 > php4-mysql-4.0.100-1 > php4-pear-4.0.100-1 > > After this, I started receiving "apache: PHP Fatal error: Cannot redeclare > showsummary() in /var/www/helpdesk/includes/functions.inc.php on line 61" > in my syslog. It looks like php is barfing on includes/functions.inc.php > being included in most of the scripts in the system. I seem to have fixed > my problem when I commented out "include("includes/functions.inc.php");" at > the top of each script that had it and added it to the top of index.php. > Now, I would believe this is a problem with the compile-time options used > in the Debian packaging of PHP, but I'm wondering if there isn't a better > way to fix the problem than what I did. Any suggestions? > > Oh, and by the way, this is an excellent piece of software! We're using > this to replace the paper trouble ticket system that we've had in place > since we've been running. > > Edward Barrett |
From: Karl P. <fk...@gm...> - 2001-12-12 00:38:03
|
I maybe should mention that I'm using the stable release and cvs with the same results. Karl ----- Original Message ----- From: "-fkp-" <fk...@gm...> To: <php...@li...> Sent: Wednesday, December 12, 2001 12:14 AM Subject: [Phphelpdesk-help] Re: PHPHelpDesk and Debian Testing > Hello, I just installed phphelpdesk and I'm getting the same error msg > > Fatal error: Cannot redeclare showsummary() > in /www/devel/helpdesk/includes/functions.inc.php on line 61 > > Is there a patch out or can somebody point me in the right direction? > > TIA > > Karl |
From: Karl P. <fk...@gm...> - 2001-12-14 02:59:27
|
Thanks for the config files. I checked both and didn't find any difference between them. I tried downgrading, but I would have broken a couple of dependencies. I'll give it another shot on the weekend. Thanks Karl ----- Original Message ----- From: "Andrew" <ajw...@ro...> To: "Karl Paukner" <fk...@gm...> Sent: Thursday, December 13, 2001 11:42 PM Subject: Re: [Phphelpdesk-help] Re: PHPHelpDesk and Debian Testing > There is a config file for php, /etc/php.ini ... Debian tends to > be more security concious than Redhat, which I use, so maybe there > is a setting in there that the Debian people have set differently > than mine. I'll attach my php.ini file so you can compare. It's > probably related to the error_reporting flag. > > If this solves it, please let me know, so I can add this to > the documentation for other Debian users. > > Thanks; > Andrew > > > > > On Thursday 13 December 2001 02:31, Karl Paukner wrote: > > I'm using Debian 3.0 Woody, msyql 3.23.43, PHP 4.1.0RC2. > > I've got the feeling it could be php. I will try to downgrade. > > > > Thanks, > > > > Karl > > > > ----- Original Message ----- > > From: "Andrew" <ajw...@ro...> > > To: "-fkp-" <fk...@gm...> > > Sent: Thursday, December 13, 2001 3:30 AM > > Subject: Re: [Phphelpdesk-help] Re: PHPHelpDesk and Debian Testing > > > > > Karl; > > > > > > I'm not sure what the solution is at this point. but I'm curious, what > > > operating system and what version of PHP are you using? In the > > > mean time I'll try and look into this problem. > > > > > > Andrew > > > > > > On Tuesday 11 December 2001 19:14, you wrote: > > > > Hello, I just installed phphelpdesk and I'm getting the same error msg > > > > > > > > Fatal error: Cannot redeclare showsummary() > > > > in /www/devel/helpdesk/includes/functions.inc.php on line 61 > > > > > > > > Is there a patch out or can somebody point me in the right direction? > > > > > > > > TIA > > > > > > > > Karl > > > > > > > > --------------------------- > > > > FROM: Andrew > > > > DATE: 11/28/2001 17:15:53 > > > > SUBJECT: RE: [Phphelpdesk-help] PHPHelpDesk and Debian Testing > > > > > > > > There is code in the functions script that prevents it from being > > > > included > > > > > > more than once .. Maybe the current CVS version is not what you > > > > have installed .. Check your includes/functions.inc.php file .. The > > > > first > > > > > > few lines of my version look like this: > > > > > > > > <?php // Global Functions > > > > > > > > if( isset( $FUNCTIONS ) ) { > > > > return; > > > > } > > > > > > > > $FUNCTIONS=1; > > > > > > > > > > > > These lines prevent the rest of the file from being imported more than > > > > once. > > > > > > > > I have a nagging suspicion that there are a lot of little bug fixes > > > > like this > > > > that are not in the most recent release .. I will talk to Joe, to > > > > project > > > > > > leader, and we will look into making a new release which includes these > > > > fixes. Also, someone from the list says he will send me some patches, > > > > so I > > > > > > would like to include those also. > > > > > > > > Hope this helps; > > > > Andrew > > > > > > > > On Wednesday 28 November 2001 15:21, you wrote: > > > > > Hello. I am running PHPHelpDesk 0.6.16, installed on Debian Woody > > > > with > > > > > > > apache 1.3.19 and php4.0.5. Everything was running smoothly until I > > > > > (foolishly, it turns out) updated to the following relevant packages: > > > > > > > > > > apache-1.3.22-2 > > > > > apache-common-1.3.22-2 > > > > > apache-dev-1.3.22-2 > > > > > apache-perl-1.3.22-2 > > > > > libapache-dbi-perl-0.88-5 > > > > > libapache-request-perl-0.33-1 > > > > > libapache-session-perl-1.53-4 > > > > > libapache-mod-perl-1.26-1 > > > > > php4-4.0.100-1 > > > > > php4-cgi-4.0.100-1 > > > > > php4-mysql-4.0.100-1 > > > > > php4-pear-4.0.100-1 > > > > > > > > > > After this, I started receiving "apache: PHP Fatal error: Cannot > > > > > > > > redeclare > > > > > > > > > showsummary() in /var/www/helpdesk/includes/functions.inc.php on line > > > > 61" > > > > > > > in my syslog. It looks like php is barfing on > > > > includes/functions.inc.php > > > > > > > being included in most of the scripts in the system. I seem to have > > > > > fixed my problem when I commented out > > > > > "include("includes/functions.inc.php");" > > > > > > > > at > > > > > > > > > the top of each script that had it and added it to the top of > > > > index.php. > > > > > > > Now, I would believe this is a problem with the compile-time options > > > > used > > > > > > > in the Debian packaging of PHP, but I'm wondering if there isn't a > > > > better > > > > > > > way to fix the problem than what I did. Any suggestions? > > > > > > > > > > Oh, and by the way, this is an excellent piece of software! We're > > > > using > > > > > > > this to replace the paper trouble ticket system that we've had in > > > > place > > > > > > > since we've been running. > > > > > > > > > > Edward Barrett > > > > > > > > _______________________________________________ > > > > Phphelpdesk-help mailing list > > > > Php...@li... > > > > https://lists.sourceforge.net/lists/listinfo/phphelpdesk-help > |