You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by lw...@cs.hku.hk on 2012/03/13 12:59:58 UTC

Bugs in "apache-olio-php-0.2/public_html/addPersonResult.php"

Hi,

I just downloaded the latest version "apache-olio-php-0.2" to try.  
Sigh~, it takes me several hard days to make it work!

Two obvious bugs appear in file  
"apache-olio-php-0.2/public_html/addPersonResult.php"
------------------
Line 109: $userid = $idres.get(1);

It should be: $userid = $idres->get(1);
------------------
Line 91: there should be a "beginTransaction" statement before "exec"!

Add "$connection->beginTransaction();" before Line 91  
"$connection->exec($insertaddr);"
------------------

These two bugs will cause "AddPerson" Fail.

BTW, please specify the version number that is needed to run the olio.
For faban, I find that the packet provided by  
"http://java.net/projects/faban/" does not work.
Error:  
http://java.net/jira/browse/FABAN-8?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

The old version (faban-kit-1.0.tar.gz) works:  
http://www.opensparc.net/sunsource/faban/www/1.0/


Hope this information is helpful for new tryers.

Luwei Cheng
HKU CS