Admin Reloaded
Dec 28
The admin side of Halalan recently received some changes. It now uses CodeIgniter’s Form Validation library instead of the manual and tedious error-checking in the previous releases. With all the changes that happened, some bugs may have crept into the code. Helping in testing the changes is very much appreciated.
Here’s how to test the recent changes:
- Checkout revision 550 of the 1.x.x branch (e.g., svn checkout -r 550 http://halalan.googlecode.com/svn/branches/1.x.x halalan-test)
- Input the database settings at system/application/config/database.php
- Go to the Halalan URL + install (e.g., http://localhost/halalan-test/install)
Copy the generated configuration to system/application/config/halalan.php- Update: For easier installation, just copy this halalan.php to system/application/config/ and change $config['halalan']['image_trail_path'] and $config['base_url'] to reflect your settings
- Create writable directories: public/captcha, public/uploads/logos, public/uploads/pictures, public/uploads/csvs
- Update: Make sure that the folder specified in $config['halalan']['image_trail_path'] is also writable
- Login to the system and play with it
If any problems are encountered, send an email to the mailing list or post a comment below.
Jan 15, 2010 @ 10:17:05
FYI: As of r. 550, it 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:
Notice: Undefined index: pin in /opt/lampp/htdocs/halalan-test/install/ok.php on line 132
FALSE;
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:
;
and in the views:
The above error only happens when the checkbox is not checked.
The following revision would help:
;
:)
BTW, using XAMPP 1.7.2 – PHP 5.3.0.
Jan 15, 2010 @ 10:18:57
Errr.. I knew they would process the codes.
—
Here’s the post again:
FYI: As of r. 550, it 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:
b >Notice /opt/lampp/htdocs/halalan-test/install/ok.php< / b on line < b] 132
FALSE;
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:
;
and in the views:
The above error only happens when the checkbox is not checked.
The following revision would help:
;
:)
BTW, using XAMPP 1.7.2 – PHP 5.3.0.
Jan 15, 2010 @ 10:22:25
Errr.. I’ll probably just send it to the mailing list.