![]() |
|
Tests and troubleshooting
Tests
Now you can try to access daCode (don't forget the candles)
$ mozilla the basehref you defined in config.site |
Troubleshooting
Do not panic! You have the following resources to understand what happened:
-
the users mailing list: dacode-user@linuxfr.org
-
compare your results with the running daCode servers:
-
http://linuxfr.org not a test machine
-
http://www.dacode.org
-
http://demo.dacode.org
-
-
the script which displays the config on xhich daCode runs. If you have an exotic configuration (i.e. one we've never seen) you'll have to be able to describe it.
-
Apache may crash because of extensions, of Unix file permissions, or because it refuses to follows symlinks. The error mesages are usually explicit. Don't forget to look also at the error log.
-
The SQL queries may be logged in a file (config parameter $this->sql_logfile in config.php3)
-
It may be useful to have a look at the file hierarchy of daCode. You can follow the URLs:
$ cd /tmp/daroot/ $ tree -P "*php3" | grep -v CVS . |-- admin | |-- index.php3 | |-- mod.php3 | |-- modpoll.php3 | |-- modusers.php3 | |-- tip_section_add.php3 | |-- topics_add.php3 | |-- topics_edit.php3 | `-- viewfile.php3 |-- board | |-- add.php3 | |-- index.php3 | `-- info.php3 |-- comments | |-- add.php3 | |-- index.php3 | |-- score.php3 | |-- thread.php3 | `-- view.php3 |-- dacode.php3 |-- gen.php3 |-- images | `-- section |-- index.php3 |-- messages | |-- add.php3 | |-- post.php3 | `-- view.php3 |-- news | |-- send_email.php3 | |-- send_email_view.php3 | `-- view_modero.php3 |-- pda | |-- index.php3 | `-- news.php3 |-- poll | |-- index.php3 | `-- new.php3 |-- redirect.php3 |-- search.php3 |-- short-rss.php3 |-- short.php3 |-- submit.php3 |-- themes | |-- daweb | | `-- images | |-- kde2 | | `-- images | |-- linuxfr | | `-- images | |-- phpnukeopenmind | | `-- images | | `-- section | |-- slashdot | | `-- images | | `-- section | `-- wm | `-- images |-- users | |-- index.php3 | |-- login.php3 | |-- modpasswd.php3 | |-- myposts.php3 | |-- password.php3 | `-- settings.php3 |-- view_attach.php3 |-- w | `-- news.php3 |-- wap | |-- index.php3 | `-- news.php3 `-- webcam |-- image.php3 |-- submit.php3 |-- webcam_admin.php3 `-- webcam_change.php3
-
The scripts may crash because you didn't light enough candles...
You won't find too many big, blocking bugs in daCode, because we have only a developpement version, and we need to be able to work with it. If a patch introduces a blocking bug, it will be quickly corrected or abandonned. daCode needs to be stable because some websites like linuxfr.org use daCode. Maybe yours, too.
The little, gentle bugs, warnings, poorly written docs in bad english ("more bad that a translation of Babelfish"), ducks, dirty page layouts and ugly icons are as numerous as the stars in the sky. This is a consequence of our vow to the first bug. The secret wisdom of the Holy Mussel would teach you this is to bring you to the edge of sanity, until you submit a patch.
-
If we find a bug, we correct it, so everyone can update his/her config very quickly.
[Switch the modem on] $ cvs update -d -P [Switch the modem off] test again