The function 'getMessage()' is missing in my PHP installation on Windows

This is a discussion on The function 'getMessage()' is missing in my PHP installation on Windows within the PHP General forums, part of the PHP Programming Forums category; I've managed to get some PHP scripts working on a Windows-XP platform (under Apache webserver). I've got ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2004
David Cook
 
Posts: n/a
Default The function 'getMessage()' is missing in my PHP installation on Windows

I've managed to get some PHP scripts working on a Windows-XP
platform (under Apache webserver). I've got PHP v4.3.4.

And, I got the basic 'Pear' subsystem installed, at least enough
so that a script line:
require('DB.php');
now gets resolved.

But, when I get further down in the example PHP script, where I
encounter a function call from a line like:
echo $db->getMessage();
I get an error saying this function is undefined.

So, does this mean that something is still not installed/configured
correctly?
(I'm assuming that 'getMessage' support gets packaged along with the
basic 'Pear' DB stuff, right?)

TIA...

Dave


Reply With Quote
  #2 (permalink)  
Old 05-11-2004
David Cook
 
Posts: n/a
Default Re: The function 'getMessage()' is missing in my PHP installation on Windows

In answer to my own question, after some more snooping, I've concluded that
the function 'getMessage()' was deprecated and not present in newer 'Pear'
distributions. (So, I simply removed the client code invoking it.)

Cheers...

Dave



"David Cook" <(who wants to know?)> wrote in message
news:9LednZ-ALIU6egLd4p2dnA@comcast.com...
> I've managed to get some PHP scripts working on a Windows-XP
> platform (under Apache webserver). I've got PHP v4.3.4.
>
> And, I got the basic 'Pear' subsystem installed, at least enough
> so that a script line:
> require('DB.php');
> now gets resolved.
>
> But, when I get further down in the example PHP script, where I
> encounter a function call from a line like:
> echo $db->getMessage();
> I get an error saying this function is undefined.
>
> So, does this mean that something is still not installed/configured
> correctly?
> (I'm assuming that 'getMessage' support gets packaged along with the
> basic 'Pear' DB stuff, right?)
>
> TIA...
>
> Dave
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0