Bug #16369 [Opn->Fbk]: After installing the Validate PEAR package the PEAR become broke
| From: | demon dot gene at gmail dot com | Date: | Wed, 23 Sep 2009 14:31:16 +0000 |
| Subject: | Bug #16369 [Opn->Fbk]: After installing the Validate PEAR package the PEAR become broke | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1703@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16369&edit=1
ID: 16369
Updated by: demon.gene@gmail.com
Reported By: ilan at wserv dot co dot il
Summary: After installing the Validate PEAR package the PEAR
become broke
-Status: Open
+Status: Feedback
Type: Bug
Package: PEAR
Operating System: Windows Server 2003 (IIS6)
Package Version: 1.7.2
PHP Version: 5.2.9
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
Lastly, if you are able to, I'd suggest upgrading to PEAR 1.9.0 and see
if this bug remains for you. If it does, I have to guess it's a local
configuration issue, possibly even include_path that is letting
Validate's Validate.php file be resolved before PEAR's Validate.php file
is found, so that when PEAR is wanting the PEAR_Validate class, it is
instead finding Validate's Validate class.
Previous Comments:
------------------------------------------------------------------------
[2009-09-23 15:29:16] ashnazg
-Status: Feedback
+Status: Open
Actually, he did say PEAR worked before he installed Validate...
What are the chances that the Validate package installation *overwrote*
the PEAR package's Validate.php file? The files are named exactly the
same.
In his config, PEAR's file should be
- D:\Inetpub\vhosts\domain.com\httpdocs\phppear\pear\PEAR\Validate.php
while Validate's top-level file should be
- D:\Inetpub\vhosts\domain.com\httpdocs\phppear\pear\Validate.php
Ilan, do you see both of these files exactly as I list them, when you
have Validate installed too?
------------------------------------------------------------------------
[2009-09-23 15:14:10] ashnazg
-Status: Open
+Status: Feedback
Based on your paste of your PEAR configuration, I'd expect to find the
file that contains PEAR_Validate in the
D:\Inetpub\vhosts\domain.com\httpdocs\phppear\pear\PEAR\Validate.php.
Do you see this file in your PEAR installation?
------------------------------------------------------------------------
[2009-06-29 06:24:25] onemancrew
I am not trying to use $val = &new PEAR_Validate in my own code. it's
part of PEAR code.
Regarding PEAR 1.8.1
the issue still exist when using the latest version of PEAR.
I Already mentioned it when I have reported about this BUG from the
first place.
------------------------------------------------------------------------
[2009-06-29 00:36:15] dufuz
-Package Version:
+Package Version: 1.7.2
I just noticed that you are using PEAR 1.7.2
Please upgrade that to PEAR 1.8.1 with pear upgrade pear and see if
this problem still exists.
------------------------------------------------------------------------
[2009-06-29 00:34:45] dufuz
Are you trying to do $val = &new PEAR_Validate; in your own code?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=16369
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16369&edit=1