<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Thanks very much. When I reinstalled it and followed tutorials intructions again I came up with the following errors.<br>I putted <br><pre><requirement name='DemoPerson'> <br> <atLeast version='3.1.3'><br> <lessThan version='3.2'><br></requirement><br></pre>in the <metadata> section after the requirement for ihris-manage in the ihris-manage-Wamp.xml.<br><br><br>Notice<br>I2CE: I2CE_ModuleFactory->checkConfigFiles (C:\Program Files\ihris-suite\lib\ihris\i2ce\lib\I2CE.php:424): Adding ihris-manage-site-wamp because config file not up to date<br>Notice<br>I2CE: I2CE_ModuleFactory->checkConfigFiles (C:\Program Files\ihris-suite\lib\ihris\i2ce\lib\I2CE.php:424): Will attempt to update: ihris-manage-site-wamp<br>Notice<br>I2CE: I2CE_ModuleFactory->updateSystem
(C:\Program Files\ihris-suite\lib\ihris\i2ce\lib\I2CE_ModuleFactory.php:862): Installation failed: Requirement for ihris-manage-site-wamp: DemoPerson atLeast 3.1.3 unavailable to the systemI2CE: I2CE->bringUpSystem (C:\Program Files\ihris-suite\lib\ihris\i2ce\lib\I2CE.php:312): Error in checking configuration files<br><br><br><br><div> </div><div id="RTEContent"><div><div><div><div><div><div><strong><font color="#0000ff">Kind regards<br>A. A. Rwegasira </font></strong></div> <div><strong><font color="#0000ff">P.O Box 65351 <br></font></strong><strong><font color="#0000ff">Dar es salaam <br>Tanzania</font></strong><br><strong><font color="#0000ff">Tel: +255 (22) 2410179 <br>Cell: +255 (75) 4274884</font></strong></div> <div><strong><font color="#0000ff"> +255 (75) 4710613</font></strong></div> <strong><font
color="#0000ff">arwegasira@cs.udsm.ac.tz<br>arwegasira@gmail.com<br></font></strong> <div><strong><font color="#0000ff"><br> </font></strong></div></div></div></div></div></div></div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Frederick Leitner <litlfred@ibiblio.org><br><b><span style="font-weight: bold;">To:</span></b> Discussion of iHRIS Suite development. <ihris-developers@lists.intrahealth.org><br><b><span style="font-weight: bold;">Sent:</span></b> Saturday, September 5, 2009 3:27:05 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [ihris-developers] Run DemoPerson<br></font><br>
<br>Hello,<br> Sorry you are having these issues. I am sure we can get them resolved. <br>BTW, since you are using Windows you can try installing an IRC Client<br>for windows. Here is one (although I have not used it myself):<br><span> <a target="_blank" href="http://download.cnet.com/mIRC/3000-2150_4-10001733.html?tag=mncol">http://download.cnet.com/mIRC/3000-2150_4-10001733.html?tag=mncol</a></span><br>We are on the server:<br> <a target="_blank" href="http://irc.oftc.net">irc.oftc.net</a><br>On the channel:<br> #ihris<br>I am litlfred there.<br><br>> I did every thing as you wrote, but what I see is that the <br>> form_person.html from C:\Program <br>> Files\ihris-suite\lib\ihris\ihris-common\modules\Person\templates is <br>> the one which is loaded. When I edit and leave those files (view.html <br>> and form_person.html) in the original directories its working with<br>Sorry. I forgot to tell the DemoPerson
module that it has template <br>files. You need<br>add the lines<br> <path name='templates'><br> <value>./templates</value><br> </path><br>to demoperson.xml. I updated the wiki:<br><span> <a target="_blank" href="http://open.intrahealth.org/mediawiki/Adding_Fields_to_the_Person_Form#Creating_a_New_Module">http://open.intrahealth.org/mediawiki/Adding_Fields_to_the_Person_Form#Creating_a_New_Module</a></span><br>so you can see where to put them.<br>> two warning.<br>> *Warning*: Invalid argument supplied for foreach() in *C:\Program <br>> Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php* <br>> on line *602*<br>><br>> *Warning*: Invalid argument supplied for foreach() in *C:\Program <br>> Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php* <br>> on line *602*<br>> <br>there was a mistake early on in
the wiki article in defining the <br>headers. it has since been<br>fixed i hope. Do you have this:<br><br> <configuration name='headers' type='delimited' values='many'> <br> <value>default:Favorite Animal</value> <br> <!-- Set the default header for this field to be 'Favorite Animal'--><br> </configuration><br><br>and this:<br> <br><br> <configuration name='headers' type='delimited' values='many'> <br> <value>default:Favorite Animal</value> <br> <!-- Set the default header for this field to be 'Favorite Animal'--><br> </configuration><br><br>The
type='delimited' and values='many' was missing before.<br>If you do not have this, you can fix it by doing the following:<br>*Browse to "Configure System"<br>*Browse to "Browse Magic Data"<br>*Browse to "modules" then "forms" then "formClasses" then "DemoPerson" <br>then "fields" then "fav_animal"<br>*You should see a way to "Erase" the "headers" node. Do it.<br>*repeat for fav_color<br>*Edit the DemoPerson.xml and make the above changes.<br>*reload the site. you _should_ be OK at this point.<br><br><br><br>> One thing I noteced is that when I add new data i don't see them in <br>> database, but I see them on iHRIS<br>are you referring to the hippo_XXXX tables? this is only cached data <br>and so it may not have<br>been updated yet. The actual data is stored in the last_entry table:<br><span> <a target="_blank"
href="http://open.intrahealth.org/mediawiki/Technical_Overview:_Form_Storage_--_Entry/Last_Entry">http://open.intrahealth.org/mediawiki/Technical_Overview:_Form_Storage_--_Entry/Last_Entry</a></span><br>There is some info about form caches:<br><span> <a target="_blank" href="http://open.intrahealth.org/mediawiki/Form_Caches">http://open.intrahealth.org/mediawiki/Form_Caches</a></span><br>the article is for 4.0 but much of it applies for 3.1<br><br>Hope this helps,<br>-carl<br>> *Kind regards<br>> A. A. Rwegasira *<br>> *P.O Box 65351<br>> **Dar es salaam<br>> Tanzania*<br>> *Tel: +255 (22) 2410179 <br>> Cell: +255 (75) 4274884*<br>> * +255 (75) 4710613*<br>> *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a><br>> <a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a><br>>
*<br>> *<br>> *<br>><br>><br>> ------------------------------------------------------------------------<br>> *From:* Frederick Leitner <<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a>><br>> *To:* Discussion of iHRIS Suite development. <br>> <<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>><br>> *Sent:* Friday, September 4, 2009 5:39:19 PM<br>> *Subject:* Re: [ihris-developers] Run DemoPerson<br>><br>> Thank you for the details.<br>><br>> The directory C:\Program Files\ihris-suite\sites\ihris-manage is the<br>> site directory. It should be (almost) the same stuff as what you found<br>> under C:\Program Files\ihris-suite\lib\ihris-manages\sites\Demo as it<br>> was copied over by the installer.<br>><br>> You need to
make the changes directly in<br>> C:\Program Files\ihris-suite\sites\ihris-manage<br>> which should contains something like:<br>> ihris-manage-wamp.xml<br>> templates\<br>> pages\<br>> and maybe a few more. Do you see these?<br>><br>> You can talk with us on IRC and hopefully we can<br>> get this resolved quicker.<br>> irc://irc.oftc.net/ihris<br>> I am litlfred there.<br>><br>> I am curious who is your organization? At the moment,<br>> I plan on coming to Dar Es Salaam in December.<br>><br>> Cheers.<br>> -carl<br>><br>> A. A. Rwegasira wrote:<br>> ><br>> > Thanks for interest to help me.<br>> ><br>> > * I am learning tutorials on how to customize iHRIS 3.1.3. I am<br>> > using windows vista operating system. I followed all the<br>> > instruction in Tutorial
Adding_Fields_to_the_Person_Form<br>> > <br><span>> "<a target="_blank" href="http://open.intrahealth.org/mediawiki/Adding_Fields_to_the_Person_Form">http://open.intrahealth.org/mediawiki/Adding_Fields_to_the_Person_Form</a>"</span><br>> > tutorial carefully. You said that in Microsoft windows :<br>> ><br>> > If you have installed Windows iHRIS Manage you will be working under<br>> > the directories:<br>> ><br>> > <Base Dir><br>> ><br>> > C:\Program Files\ihris-suite<br>> ><br>> > <Site Dir><br>> ><br>> > C:\Program Files\ihris-suite\sites\ihris-manage<br>> ><br>> > <br>> ><br>> > but in <Site Dir> there is no Demo directory so I decided to use<br>> > C:\Program Files\ihris-suite\lib\ihris\ihris-manage\sites where there<br>> > is a Demo directory. After that I followed tutorial
instructions. But<br>> > when I run the system I don't see any change on person form. So what I<br>> > have to do?<br>> ><br>> > * My goal is to customize iHRIS by adding new field on Person form<br>> > or replace the person form with my Person form that conforms to<br>> > our organization.<br>> ><br>> > Please help<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > <br>> > *Kind regards<br>> > A. A. Rwegasira *<br>> > *P.O Box 65351<br>> > **Dar es salaam<br>> > Tanzania*<br>> > *Tel: +255 (22) 2410179<br>> > Cell: +255 (75) 4274884*<br>> > * +255 (75) 4710613*<br>> > *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> <mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz"
href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>><br>> > <a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> <mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>><br>> > *<br>> > *<br>> > *<br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > *From:* Frederick Leitner <<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a> <br>> <mailto:<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a>>><br>> > *To:* Discussion of iHRIS Suite development.<br>> > <<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>
<br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>>><br>> > *Sent:* Wednesday, September 2, 2009 3:57:14 PM<br>> > *Subject:* Re: [ihris-developers] Run DemoPerson<br>> ><br>> > Hello,<br>> > I am happy to help, but can you please describe in more detail what you<br>> > are trying to do? Where is DemoPerson coming from?<br>> ><br>> > Cheers.<br>> > -carl leitner<br>> ><br>> ><br>> > A. A. Rwegasira wrote:<br>> > > I tried to run DemoPerson but I encountered the following error<br>> > > [02-Sep-2009 14:58:05] PHP Warning: Invalid argument supplied for<br>> > > foreach() in C:\Program<br>> > > Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php<br>> > > on line 602<br>> >
><br>> > > *Kind regards<br>> > > A. A. Rwegasira *<br>> > > *P.O Box 65351<br>> > > **Dar es salaam<br>> > > Tanzania*<br>> > > *Tel: +255 (22) 2410179<br>> > > Cell: +255 (75) 4274884*<br>> > > * +255 (75) 4710613*<br>> > > *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> <mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>> <br>> <mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> <mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>>><br>> > > <a ymailto="mailto:arwegasira@gmail.com"
href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> <mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>> <br>> <mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> <mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>>><br>> > > *<br>> > > *<br>> > > *<br>> > ><br>> > ><br>> > > <br>> ------------------------------------------------------------------------<br>> > ><br>> > > _______________________________________________<br>> > > ihris-developers mailing list<br>> > > <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a
ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>><br>> > <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>>><br><span>> > > <a target="_blank" href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a></span><br>> > ><br>> ><br>> > _______________________________________________<br>> > ihris-developers mailing list<br>> > <a ymailto="mailto:ihris-developers@lists.intrahealth.org"
href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>><br>> > <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>>><br>> > <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> >
_______________________________________________<br>> > ihris-developers mailing list<br>> > <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>><br>> > <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>> > <br>><br>> _______________________________________________<br>> ihris-developers mailing list<br>> <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>> <mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org"
href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>><br>> <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> ihris-developers mailing list<br>> <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a><br>> <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>> <br><br>_______________________________________________<br>ihris-developers mailing list<br><a ymailto="mailto:ihris-developers@lists.intrahealth.org"
href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a><br><a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br></div></div></div><br>
</body></html>