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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 > > |