<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>&lt;requirement name='DemoPerson'&gt; <br> &lt;atLeast version='3.1.3'&gt;<br> &lt;lessThan version='3.2'&gt;<br>&lt;/requirement&gt;<br></pre>in the &lt;metadata&gt; section after the requirement for ihris-manage in the ihris-manage-Wamp.xml.<br><br><br>Notice<br>I2CE: I2CE_ModuleFactory-&gt;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-&gt;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-&gt;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-&gt;bringUpSystem (C:\Program Files\ihris-suite\lib\ihris\i2ce\lib\I2CE.php:312): Error in checking configuration files<br><br><br><br><div>&nbsp;</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:&nbsp; +255 (22) 2410179&nbsp;<br>Cell: +255 (75) 4274884</font></strong></div>  <div><strong><font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +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 &lt;litlfred@ibiblio.org&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion of iHRIS Suite development. &lt;ihris-developers@lists.intrahealth.org&gt;<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.&nbsp; 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>&nbsp; <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>&gt; I did every thing as you wrote, but what I see is that the <br>&gt; form_person.html from&nbsp; C:\Program <br>&gt; Files\ihris-suite\lib\ihris\ihris-common\modules\Person\templates is <br>&gt; the one which is loaded. When I edit and leave those files (view.html <br>&gt; and form_person.html) in the original directories its working with<br>Sorry.&nbsp; I forgot to tell the DemoPerson
 module that it has template <br>files.&nbsp; You need<br>add the lines<br>&nbsp; &nbsp; &lt;path name='templates'&gt;<br>&nbsp; &nbsp; &nbsp;  &lt;value&gt;./templates&lt;/value&gt;<br>&nbsp; &nbsp; &lt;/path&gt;<br>to demoperson.xml.&nbsp;  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>&gt; two warning.<br>&gt; *Warning*: Invalid argument supplied for foreach() in *C:\Program <br>&gt; Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php* <br>&gt; on line *602*<br>&gt;<br>&gt; *Warning*: Invalid argument supplied for foreach() in *C:\Program <br>&gt; Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php* <br>&gt; on line *602*<br>&gt;&nbsp; <br>there was a mistake early on in
 the wiki article in defining the <br>headers. it has since been<br>fixed i hope.&nbsp; Do you have this:<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;configuration name='headers' type='delimited' values='many'&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;value&gt;default:Favorite Animal&lt;/value&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Set the default header for this field to be 'Favorite Animal'--&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/configuration&gt;<br><br>and this:<br> <br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;configuration name='headers' type='delimited' values='many'&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;value&gt;default:Favorite Animal&lt;/value&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Set the default header for this field to be 'Favorite Animal'--&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/configuration&gt;<br><br>The
 type='delimited'&nbsp; 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.&nbsp; Do it.<br>*repeat for fav_color<br>*Edit the DemoPerson.xml and make the above changes.<br>*reload the site.&nbsp; you _should_ be OK at this point.<br><br><br><br>&gt; One thing I noteced is that when I add new data i don't see them in <br>&gt; database, but I see them on iHRIS<br>are you referring to the hippo_XXXX tables?&nbsp; this is only cached data <br>and so it may not have<br>been updated yet.&nbsp; 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>&nbsp; <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>&gt; *Kind regards<br>&gt; A. A. Rwegasira *<br>&gt; *P.O Box 65351<br>&gt; **Dar es salaam<br>&gt; Tanzania*<br>&gt; *Tel:&nbsp; +255 (22) 2410179 <br>&gt; Cell: +255 (75) 4274884*<br>&gt; *&nbsp; &nbsp; &nbsp; &nbsp;  +255 (75) 4710613*<br>&gt; *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a><br>&gt; <a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a><br>&gt;
 *<br>&gt; *<br>&gt; *<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; *From:* Frederick Leitner &lt;<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a>&gt;<br>&gt; *To:* Discussion of iHRIS Suite development. <br>&gt; &lt;<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;<br>&gt; *Sent:* Friday, September 4, 2009 5:39:19 PM<br>&gt; *Subject:* Re: [ihris-developers] Run DemoPerson<br>&gt;<br>&gt; Thank you for the details.<br>&gt;<br>&gt; The directory C:\Program Files\ihris-suite\sites\ihris-manage&nbsp; is the<br>&gt; site directory.&nbsp; It should be (almost) the same stuff as what you found<br>&gt; under C:\Program Files\ihris-suite\lib\ihris-manages\sites\Demo as it<br>&gt; was copied over by the installer.<br>&gt;<br>&gt; You need to
 make the changes directly in<br>&gt; C:\Program Files\ihris-suite\sites\ihris-manage<br>&gt; which should contains something like:<br>&gt; ihris-manage-wamp.xml<br>&gt; templates\<br>&gt; pages\<br>&gt; and maybe a few more.&nbsp; Do you see these?<br>&gt;<br>&gt; You can talk with us on IRC and hopefully we can<br>&gt; get this resolved quicker.<br>&gt;&nbsp;  irc://irc.oftc.net/ihris<br>&gt; I am litlfred there.<br>&gt;<br>&gt; I am curious who is your organization?&nbsp; At the moment,<br>&gt; I plan on coming to Dar Es Salaam in December.<br>&gt;<br>&gt; Cheers.<br>&gt; -carl<br>&gt;<br>&gt; A. A. Rwegasira wrote:<br>&gt; &gt;<br>&gt; &gt; Thanks for interest to help me.<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; *&nbsp; I am learning tutorials on how to customize iHRIS 3.1.3. I am<br>&gt; &gt;&nbsp; &nbsp; &nbsp; using windows vista operating system. I followed all the<br>&gt; &gt;&nbsp; &nbsp; &nbsp; instruction in Tutorial
 Adding_Fields_to_the_Person_Form<br>&gt; &gt;&nbsp; &nbsp; &nbsp; <br><span>&gt; "<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>&gt; &gt;&nbsp; &nbsp; &nbsp; tutorial carefully. You said that in Microsoft windows :<br>&gt; &gt;<br>&gt; &gt; If you have installed Windows iHRIS Manage you will be working under<br>&gt; &gt; the directories:<br>&gt; &gt;<br>&gt; &gt; &lt;Base Dir&gt;<br>&gt; &gt;<br>&gt; &gt; C:\Program Files\ihris-suite<br>&gt; &gt;<br>&gt; &gt; &lt;Site Dir&gt;<br>&gt; &gt;<br>&gt; &gt; C:\Program Files\ihris-suite\sites\ihris-manage<br>&gt; &gt;<br>&gt; &gt; <br>&gt; &gt;<br>&gt; &gt; but in &lt;Site Dir&gt; there is no Demo directory so I decided to use<br>&gt; &gt; C:\Program Files\ihris-suite\lib\ihris\ihris-manage\sites where there<br>&gt; &gt; is a Demo directory. After that I followed tutorial
 instructions. But<br>&gt; &gt; when I run the system I don't see any change on person form. So what I<br>&gt; &gt; have to do?<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; * My goal is to customize iHRIS by adding new field on Person form<br>&gt; &gt;&nbsp; &nbsp; &nbsp; or replace the person form with my Person form that conforms to<br>&gt; &gt;&nbsp; &nbsp; &nbsp; our organization.<br>&gt; &gt;<br>&gt; &gt; Please help<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; <br>&gt; &gt; *Kind regards<br>&gt; &gt; A. A. Rwegasira *<br>&gt; &gt; *P.O Box 65351<br>&gt; &gt; **Dar es salaam<br>&gt; &gt; Tanzania*<br>&gt; &gt; *Tel:&nbsp; +255 (22) 2410179<br>&gt; &gt; Cell: +255 (75) 4274884*<br>&gt; &gt; *&nbsp; &nbsp; &nbsp; &nbsp; +255 (75) 4710613*<br>&gt; &gt; *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> &lt;mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz"
 href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>&gt;<br>&gt; &gt; <a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> &lt;mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>&gt;<br>&gt; &gt; *<br>&gt; &gt; *<br>&gt; &gt; *<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; *From:* Frederick Leitner &lt;<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:litlfred@ibiblio.org" href="mailto:litlfred@ibiblio.org">litlfred@ibiblio.org</a>&gt;&gt;<br>&gt; &gt; *To:* Discussion of iHRIS Suite development.<br>&gt; &gt; &lt;<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>
 <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;&gt;<br>&gt; &gt; *Sent:* Wednesday, September 2, 2009 3:57:14 PM<br>&gt; &gt; *Subject:* Re: [ihris-developers] Run DemoPerson<br>&gt; &gt;<br>&gt; &gt; Hello,<br>&gt; &gt; I am happy to help, but can you please describe in more detail what you<br>&gt; &gt; are trying to do?&nbsp; Where is DemoPerson coming from?<br>&gt; &gt;<br>&gt; &gt; Cheers.<br>&gt; &gt; -carl leitner<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; A. A. Rwegasira wrote:<br>&gt; &gt; &gt; I tried to run DemoPerson but I encountered the following error<br>&gt; &gt; &gt;&nbsp; [02-Sep-2009 14:58:05] PHP Warning:&nbsp; Invalid argument supplied for<br>&gt; &gt; &gt; foreach() in C:\Program<br>&gt; &gt; &gt; Files\ihris-suite\lib\ihris\i2ce\modules\Forms\lib\I2CE_FormField.php<br>&gt; &gt; &gt; on line 602<br>&gt; &gt;
 &gt;<br>&gt; &gt; &gt; *Kind regards<br>&gt; &gt; &gt; A. A. Rwegasira *<br>&gt; &gt; &gt; *P.O Box 65351<br>&gt; &gt; &gt; **Dar es salaam<br>&gt; &gt; &gt; Tanzania*<br>&gt; &gt; &gt; *Tel:&nbsp; +255 (22) 2410179<br>&gt; &gt; &gt; Cell: +255 (75) 4274884*<br>&gt; &gt; &gt; *&nbsp; &nbsp; &nbsp; &nbsp; +255 (75) 4710613*<br>&gt; &gt; &gt; *<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> &lt;mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>&gt; <br>&gt; &lt;mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a> &lt;mailto:<a ymailto="mailto:arwegasira@cs.udsm.ac.tz" href="mailto:arwegasira@cs.udsm.ac.tz">arwegasira@cs.udsm.ac.tz</a>&gt;&gt;<br>&gt; &gt; &gt; <a ymailto="mailto:arwegasira@gmail.com"
 href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> &lt;mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>&gt; <br>&gt; &lt;mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a> &lt;mailto:<a ymailto="mailto:arwegasira@gmail.com" href="mailto:arwegasira@gmail.com">arwegasira@gmail.com</a>&gt;&gt;<br>&gt; &gt; &gt; *<br>&gt; &gt; &gt; *<br>&gt; &gt; &gt; *<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; ihris-developers mailing list<br>&gt; &gt; &gt; <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a
 ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;<br>&gt; &gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;&gt;<br><span>&gt; &gt; &gt; <a target="_blank" href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a></span><br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; ihris-developers mailing list<br>&gt; &gt; <a ymailto="mailto:ihris-developers@lists.intrahealth.org"
 href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;<br>&gt; &gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;&gt;<br>&gt; &gt; <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt;
 _______________________________________________<br>&gt; &gt; ihris-developers mailing list<br>&gt; &gt; <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;<br>&gt; &gt; <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>&gt; &gt; <br>&gt;<br>&gt; _______________________________________________<br>&gt; ihris-developers mailing list<br>&gt; <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a> <br>&gt; &lt;mailto:<a ymailto="mailto:ihris-developers@lists.intrahealth.org"
 href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a>&gt;<br>&gt; <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; ihris-developers mailing list<br>&gt; <a ymailto="mailto:ihris-developers@lists.intrahealth.org" href="mailto:ihris-developers@lists.intrahealth.org">ihris-developers@lists.intrahealth.org</a><br>&gt; <a href="http://lists.intrahealth.org/mailman/listinfo/ihris-developers" target="_blank">http://lists.intrahealth.org/mailman/listinfo/ihris-developers</a><br>&gt;&nbsp;  <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>