You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
(265) |
Apr
(166) |
May
(25) |
Jun
(17) |
Jul
(20) |
Aug
(47) |
Sep
(6) |
Oct
(14) |
Nov
(66) |
Dec
(64) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(109) |
Feb
(64) |
Mar
(34) |
Apr
(23) |
May
(64) |
Jun
(9) |
Jul
(13) |
Aug
(6) |
Sep
(33) |
Oct
(272) |
Nov
(67) |
Dec
(75) |
2003 |
Jan
(264) |
Feb
(244) |
Mar
(171) |
Apr
(119) |
May
(54) |
Jun
(93) |
Jul
(51) |
Aug
(48) |
Sep
(14) |
Oct
(49) |
Nov
(47) |
Dec
(15) |
2004 |
Jan
(13) |
Feb
(27) |
Mar
(18) |
Apr
(44) |
May
(35) |
Jun
(24) |
Jul
(39) |
Aug
(142) |
Sep
(35) |
Oct
(34) |
Nov
(49) |
Dec
(24) |
2005 |
Jan
(60) |
Feb
(71) |
Mar
(19) |
Apr
(27) |
May
(68) |
Jun
(4) |
Jul
(30) |
Aug
(10) |
Sep
(23) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(46) |
Mar
(64) |
Apr
(18) |
May
(16) |
Jun
(37) |
Jul
(7) |
Aug
(19) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(23) |
2007 |
Jan
(25) |
Feb
(21) |
Mar
(32) |
Apr
(36) |
May
(12) |
Jun
(1) |
Jul
(7) |
Aug
(15) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(3) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2009 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Matthew M. <ma...@tu...> - 2003-02-11 12:38:05
|
> New to this list and new user of phpwebsite, Welcome :) > Most of errors can be solved by a safe (isset($myvar) && $myvar==123) or > even initialize a default value for each variable. We will be more mindful of this in the future. > A second error is the wrong way to check if a DB::connect successed or > not, instead of checking the message ($db->message), there is a > DB:isError($db): > if(DB::isError($db)){ > echo 'foobar '.$db->message; > } An error class is in the making. It should incorporate the above. > I would like to continue my tests but I actually do not have a lot of > times to debug/fixes others things then the setup itself. No problem. Every little bit helps. Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu |
From: Projet/Objet <li...@pr...> - 2003-02-11 04:34:44
|
Hi Don, Finaly got it to install by following closely the docs. I can smell the brand new engine. What a feeling it is to have been able to get to this point. I am really enthousiast about your baby ;-) To all of you working in the dark: Thank you so much! Keep up the good work!!! Regards, Yves |
From: Mike N. <mh...@us...> - 2003-02-11 04:18:39
|
On Mon, 2003-02-10 at 18:28, Don Seiler wrote: > Mike Windsor has been testing a module out with me and he uses IE6. He > says that when he tries to upload a png image, the file type is set as > image/x-png, and when he tries to upload a jpeg image, the file type is > set as image/pjpeg. However these images are the same as normal image/png > and image/jpeg images, so I was able to handle them with just an extra > entry. > > I know that the Announcements mod for one won't allow these. > > Can someone confirm that IE is sending these different image types? Don, I did a little Goggling, and found out that MS broke standards again. IANA sets acceptable MIME types. However, MS decided that progressive jpegs should be labeled pjpeg. MIME Media Types http://www.iana.org/assignments/media-types/index.html -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Don S. <do...@se...> - 2003-02-11 02:28:51
|
Mike Windsor has been testing a module out with me and he uses IE6. He says that when he tries to upload a png image, the file type is set as image/x-png, and when he tries to upload a jpeg image, the file type is set as image/pjpeg. However these images are the same as normal image/png and image/jpeg images, so I was able to handle them with just an extra entry. I know that the Announcements mod for one won't allow these. Can someone confirm that IE is sending these different image types? Don. |
From: Pierre-Alain J. <pa...@pe...> - 2003-02-11 01:51:10
|
On Tue, 11 Feb 2003 02:21:15 +0100 Pierre-Alain Joye <pa...@pe...> wrote: > Hello, > I answer myself, clearly no :(. Is it in your TODO ? hth pierre |
From: Pierre-Alain J. <pa...@pe...> - 2003-02-11 01:21:41
|
Hello, New to this list and new user of phpwebsite, I'm starting an evaluation of CMS available for php. One of your developer (sorry, I do not find back his name) discussed about phpwebsite on pear ML and that sounds like something cool for me, so here I am :). Before I run to far in fixes in the setup script, have you successfully tested the current RC4 with error_reporting(E_ALL) and register_globals Off ? I got a lot of errors due to these two settings. Most of errors can be solved by a safe (isset($myvar) && $myvar==123) or even initialize a default value for each variable. A second error is the wrong way to check if a DB::connect successed or not, instead of checking the message ($db->message), there is a DB:isError($db): if(DB::isError($db)){ echo 'foobar '.$db->message; } I would like to continue my tests but I actually do not have a lot of times to debug/fixes others things then the setup itself. If the application itself works well with the above settings, I can try to fix the setup scripts. Otherwise, I like to see an application using PEAR, so I will try anyway to fix it later :), if that helps. Thank's for your great job, pierre |
From: Steven L. <st...@tu...> - 2003-02-10 23:54:01
|
Hey Yves, Adam posted this fix to problems in Text.php in a thread on phpWebSite. Just replace it with the one in your "core" directory and things should be better. http://phpwebsite.appstate.edu/downloads/0.9.0rc/patch/phpwebsite-0.9.0-rc4-text-patch.tar.gz -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Projet/Objet <li...@pr...> - 2003-02-10 22:49:19
|
Hi Don, To me.... this domain name is fully qualified and working/hosted on a VPS. = I have to browse and login to this site everyday and I have a cPanel in there which is also working OK. Simply try: www.passagesdevie.org What exactly do you mean by "qualified domain name"? If you can surf it... then isn't it qualifying? Regards, Yves le 2003/02/10 17:36, Don Seiler =E0 do...@se... a =E9crit=A0: > The $source_http var needs to be a real fully qualified domain name, > either via DNS or the servers /etc/hosts file (in linux-land). >=20 > Looks to me like the culprit. >=20 > Don. >=20 > On Mon, 10 Feb 2003, Projet/Objet wrote: >=20 >> For testing, I finally sort of succeeded in installing the RC4 on one of= my >> servers. >>=20 >> I can browse the main page but when I enter my admin logins, after a ver= y >> long delay (something like 4-5 minutes) it returns me with a page packed= of >> errors such as this combo: >>=20 >> --------- >> Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure= in >> name resolution in /home/mysite/public_html/fr/core/Text.php on line 414 >>=20 >> Warning: getimagesize: Unable to open >> 'http://www.mysite/fr/mod/help/img/help.gif' for reading. in >> /home/passages/public_html/fr/core/Text.php on line 414 >> --------- >>=20 >> This is happening even if I have uploaded the latest Text.php file >>=20 >> Anyone would have a clue on what I should be checking? >> Maybe I should erase this install and startover fresh? >>=20 >> Regards, >>=20 >> Yves Malouin |
From: Don S. <do...@se...> - 2003-02-10 22:41:59
|
That var is in conf/config.php. Forgot to mention it. Don. On Mon, 10 Feb 2003, Don Seiler wrote: > The $source_http var needs to be a real fully qualified domain name, > either via DNS or the servers /etc/hosts file (in linux-land). > > Looks to me like the culprit. > > Don. > > On Mon, 10 Feb 2003, Projet/Objet wrote: > > > For testing, I finally sort of succeeded in installing the RC4 on one of my > > servers. > > > > I can browse the main page but when I enter my admin logins, after a very > > long delay (something like 4-5 minutes) it returns me with a page packed of > > errors such as this combo: > > > > --------- > > Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in > > name resolution in /home/mysite/public_html/fr/core/Text.php on line 414 > > > > Warning: getimagesize: Unable to open > > 'http://www.mysite/fr/mod/help/img/help.gif' for reading. in > > /home/passages/public_html/fr/core/Text.php on line 414 > > --------- > > > > This is happening even if I have uploaded the latest Text.php file > > > > Anyone would have a clue on what I should be checking? > > Maybe I should erase this install and startover fresh? > > > > Regards, > > > > Yves Malouin > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-02-10 22:36:54
|
The $source_http var needs to be a real fully qualified domain name, either via DNS or the servers /etc/hosts file (in linux-land). Looks to me like the culprit. Don. On Mon, 10 Feb 2003, Projet/Objet wrote: > For testing, I finally sort of succeeded in installing the RC4 on one of my > servers. > > I can browse the main page but when I enter my admin logins, after a very > long delay (something like 4-5 minutes) it returns me with a page packed of > errors such as this combo: > > --------- > Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in > name resolution in /home/mysite/public_html/fr/core/Text.php on line 414 > > Warning: getimagesize: Unable to open > 'http://www.mysite/fr/mod/help/img/help.gif' for reading. in > /home/passages/public_html/fr/core/Text.php on line 414 > --------- > > This is happening even if I have uploaded the latest Text.php file > > Anyone would have a clue on what I should be checking? > Maybe I should erase this install and startover fresh? > > Regards, > > Yves Malouin > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Projet/Objet <li...@pr...> - 2003-02-10 22:32:05
|
For testing, I finally sort of succeeded in installing the RC4 on one of my servers. I can browse the main page but when I enter my admin logins, after a very long delay (something like 4-5 minutes) it returns me with a page packed of errors such as this combo: --------- Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/mysite/public_html/fr/core/Text.php on line 414 Warning: getimagesize: Unable to open 'http://www.mysite/fr/mod/help/img/help.gif' for reading. in /home/passages/public_html/fr/core/Text.php on line 414 --------- This is happening even if I have uploaded the latest Text.php file Anyone would have a clue on what I should be checking? Maybe I should erase this install and startover fresh? Regards, Yves Malouin |
From: Mike N. <mh...@us...> - 2003-02-10 21:57:58
|
phpWS team, Are Gimp .xcf source files available for the graphics used in phpWS? These files if available would greatly help theme developers, and slightly help module developers. Example: Availability of a .xcf for the yellow module icons would allow a module creator to modify a graphic to match the default ones. -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Adam M. <ad...@tu...> - 2003-02-10 19:41:02
|
OK All the changes are complete. We are still setting up users and groups, however so only anonymous check outs are active at the moment. I wrote a shell script that will remotely checkout and build a phpwebsite installation for you. Make sure you edit the settings at the top to reflect the directory you want the installation to go into and the username on the remote string if you are not doing an anonymous checkout. You can also tweak which modules you wish to have installed. The secure_phpws script is run at the end as a non root user for setup. So make sure to fix your permissions after you run the web based installer. I will be submitting the script to CVS as well in the shellscripts repository. Enjoy! Adam > We decided to keep the current 0.8.x code in the repository. We will > make up a tarball of the most recent 0.8.x code and post it to > sourceforge as well. > > Adam > >> On Mon, 2003-02-10 at 10:27, Adam Morton wrote: >>> Close but we're ripping out the old code all together, modules will >>> each have their own repository and the core will have it's own named >>> 'phpwebsite'. All themes will go into the 'themes' repository. >> >> Adam, >> Before removing the old 'phpwebsite' module/tree, please tarball it. >> Then upload it to the SF FRS (file release system). This will provide >> a last known source for the 0.8x code. >> >> https://sourceforge.net/project/showfiles.php?group_id=15539 >> >> SourceForge.net: G4. Guide to the File Release System (FRS) >> https://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1 >> >> -- >> Mike Noyes <mhnoyes @ users.sourceforge.net> >> http://sourceforge.net/users/mhnoyes/ >> http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ >> >> >> >> >> ------------------------------------------------------- >> This SF.NET email is sponsored by: >> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >> http://www.vasoftware.com >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------------------------------------------- > Adam Morton > Developer - Electronic Student Services > http://phpwebsite.appstate.edu > Founder - Appalachian Linux Users Group > http://alug.appstate.edu > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Adam M. <ad...@tu...> - 2003-02-10 18:44:32
|
We decided to keep the current 0.8.x code in the repository. We will make up a tarball of the most recent 0.8.x code and post it to sourceforge as well. Adam > On Mon, 2003-02-10 at 10:27, Adam Morton wrote: >> Close but we're ripping out the old code all together, modules will >> each have their own repository and the core will have it's own named >> 'phpwebsite'. All themes will go into the 'themes' repository. > > Adam, > Before removing the old 'phpwebsite' module/tree, please tarball it. > Then upload it to the SF FRS (file release system). This will provide a > last known source for the 0.8x code. > > https://sourceforge.net/project/showfiles.php?group_id=15539 > > SourceForge.net: G4. Guide to the File Release System (FRS) > https://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1 > > -- > Mike Noyes <mhnoyes @ users.sourceforge.net> > http://sourceforge.net/users/mhnoyes/ > http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Mike N. <mh...@us...> - 2003-02-10 18:26:37
|
On Mon, 2003-02-10 at 10:27, Adam Morton wrote: > Close but we're ripping out the old code all together, modules will each > have their own repository and the core will have it's own named > 'phpwebsite'. All themes will go into the 'themes' repository. Adam, Before removing the old 'phpwebsite' module/tree, please tarball it. Then upload it to the SF FRS (file release system). This will provide a last known source for the 0.8x code. https://sourceforge.net/project/showfiles.php?group_id=15539 SourceForge.net: G4. Guide to the File Release System (FRS) https://sourceforge.net/docman/display_doc.php?docid=6445&group_id=1 -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Adam M. <ad...@tu...> - 2003-02-10 18:15:35
|
Close but we're ripping out the old code all together, modules will each have their own repository and the core will have it's own named 'phpwebsite'. All themes will go into the 'themes' repository. Adam > On Mon, 2003-02-10 at 09:47, Adam Morton wrote: >> >> Just an fyi...we will be restructuring our cvs repository this >> afternoon. If you actively use code from our cvs repository, you will >> need to wait til the restructuring is complete to continue. Once the >> restructuring is done, anyone who is running a cvs copy of phpwebsite >> should remove their code and re-checkout everything. There may be >> some version history losses in the transfer, we will be archiving old >> history as much as we can. >> >> I will be sure to post as soon as we are done here. > > Adam, > Let me guess. > > You'll rename phpwebsite to phpwebsite_0.8. Then you're going to move > phpwebsite_core to phpwebsite. Then move phpwebsite_modules to > phpwebsite/mod. Then move phpwebsite_themes to phpwebsite/themes. After > this is done you'll create modules in CVSROOT for core, mod, and themes. > > How did I do? > > ref. C.1 The modules file > http://www.cvshome.org/docs/manual/cvs_18.html#SEC157 > > -- > Mike Noyes <mhnoyes @ users.sourceforge.net> > http://sourceforge.net/users/mhnoyes/ > http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Mike N. <mh...@us...> - 2003-02-10 17:50:07
|
On Mon, 2003-02-10 at 09:47, Adam Morton wrote: > > Just an fyi...we will be restructuring our cvs repository this afternoon. > If you actively use code from our cvs repository, you will need to wait > til the restructuring is complete to continue. Once the restructuring is > done, anyone who is running a cvs copy of phpwebsite should remove their > code and re-checkout everything. There may be some version history losses > in the transfer, we will be archiving old history as much as we can. > > I will be sure to post as soon as we are done here. Adam, Let me guess. You'll rename phpwebsite to phpwebsite_0.8. Then you're going to move phpwebsite_core to phpwebsite. Then move phpwebsite_modules to phpwebsite/mod. Then move phpwebsite_themes to phpwebsite/themes. After this is done you'll create modules in CVSROOT for core, mod, and themes. How did I do? ref. C.1 The modules file http://www.cvshome.org/docs/manual/cvs_18.html#SEC157 -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Adam M. <ad...@tu...> - 2003-02-10 17:36:03
|
Just an fyi...we will be restructuring our cvs repository this afternoon. If you actively use code from our cvs repository, you will need to wait til the restructuring is complete to continue. Once the restructuring is done, anyone who is running a cvs copy of phpwebsite should remove their code and re-checkout everything. There may be some version history losses in the transfer, we will be archiving old history as much as we can. I will be sure to post as soon as we are done here. Thanks Adam --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Don S. <do...@se...> - 2003-02-09 00:17:28
|
Nevermind. Note to children: When you grow up and want to be a php programmer, try not to be a careless idiot and re-use the variable name of your array of objects for an array of template data. Don. On Sat, 8 Feb 2003, Don Seiler wrote: > I failed to note that Manager.getThings passes a reference to the Things > array, not a copy. Otherwise the point of keeping the Things array in the > session would be lost. But I have tried it with just the copy and I got > the same error. > > Don. > > On Sat, 8 Feb 2003, Don Seiler wrote: > > > Came across a stumbling block and need a fresh set of eyes. > > > > I have 3 classes in my module (among others). Manager, Item, and Thing. > > Thing is a set of dynamic fields that could be in item. The Thing class > > defines the fields, not their values. So I thought it would be best to > > have my array of Things in the Manager class. > > > > So my Manager constructor it calls the sql to get all the things out of > > the database and populates an array of Thing objects. > > > > All is good. > > > > Now when the Item needs to get the list of Things to display forms or > > values it would just get the list like this: > > > > $this->mythings = $_SESSION["SES_MODULE_MANAGER"]->getThings(); > > > > Manager.getThings is defined as: > > > > function getThings() { > > // Things is the array of Thing object populated in the > > constructor > > return $this->_things; > > } > > > > I have echo statements that verify that the array return has the same > > number of items as the array in the Manager. However when I try to make > > function calls on the Thing objects in the array from my Item, I get error > > about call to member object on a non-object. Example would be if I tried > > this from my Item class: > > > > for($i=0; $i<count($this->mythings); $i++) > > $this->mythings[$i]->renderThing(); > > > > > > I had assumed it was pretty trivial, but can I, in fact, return an array > > of objects from the session? > > > > Don. > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-02-09 00:06:26
|
I failed to note that Manager.getThings passes a reference to the Things array, not a copy. Otherwise the point of keeping the Things array in the session would be lost. But I have tried it with just the copy and I got the same error. Don. On Sat, 8 Feb 2003, Don Seiler wrote: > Came across a stumbling block and need a fresh set of eyes. > > I have 3 classes in my module (among others). Manager, Item, and Thing. > Thing is a set of dynamic fields that could be in item. The Thing class > defines the fields, not their values. So I thought it would be best to > have my array of Things in the Manager class. > > So my Manager constructor it calls the sql to get all the things out of > the database and populates an array of Thing objects. > > All is good. > > Now when the Item needs to get the list of Things to display forms or > values it would just get the list like this: > > $this->mythings = $_SESSION["SES_MODULE_MANAGER"]->getThings(); > > Manager.getThings is defined as: > > function getThings() { > // Things is the array of Thing object populated in the > constructor > return $this->_things; > } > > I have echo statements that verify that the array return has the same > number of items as the array in the Manager. However when I try to make > function calls on the Thing objects in the array from my Item, I get error > about call to member object on a non-object. Example would be if I tried > this from my Item class: > > for($i=0; $i<count($this->mythings); $i++) > $this->mythings[$i]->renderThing(); > > > I had assumed it was pretty trivial, but can I, in fact, return an array > of objects from the session? > > Don. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-02-08 23:40:22
|
Came across a stumbling block and need a fresh set of eyes. I have 3 classes in my module (among others). Manager, Item, and Thing. Thing is a set of dynamic fields that could be in item. The Thing class defines the fields, not their values. So I thought it would be best to have my array of Things in the Manager class. So my Manager constructor it calls the sql to get all the things out of the database and populates an array of Thing objects. All is good. Now when the Item needs to get the list of Things to display forms or values it would just get the list like this: $this->mythings = $_SESSION["SES_MODULE_MANAGER"]->getThings(); Manager.getThings is defined as: function getThings() { // Things is the array of Thing object populated in the constructor return $this->_things; } I have echo statements that verify that the array return has the same number of items as the array in the Manager. However when I try to make function calls on the Thing objects in the array from my Item, I get error about call to member object on a non-object. Example would be if I tried this from my Item class: for($i=0; $i<count($this->mythings); $i++) $this->mythings[$i]->renderThing(); I had assumed it was pretty trivial, but can I, in fact, return an array of objects from the session? Don. |
From: Mike N. <mh...@us...> - 2003-02-08 21:12:37
|
On Wed, 2003-02-05 at 12:13, Robb Doyle wrote: > I've been following recent discussion of wikiwikiwiki and it got me > investigating the subject more. > I've found a perl based program that would be great to "port to" a > phpWebsite module. In the Open Source community it is a "wiki standard > of sorts" which has attracted development and usage from private major > corporations. > TWikiTM - A Web Based Collaboration Platform > http://twiki.org/ > http://sourceforge.net/projects/twiki > > What do you think about the prospect for these functions to be > translated into PHP? Everyone, The project below shows how Wiki functions can be integrated into a CMS written in PHP. Tiki! http://tikiwiki.sourceforge.net/ https://sourceforge.net/projects/tikiwiki -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Philip M. <lis...@li...> - 2003-02-07 14:02:58
|
I don't know if anyone here is aware of the fact that Mandrake are asking their users to vote on what software they wish to see in the upcoming release of Mandrake 9.1. I've added phpWebSite to the list and voted for it, but it's currently lagging behind both PHPNuke and PostNuke :-( PHPNuke - 23 votes PostNuke - 19 votes phpWebSite - 9 votes If you know of anyone who uses Mandrake and is a member of MandrakeClub, see if you can use your persuasive powers to get them to vote for phpWebSite :-) Phil -- Philip McAllister < uk . co . liquidsand @ phil > "All I ask is the chance to prove that money can't make me happy" - Spike Milligan |
From: Matthew M. <ma...@tu...> - 2003-02-07 13:28:31
|
>> Ideas? Suggestions? > > As it relates to conversions, it'd be safer if you SELECT all ids to an > array and then loop through the array selecting/converting/saving the > data one row at a time. Good idea. Also, after final release we plan on going through the core and tightening up code to try to make it leaner. Matt |
From: Eloi G. <el...@re...> - 2003-02-07 00:01:17
|
> Ideas? Suggestions? As it relates to conversions, it'd be safer if you SELECT all ids to an array and then loop through the array selecting/converting/saving the data one row at a time. You could also probably save the id_list and current_marker to a file so that if any server errors occur, conversion can begin from the point it left off. -Eloi George- |