FW: Cannot redeclare class in PEAR Packages with Zend Debugger
| From: | Benjamin Wragg | Date: | Tue, 07 Feb 2006 01:42:04 +0000 |
| Subject: | FW: Cannot redeclare class in PEAR Packages with Zend Debugger | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22831@lists.php.net to get a copy of this message | ||
I have had this problem using formbuilder. I found that with formbuilder if
I had the Quickform file open when I entered debugging mode it would give a
similar error. If before going into debug mode I close the Quickform file it
works fine. I know your not using formbuilder but, try closing some of your
open files (start with closing all of them, the debugger will open them as
it calls them) and see if it works.
Cheers,
Benjamin
"Druid" <drooid@gmail.com> wrote in message
news:<43DDEE49.8010000@gmail.com>...
> Hello Guys,
>
> I want to debug my application using Zend Studio debugger in server mode.
> When i try to debug a page using Zend Firefox extension (or debug URL
> in Zend Studio itself) i got an:
>
> Cannot redeclare class pear_config in C:\php\PEAR\PEAR\Config.php on
> line 2052
>
> after disabling this require_once, another error appears:
>
> Cannot redeclare class pear_validate in C:\php\PEAR\PEAR\Validate.php
> on line 46
>
> What is interesting, this configuration works without debugger.
>
> Other packages i use (html_quickform, db, mail) seems to work correctly.
>
> My configuration:
> Apache 1.3.33
> PHP 5.1.2 (checked also with 5.1.1)
> Zend Studio Professional 5.1 + Zend Studio Server 5.1 WindowsXP
> Professional
>
> I've tried the solution similar according to this:
>
>
> http://www.zend.com/support/knowledgebase.php?kbid=81&view_only=1
>
> updated all found php.ini files according to this but no effect.
>
> Anyone has an idea what's wrong ?
>
> --
> drooid
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.0/249 - Release Date: 2/02/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 6/02/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 6/02/2006