RE: [PEAR] Problem with PEAR::MDB

From: Date: Fri, 20 Jun 2003 08:23:09 +0000
Subject: RE: [PEAR] Problem with PEAR::MDB
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6142@lists.php.net to get a copy of this message
> From: Xavier Sosnowska [mailto:xso@ifrance.com] > Sent: Friday, June 20, 2003 9:58 AM > > Thanks for your help and sorry for not coming back earlier but I was kept > far from the WebDev front by a flue :-< > > I now have 2 questions. > 1. Why do you see something with getUserInfo(), while > I just see an empty string: > Error 1: MDB Error: MDB_manager schema parse error > Parser error: "" > The code is the following: > if(MDB::isError($success)) { > echo "Error 1: ".$success->getMessage()."\n". '<br />'; > echo $success->getUserInfo(); > } Sorry if I did not make it clear: We are seeing different errors. Maybe there is something wrong with xml parsing in your php version? MDB uses the XML_Parser package. > 2. I cannot know the length for the ses_value field. If I understand you > correctly, I cannot put a default value if I don't put a length. So I > removed the default value. However, I still get the same message, > infortunately with the empty Parser error: "". Any idea how to solve this? See above. The problem seems to be that the parser cannot read your perfectly good xml document, which leads me to believe there is something wrong with your php setup I nregards to xml. Regards, Lukas

« previous php.pear.general (#6142) next »