|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
problems with pear - general inclusion - I think
ok, trying to user pear and more specifically ping in pear.
my issue is after troubleshooting the little test app, I have a new issue INSIDE the actual pear back end code classes. here is the error Fatal error: Call to undefined function: throwerror() in /usr/share/pear/Net/Ping.php on line 312 line 312 is return PEAR::throwError(NET_PING_HOST_NOT_FOUND_MSG, NET_PING_HOST_NOT_FOUND); so I guess I am not quite configured correctly, this does not seem to be a problem with the way I am using it. I get no errors about what can;t be included or anything, just this. anyone familar with pear? can you shed any light on this thanks. |
|
#2
|
|||
|
|||
|
RE: problems with pear - general inclusion - I think
It sounds like you are missing the PEAR_Error package, which is strange because it is part of the base PEAR package. ..
Actually in looking around a little bit, it appears that PEAR uses a raiseError method rather than a throwError method. is it possible that you have updated your base package of PEAR, but are using an outdated Net package? I would try updating all packages to the most current versions.... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > problems with pear - general inclusion - I think |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|