[lcm-devel] bug fixes and keywords/edit-fu
Brought to you by:
mlutfy
From: Mathieu L. <ma...@bi...> - 2004-11-15 16:08:28
|
Hi all, I'm writing very quickly to say that I made the following bug stimulating modifications: - In inc_version.php I put error_reporting(E_ALL) to test, and found many interesting bugs. I left it disactivated, but I only wanted to mention that it's a good exercise to clean the code. I also suggest to use $_REQUEST['var_foo'] to extract global variables passed in a POST/GET, it almost makes PHP a bit more readable. I made a few modifications for this in listcases.php, listclients.php and config_author.php. It also fixed the mysterious bugs that changed the theme without modification. (Reported by Krasi) - I added a very basic frame-work for the keywords, described here: http://www.lcm.ngo-bg.org/ecrire/articles.php3?id_article=43 System keywords are cached as are lcm_meta values. I have tested them so far with the follow-up types. See: edit_fu.php3 - Database mess today: I changed and fixed my database structure a few times today, but I was too lazy to increase the DB version every time. If you have upgraded your dev site today, you may need to "drop table lcm_keyword" and lcm_keyword_group, then > update lcm_meta set value = "9" where value = "10"; So that the upgrade is run again (sorry!). If you see mysterious bugs, it may be linked to the many changes I did here and there.. so do not hesitate to contact me :-) matt -- Mathieu Lutfy <ma...@bi...> http://www.bidon.ca GPG 0x5F5BCEB4 0D3B 1AEE EF9B FB34 2FE7 80EC 8E8D F00A 5F5B CEB4 |