Search found 19 matches

by bram
Mon Aug 16, 2010 4:46 pm
Forum: Bug reports
Topic: [PATCH] Fix autojoin
Replies: 1
Views: 1583

[PATCH] Fix autojoin

Currently it is possible to select 'autoJoin' on a group but I do not see it being used. There is a function autoJoin in phpmyfaq/inc/PMF_Perm/PermMedium.php but I do not see it being called anyware. Fixes this by: - defining a dummy autoJoin function in PermBasic.php - always calling autoJoin when ...
by bram
Mon Aug 16, 2010 4:45 pm
Forum: Bug reports
Topic: [PATCH] Fix upgrade script for postgresql
Replies: 1
Views: 1499

[PATCH] Fix upgrade script for postgresql

The upgrade script has several problems with postgresl: a) postgresql does not support the syntax: alter table ... add ... after .... This syntax is used to update the tables: 'faqdata' and 'faqdata_revisions'. Fix this by creating a temporary table and copy'ing the data. b) the 'faqsearches' was cr...
by bram
Mon Aug 16, 2010 4:45 pm
Forum: Bug reports
Topic: [PATCH] Improve the error handler
Replies: 3
Views: 2461

[PATCH] Improve the error handler

Currently the custom error handler of phpMyFaq sends all errors to the screen. This is not very flexible and does not allow the errors to be send to the syslog and/or a log file. Improve this by changing the error handler to respect the values: 'display_errors' and 'log_errors'. In addition: use the...
by bram
Mon Aug 16, 2010 4:44 pm
Forum: Bug reports
Topic: [PATCH] Use PMF_String_Basic::strlen instead of PMF_String::
Replies: 1
Views: 1560

[PATCH] Use PMF_String_Basic::strlen instead of PMF_String::

When an attachment is uploaded and the filename does not contain an extension then the upload fails with the error: PHP Fatal error: Call to a member function strlen() on a non-object in /opt/supfaq/inc/String.php on line 103 The reason that this does not work is because inc/Init.php contains: if (!...