You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(57) |
May
(287) |
Jun
(166) |
Jul
(286) |
Aug
(273) |
Sep
(254) |
Oct
(144) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jason H. <jc...@ey...> - 2001-09-05 17:01:45
|
--- /usr/local/r2/binarycloud/base/core/Debug.php Tue Sep 4 15:24:12 2001 +++ Debug.php Wed Sep 5 12:22:40 2001 @@ -226,6 +226,7 @@ $this->_output_all_classes(); $this->_output_vars(); $this->_output_server_env(); + $this->_output_session_vars(); $this->_output_globals(); $this->_output_included_files(); break; @@ -262,6 +263,9 @@ case "server_env": $this->_output_server_env(); break; + case "session": + $this->_output_session_vars(); + break; case "globals": $this->_output_globals(); break; @@ -280,6 +284,7 @@ $this->_output_all_classes(); $this->_output_vars(); $this->_output_server_env(); + $this->_output_session_vars(); $this->_output_globals(); $this->_output_included_files(); break; @@ -592,6 +597,36 @@ echo "No variables have been captured"; } } + + // }}} + // {{{ _output_session_vars + + /** + * This method prints all of the session vars. + * + * @author jason hines, ja...@gr... + * @access private + */ + + function _output_session_vars() { + global $HTTP_SESSION_VARS; + + $this->_output_header('Session Variables'); + $session_vars = $HTTP_SESSION_VARS; + + if (is_array($session_vars)) { + + foreach($session_vars as $var=>$key) { + print $var; + print ": "; + print_r($key); + print "\n"; + } + + } else { + echo "No session variables have been registered"; + } + } // }}} // {{{ _output_server_env |
From: Jason H. <jc...@ey...> - 2001-09-05 16:47:47
|
I don't have CVS write access, so I'm sending the diff here: --- /usr/local/r2/binarycloud/base/core/Sess.php Tue Sep 4 15:24:12 2001 +++ Sess.php Wed Sep 5 12:46:04 2001 @@ -164,7 +164,7 @@ function SetVar($_name, $_value, $_register = true) { global $HTTP_SESSION_VARS; - if (!$this->CheckRegistered($_name) && $register != false){ + if (!$this->CheckRegistered($_name) && $_register != false){ $this->Register($_name); } $oldValue = $HTTP_SESSION_VARS[$_name]; |
From: Jason H. <jc...@ey...> - 2001-09-05 16:37:46
|
hi, i'm curious as to why there is no implicit method in Debug to output all SESSION VARS. i've modded my copy of Debug to support this, and can commit the changes if wanted. jason |
From: Jason H. <jc...@ey...> - 2001-09-05 15:23:56
|
this is a general question, but one that has lingered with me from the beginning. what exactly is the desired procedure for creating sites under binarycloud with regard to the make system? (this of course applies to the future state of BC rather than now) for example, say i have installed binarycloud in /usr/local/binarycloud, and i have a few modules installed in /usr/local/binarycloud/user/mod, etc etc. now, to create a NEW site, what is the process? i imagine it's something like this... - i define several XML files to specify pageDefs, dataSources, entityDefs, etc etc. - i run 'make site' or equivalent, - i copy the build dir to a place to be served by apache - customize/expand my pages, do extra stuff, post-install stuff here the need for multiple make targets seems apparent here, though non-existant at the moment. alex, could you help enlighten us? jason |
From: alex b. <en...@tu...> - 2001-09-05 03:52:51
|
and......... yep. Ronald's explanation was the exact problem and I have commited the solution. I'll do a sync after dinner :) _a ----- Original Message ----- From: "jason" <ja...@gr...> To: <bin...@li...> Sent: Tuesday, September 04, 2001 7:46 PM Subject: [binarycloud-dev] BC_LANG_CHARSET > > I've just sync'd to the latest CVS, and while inspecting the new stuff, > I came across this error. I haven't traced down the exact problem; > though I hope this is enough information for a fix. > > in gPageDef, if Lang == true, then we get an error: > > Fatal error: Call to a member function on a non-object in > /usr/local/r2/binarycloud/build/en/binarycloud/core/Lang.php on line 365 > > > This ONLY seems to error on Windows (client) browsers. I did not get > this error under Linux Netscape. Setting Lang to false fixed this as > well. > > << snippet from Lang.php >> > > if (defined('BC_LANG_CHARSET')) { > return true; > } else { > $Debug->CaptureMessage('No charset was set.',' Something is wrong with > your langs array'); // line 365 > return false; > } > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: alex b. <en...@tu...> - 2001-09-05 03:50:52
|
> I've just sync'd to the latest CVS, and while inspecting the new stuff, > I came across this error. I haven't traced down the exact problem; > though I hope this is enough information for a fix. > > in gPageDef, if Lang == true, then we get an error: > > Fatal error: Call to a member function on a non-object in > /usr/local/r2/binarycloud/build/en/binarycloud/core/Lang.php on line 365 > > > This ONLY seems to error on Windows (client) browsers. I did not get > this error under Linux Netscape. Setting Lang to false fixed this as > well. > > << snippet from Lang.php >> > > if (defined('BC_LANG_CHARSET')) { > return true; > } else { > $Debug->CaptureMessage('No charset was set.',' Something is wrong with > your langs array'); // line 365 > return false; > } Hmm... this looks like an oops on my part... :) And I think Ronald's explanation is probably the correct one. _a |
From: Ronald T. <ron...@ho...> - 2001-09-05 02:56:39
|
>I've just sync'd to the latest CVS, and while inspecting the new stuff, >I came across this error. I haven't traced down the exact problem; >though I hope this is enough information for a fix. > >in gPageDef, if Lang == true, then we get an error: > >Fatal error: Call to a member function on a non-object in >/usr/local/r2/binarycloud/build/en/binarycloud/core/Lang.php on line 365 > > >This ONLY seems to error on Windows (client) browsers. I did not get >this error under Linux Netscape. Setting Lang to false fixed this as >well. > ><< snippet from Lang.php >> > >if (defined('BC_LANG_CHARSET')) { > return true; >} else { > $Debug->CaptureMessage('No charset was set.',' Something is wrong with >your langs array'); // line 365 > return false; >} jason, you can have a look on Lang.php, and many function which use $Debug has not yet declare it as a globale variable, so inside the function it can't call anything related to $Debug and the error appare.. roni _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
From: jason <ja...@gr...> - 2001-09-05 02:45:50
|
I've just sync'd to the latest CVS, and while inspecting the new stuff, I came across this error. I haven't traced down the exact problem; though I hope this is enough information for a fix. in gPageDef, if Lang == true, then we get an error: Fatal error: Call to a member function on a non-object in /usr/local/r2/binarycloud/build/en/binarycloud/core/Lang.php on line 365 This ONLY seems to error on Windows (client) browsers. I did not get this error under Linux Netscape. Setting Lang to false fixed this as well. << snippet from Lang.php >> if (defined('BC_LANG_CHARSET')) { return true; } else { $Debug->CaptureMessage('No charset was set.',' Something is wrong with your langs array'); // line 365 return false; } |
From: Alex B. <en...@tu...> - 2001-09-04 22:59:01
|
------ Forwarded Message > From: PHP Classes <no...@ph...> > Date: Tue, 4 Sep 2001 13:58:18 -0400 (EDT) > To: del...@ph... (PHP Classes) > Subject: [PHP Classes] Changed file of class "Metabase - Database independent > access and management": metabase_mysql.php > > > Hello, > > The file "metabase_mysql.php" of the class "Metabase - Database > independent access and management" was changed by Manuel Lemos > <ml...@ac...> in the "PHP Classes" repository. > > File name: metabase_mysql.php > > Description: Driver class for MySQL > > Summary of changes: Avoided the used mysql_db_query function that is now > deprecated. > > > URL: http://phpclasses.upperdesign.com/browse.html?file=52 > > If you do not want to receive any more notification messages like this > one, go to the User Options page of the site "PHP Classes" located at > http://phpclasses.upperdesign.com/user_options.html and reset the > appropriate e-mail notification options. > > ------ End of Forwarded Message |
From: Alex B. <en...@tu...> - 2001-09-04 20:39:00
|
hi all, somehow the reply-to for the list was set back to "poster" so you all might have responded privately when you meant to respond publicly to some posts. I have a feeling that's the reason there isn't very much list traffic right now :) I've set it back... and later today I'm going to try and complete a roadmap for development that I've been working on. best, -alex |
From: Alex B. <en...@tu...> - 2001-09-04 20:32:37
|
> Hi, > > I thought a bit about how to treat the variables passed in search engine > friendly urls. > > The CGI class does it like this: > > scriptname/moo.boo/foo.bar > > (= scriptname?moo=boo&foo=bar) Ohh, I like that too. Very nice. > I like that, and I'm going to modify the request class to parse the request > uri for such param/value pairs. Cool... what do people think of standardizing on that? I need to do a bit of testing with apache to see how forgiving it will be with urls... we might need to set up a .htaccess with a default install (and provide virtualhost defs for those that don't like .htaccess) > My intention is to parse the url and provide the var/value pairs in > HTTP_GET_VARS. So you can use the common GetVar() method to access them. The > CGI class makes them available as class properies what I dislike. In the > very nature this are GET vars and they should be provided as GET. yes, better to take the good stuff and leave the bad stuff :) _a |
From: Andreas A. (Thyrell) <a.a...@th...> - 2001-09-04 18:39:03
|
Hi, I thought a bit about how to treat the variables passed in search engine friendly urls. The CGI class does it like this: scriptname/moo.boo/foo.bar (= scriptname?moo=boo&foo=bar) I like that, and I'm going to modify the request class to parse the request uri for such param/value pairs. My intention is to parse the url and provide the var/value pairs in HTTP_GET_VARS. So you can use the common GetVar() method to access them. The CGI class makes them available as class properies what I dislike. In the very nature this are GET vars and they should be provided as GET. Andi |
From: Frank J. <fr...@jo...> - 2001-09-04 18:15:20
|
Hello, this is what I get trying to install r2: bubba:/usr/src/r2/binarycloud # make Building da site in user in user/htdocs in base in core in bldr in init Could not open file for writing : /usr/src/r2/binarycloud//build/da/htdocs/prepend.php in lib in mgr in ext Building en site in user in user/htdocs in base in core in bldr in init Could not open file for writing : /usr/src/r2/binarycloud//build/en/htdocs/prepend.php in lib in mgr in ext does anyone know what it means or if it is important? What looks funny are the 2 slashes at /usr/src/r2/binarycloud//build/en/htdocs/prepend.php ** There must be something weird in one of the installation scripts . . . Cheers Frank |
From: JCM <sym...@on...> - 2001-09-04 16:50:36
|
Hello, I found out binarycloud which pleased me by its solid building; it seems to be what I intended to do ;-) I installed r1 on a Linux Box (SusE 6.4 + patchs) used for an intranet; configured a vhost for Apache. All's right, but I see errors at the bottom of each page : PHP Notice mysql_db_query is deprecated; use mysql_select_db() and mysql_query() instead file: /usr/local/httpd/bc/binarycloud/core/base/db/metabase_mysql.php line 112 PHP Warning Cannot send session cookie - headers already sent by (output started at /usr/local/httpd/bc/binarycloud/user/conf/file_permissions.conf:193) file: /usr/local/httpd/bc/htdocs/storm/db_admin/dump_tables.php line 49 > What should be done ? Do I need to replace metabase package by a more recent version taken from phpClasses ? Is the r2 on cvs stable enough to be used now ? Thanks JCM, php/mysql work, France -- web...@fo... +----------------------------------------------------------------+ | http://www.symetrie.com/ Edition de musique/Music publisher | | http://www.foliomusic.com/ Librairie musicale/Scores store | +----------------------------------------------------------------+ |
From: Andreas A. (Thyrell) <a.a...@th...> - 2001-09-04 10:58:30
|
Hi Alex, I'm thinking about what I can do for bc this week. From my point of view (before starting with EntityManager) it would be nice to have at least the following done: - make name changes *.xml.php => *.php.xml conf.* => Configuration.* datasources => Datasources.* langs.* => Languages.* .. - restructur source tree and prune non used dirs as proposed in the "future source tree" mail - use PHP_COMMAND or similar for calling command line scripts with make - get xml2php working right and delete file that are generated by xml2php from source tree. - hmm what else ? I can do all this stuff If you like, but I'm not sure how comfortable this will be for you syncing your internal cvs if I commit the changes to sourceforge (dirs, renamed files etc)? Ahh btw there is one another open task. Chaning metabase to support fetching result meta data properly and commit back to Manuel. Andi |
From: alex b. <en...@tu...> - 2001-09-04 02:07:28
|
hi all, I've done a sync to SourceForge - let me know if you see any problems. I'm going to be in tomorrow, and will hopefully be able to get some stuff done :) _a |
From: Alex B. <tur...@tu...> - 2001-09-03 22:51:32
|
Hey andi, well, I think in thise case it's unnecessary: If someone wants user variables registered in the user space, they can turn on register_globals (probably using a configuration constant I'll set up) so there's no reason to provide a globalize function. I'd vote for ditching it. I just forwarded a mail I got from PHPClasses called CGI.php which (though I haven't looked at it) seems to have some nice stuff on top of what we have, specifically parsing out "search engine friendly" urls (i.e. no ?moo=foo, /moo/foo/ _a On Mon, 3 Sep 2001, Andreas Aderhold (Thyrell) wrote: > Hi All, > > does anyone make use of globalize feauture in the Request class? I plan to > remove this if noone needs it. > > What it does (if enabled): > > If you get a variable form a HTTP_*_VARS array via the GetVar() method this > variable is referenced to the global namespace. > > i.e.: > > $HTTP_GET_VARS["id"] > $GLOBALS["id"] =& $HTTP_GET_VARS["id"]; > > In my opinion thats completely useless caus it messes up global namespace > and thats what we want to prevent. What do you think? > > Andi > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: Alex B. <tur...@tu...> - 2001-09-03 22:43:49
|
---------- Forwarded message ---------- Date: Sun, 2 Sep 2001 19:57:57 -0400 (EDT) From: PHP Classes <no...@ph...> To: PHP Classes <del...@ph...> Subject: [PHP Classes] Added a new class: CGI.php Hello, A new class was added to "PHP Classes" repository. Name: CGI.php Author: John Luxford <lu...@si...> Description: Inspired by Perl's CGI module, this set of classes aims to separate the namespaces of GET, POST, and Cookie variables, and to provide a few nice methods as well for doing things like transforming and parsing "search engine friendly" links. URL: http://phpclasses.upperdesign.com/browse.html/package/316 If you do not want to receive any more notification messages like this one, go to the User Options page of the site "PHP Classes" located at http://phpclasses.upperdesign.com/user_options.html and reset the appropriate e-mail notification options. |
From: Andreas A. (Thyrell) <a.a...@th...> - 2001-09-03 12:37:43
|
Hi All, does anyone make use of globalize feauture in the Request class? I plan to remove this if noone needs it. What it does (if enabled): If you get a variable form a HTTP_*_VARS array via the GetVar() method this variable is referenced to the global namespace. i.e.: $HTTP_GET_VARS["id"] $GLOBALS["id"] =& $HTTP_GET_VARS["id"]; In my opinion thats completely useless caus it messes up global namespace and thats what we want to prevent. What do you think? Andi |
From: Alex B. <en...@tu...> - 2001-08-31 19:33:11
|
looks like xml2php is processing files with names like: something.xml.php, when it should be using something.php.xml.. I'm going ti fix that next week. best, _alex |
From: Alex B. <en...@tu...> - 2001-08-30 19:40:16
|
> Ok, I'm making some progress using bc. Thanks for the suggestions on getting > started. I have some more questions: > > 1. What is the process to set up a database? My understanding is the database > is > created using Metabase and a schema.xml file. Where is the code that does the > actual database creation? Do I have to build that? hi Gerry, it exists in r2 (the module 'db') but doesn't currently in r2, though the code would be quite similar. I suggest you download the r1 tarball and have a look in user/mod/db. > 2. Authorization uses a bc table to check user's credentials. How does this > table > get created? That version of auth is a placeholder from R1. You're welcome to get it functional if you'd like but it's far more simplistic than what we have planned. The table is created in the same way the database is, with a metabase schema file. > 3. Let's say I want to create an admin page to maintain tables in a database. > The > admin page is set up in a grid, with each cell containing the markup to > maintain > one table. I did this before by using one PHP page that posts to itself, > checking > to see what submit button is pressed. Based on that, a record may get added, > deleted, or modified. > > Using bc, how might this be implemented, in terms of modules, layouts and > templates? That would be a single module, a master template isn't necessary for that to work but would be nice if you'd like to have a banner/nav/etc. > 4. I am a little confused about the difference between a layout and a > template. A layout is a template. Here's the deal: -Master templates are the top-level templates for the page types of a site. For example, a master template might contain navigation, a logo, a footer, etc. and markers that tell pahe where to echo module group output. -A Layout template is used to 'layout' modules within a module group. You probably won't use these that often, but when you need them you'll love them. Say you have a module that echos a table, and another that echos some text from a database field - now say you wanted to put... an image in-between them on the page. But you don't want to add that image to either module, and it would be stupid to create a module just to get an image tag in-between these two modules: create a layout. that make more sense? :) _a > TIA, > Gerry > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: Gerry K. <ge...@mc...> - 2001-08-30 11:02:04
|
Ok, I'm making some progress using bc. Thanks for the suggestions on getting started. I have some more questions: 1. What is the process to set up a database? My understanding is the database is created using Metabase and a schema.xml file. Where is the code that does the actual database creation? Do I have to build that? 2. Authorization uses a bc table to check user's credentials. How does this table get created? 3. Let's say I want to create an admin page to maintain tables in a database. The admin page is set up in a grid, with each cell containing the markup to maintain one table. I did this before by using one PHP page that posts to itself, checking to see what submit button is pressed. Based on that, a record may get added, deleted, or modified. Using bc, how might this be implemented, in terms of modules, layouts and templates? 4. I am a little confused about the difference between a layout and a template. TIA, Gerry |
From: Andreas A. (Thyrell) <a.a...@th...> - 2001-08-29 22:25:53
|
Hi Alex, oh cool. Then I'll play around with xml2php a bit :-) Andi -----Original Message----- Sent: Donnerstag, 30. August 2001 00:03 To: binarycloud-dev Subject: Re: [binarycloud-dev] QueryDef/DatasourcesDef - tested? hi andi, sorry, not yet. I've had a really busy week, so I haven't had much of a chance to do anything with r2. Next week I should be able to check everything out. |
From: Alex B. <en...@tu...> - 2001-08-29 22:02:52
|
hi andi, sorry, not yet. I've had a really busy week, so I haven't had much of a chance to do anything with r2. Next week I should be able to check everything out. -a > Hi, > > did someone test the commits I've made last week? > > > Andi > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: Andreas A. (Thyrell) <a.a...@th...> - 2001-08-29 21:45:28
|
Hi, did someone test the commits I've made last week? Andi |