From: IFEROE <IF...@te...> - 2001-09-07 20:56:05
|
Hi again, I finally got the query_example running. And using the query_example.php generated by xml2php. I fixed a few typos in query_example.xml.php and discovered that the scalar value error was because only one module was defined in the xml file and xml2php didn't handle it properly. I've added a new module, and now all works ok. Thanks to you and to Andi for your help. Salva ----- Mensaje Original ----- De: Alex Black <en...@tu...> Fecha: Viernes, Septiembre 7, 2001 9:42 pm Asunto: Re: [binarycloud-dev] Binarycloud on WinNT, IIS, PHP4, MySQL > > Hi Salva, > > > >> Nice :-). And no more errors. Seems to me that the first > problem > was > > having 'lang' defined as true in index page but not yet any > > language> selected by default, but once selected, all is ok. > > > > Thats a problem in the Langs.xml.php. The XML Tag <is_default> > is not right, > > <flag_default> is interpreted by the Lang class. It's just a > mismatch> between the xml def and the Lang class. > > oh. > > I'll commit that. > > I have no problem with is_default. > > > are not displayed. This is a problem to be solved. > > I think we might need to hook that stuff up to PEAR_Error. > > _a > > > Try to echo error messages in QueryManager manually > (PrepareConnection()> method) to see whats going wrong. > > > >> Right now its: > >> <IncludePath>>BC_PATH."ext/metabase"</IncludePath>. > > > > Right would be <IncludePath>BC_PATH."/ext/metabase"</IncludePath>. > > > >> It seems that '.' after BC_PATH is not translated to "/" in > >> win32, so > > so it isnt on Unix. Its a string append operator. It like > > > > $string .= "String2" > > > > The error is the missing / in the defintion file > > > >> Warning: Cannot use a scalar value as an array in > >> G:/CYGWIN/BC/R2/BINARYCLOUD/build/en/binarycloud/core/Page.php > >> on line 161 > > > > That's because XML2PHP does not behave right. The translation of > Page> Definitions is faulty. Again, manually copy the files from > the source tree. > > > >> I give up by the moment ;-). Well, after all, I'm working > >> with CVS code, so things like this are normal. > > > > I've much stress at the moment so I don't have much time for bc. > I'll fix > > all this in the middel of next week. > > > > > >> PS: I will try to test it with IIS 5.0. If I do, I will send to > > this > > list what I found. > > > > Cool. Looking forward to hear the results.. > > > > > > Andi > > > > > > _______________________________________________ > > binarycloud-dev mailing list > > bin...@li... > > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > ___________________________________________________________________ Consigue tu e-mail gratuito TERRA.ES Haz clic en http://www.terra.es/correo/ |