From: Alex B. <en...@tu...> - 2001-09-07 19:37:49
|
> Hi > > I'm testing binarycloud with: > > Win2k > Apache 1.3.14 (a bit outdated, I know) > MySQL 3.23.32 > PHP 4.0.4pl1 > > I have just downloaded BC from CVS and changed processprepend.php and > xml2php.php to point to my php.exe. > > First run: > > I get a nice: > > Fatal error: Call to a member function on a non-object in > G:/CYGWIN/BC/R2/BINARYCLOUD/build/en/binarycloud/core/Lang.php on line > 365 > > For other mails I've read, I know where the problem is, so I add the > missing 'global $Debug' to Lang.php. > > Now the index page loads ok. But I noticed a not very correct: > Your current language is: BC_LANG_NAME That's ok is cvs, now (the missing $Debug) > But that should be for not being defined. I select "English" and after > hitting "Set" button I get a more convincing: > Your current language is: English. Lang needs more testing.. :) > 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. > > Now, because I'm very interested in database access, it's time to try > the query_example. > > I modify the datasources.xml.php to fit my configuration (odd to be > named xml.php and not php.xml. It's a bit confusing.). BTW, shouldn't That's a bug. Andi's fixing it this week, I think. The correct (and spec'd) naming scheme is the one you like (and I like, and everyone likes): .php.xml > be datasources.php removed from CVS? Yes, not quite yet :) > Perhaps I'm wrong, but seems to me > that it's never used. A orphan file of prexml2php times?. Yes. > Fatal error: Call to undefined function: preparequery() in > G:/CYGWIN/BC/R2/BINARYCLOUD/build/en/ext/metabase/metabase_interface.php > on line 177 > > Strange, because seems to be a problem in metabase. But I doubt it, > because I've used metabase before and works very well and without any > problem. So I do some checking, and find out that the culprit is the > includepath in datasource.xml.php. > Right now its: <IncludePath>BC_PATH."ext/metabase"</IncludePath>. > It seems that '.' after BC_PATH is not translated to "/" in win32, so > what metabase gets as include path in my machine is > G:/CYGWIN/BC/R2/BINARYCLOUD/build/enext/metabase. Of course, that makes > SetupInterface() fails and metabase_mysql.php is not included, so > PrepareQuery() is undefined. > > I fix it, but now I get another two errors: > > Warning: Cannot use a scalar value as an array in > G:/CYGWIN/BC/R2/BINARYCLOUD/build/en/binarycloud/core/Page.php on line > 161 > > Fatal error: Call to a member function on a non-object in > G:/CYGWIN/BC/R2/BINARYCLOUD/build/en/binarycloud/core/Page.php on line > 161 > > The line 161 of Page.php seems to be where the module output is > processed. Perhaps the new problem is because of the changes I did? :-/. > > I give up by the moment ;-). Well, after all, I'm working with CVS > code, so things like this are normal. > > Nevertheless, I should say that I'm very impressed by the high quality > of binarycloud code. This stuff is cool!. And very well documented > (although the documentation is a bit outdated compared with the actual > CVS code). It's great to find people that actually THINKS before start > coding. Not very usual nowadays. I look forward to use the final > release. Great job!!. :) Doin' our best. As for scalar value: I fixed that. methinks it is time to do a 100% cvs sync. (You're seeing bugs I saw, and fixed, and commited, and synced). So... be right back. sync is done. I'll send a message. do an update :) _a > Happy binaryclouding :-) > > Salva > > PS: I will try to test it with IIS 5.0. If I do, I will send to this > list what I found. > > > > > > > > ___________________________________________________________________ > Consigue tu e-mail gratuito TERRA.ES > Haz clic en http://www.terra.es/correo/ > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |