Hi,
pun_admin_log won't install while punBB is running with PostgreSQL because the double quotes aren't considered like string but like columns.
The patch :
Index: manifest.xml
===================================================================
--- manifest.xml (révision 1596)
+++ manifest.xml (copie de travail)
@@ -41,21 +41,21 @@
$query_log = array(
'INSERT' => 'conf_name, conf_value',
'INTO' => 'config',
- 'VALUES' => '"o_pun_admin_path_log_file", "'.$forum_db->escape(realpath(FORUM_ROOT.'/extensions/'.$id.'/forum.log')).'"',
+ 'VALUES' => '\'o_pun_admin_path_log_file\', \''.$forum_db->escape(realpath(FORUM_ROOT.'/extensions/'.$id.'/forum.log')).'\'',
);
$forum_db->query_build($query_log) or error(__FILE__, __LINE__);
$query_log = array(
'INSERT' => 'conf_name, conf_value',
'INTO' => 'config',
- 'VALUES' => '"o_pun_admin_log_write_file", "1"'
+ 'VALUES' => '\'o_pun_admin_log_write_file\', \'1\''
);
$forum_db->query_build($query_log) or error(__FILE__, __LINE__);
$query_log = array(
'INSERT' => 'conf_name, conf_value',
'INTO' => 'config',
- 'VALUES' => '"o_pun_admin_log_write_db", "1"'
+ 'VALUES' => '\'o_pun_admin_log_write_db\', \'1\''
);
$forum_db->query_build($query_log) or error(__FILE__, __LINE__);
@@ -355,4 +355,4 @@
}
]]></hook>
</hooks>
-</extension>
\ No newline at end of file
+</extension>
Charly.