AigaionWiki:FAQ
From AigaionWiki
A FAQ is a very sensible thing to have. Something to distill from the forums, I guess...
I have found a bug. What should I do?
First, check the list below to see whether your problem is actually already known and documented. If you're sure you've found a bug: Aigaion Bug Reports are currently stored at our Tracker and discussions take place in our Forum.
I can't get Aigaion to work in the first place. What is going wrong?
A number of Frequently Asked Questions about installation of Aigaion.
- Why do I get a blank page or an eternal redirect?
- The directory <aigaionroot>/codeigniter/logs must be writable
- cookies must be enabled in your browser
- the server must be configured to use cookies (rarely a problem, but see topic on the forum, and especially reply #9
- the Aigaion SITEID, specified during install and stored in index.php, cannot contain spaces. It can consist of alphanumeric characters only, with at least one letter. See e.g. forum post
- the directory <aigaionroot>/codeigniter/logs must be writable for the web user (!). If it is not, you get a blank page with no errors at all...
- why do I get a 404?
- Aigaion (or actually CodeIgniter) parses the URI in a certain way in order to find out what page you want to see. For some servers, the default way of doing this does not work and you need to change config setting $config['uri_protocol'] for Aigaion. See forum discussion for more info
- If that does not help, you can try to modify your config file to enforce a question mark after the index.php: $config['index_page'] = "index.php?"; See forum discussion, reply#21 for more info
- ... Or you may have put Aigaion in a https domain, but forgot the s in the APPURL and AIGAION_ROOT_URL settings (see Forum post)
- Aigaion cannot connect to the mysql server. Why?
- port problem? see e.g. forum discussion
- I get an error 'String functions are overloaded by mbstring'
- See discussion on forum
I have problems with uploading or downloading (large) attachments. What is going wrong?
The most common problems and errors with uploading attachments are:
- The server is read-only, or the attachment directory is not writable, so storing uploaded attachment on the server fails
- The PHP settings for the webserver are sometimes inadequate for uploading attachments: 'upload_max_filesize', 'post_max_size' and 'max_execution_time' should all be large enough for uploading attachments of a normal size
- The Aigaion setting 'allowed attachment extensions' does not contain the right extensions
- Large attachments can give problems with uploading or downloading; see for now the Forum
(some solutions and workarounds mentioned later in thread)
I have a problem with character sets and UTF8 codes, and now my data looks messed up
How to reset admin password
The admin password is md5-hashed. So, create a new md5 hash of a string you know and insert this in the 'users' table. You can do it with following small PHP script:
<?php
echo md5 ('mynewpassword');
?>
Save it on the web server and view it in your browser, then take this string and input it in the database. Note that you must update the password for the right account (i.e., the right user_id value)!
UPDATE `ag2users` SET `password`='Result_from_above' WHERE `user_id`=1;
Afterwards you can login with the password 'mynewpassword' (or whatever you chose).
Remark: It's a good idea to backup the previous value of the password field, if something goes wrong, and you start to remember the old password due to all this stress. Thanks to boldewyn (http://www.aigaion.nl/forum/index.php?topic=126.0)