FYI: As of r. 550, Halalan does not work anymore with XAMPP 1.6.6.
(I’m not sure if it’s with the PHP versions [4.4.8 and 5.2.5])
Also, I get the following after the installation (generation of the halalan.php) : Using XAMPP 1.7.2 – PHP 5.3.0, Halalan r.554.
$config['halalan']['captcha'] = <br />
<b>Notice</b>: Undefined index: captcha in <b>/opt/lampp/htdocs/halalan-test/install/ok.php</b> on line <b>137</b><br />
On indexes pin, captcha, show_candidate_details and random_order.
I looked it up in the sources and all of the following fields have something that looks like this:
<?php echo ($_POST['captcha']) ? $_POST['captcha'] : 'FALSE'; ?>;
and in the views:
<input type="checkbox" name="pin" value="TRUE" />
The above error only happens when the checkbox is not checked.
The following revision would help:
<?php echo (isset($_POST['captcha'])) ? $_POST['captcha'] : 'FALSE'; ?>;
:)
--
Waldemar Amado Bautista