For some reason, Coppermine assumes that all bridge applications are using MySQL. That may have been true ten years ago, but today, many applications use database servers such as PostGreSQL, MSSQL, and Oracle. If Coppermine attempts to bridge to an application that is using a database server other than MySQL, it will crash, and the only way to fix the crash is to manually change the Coppermine configuration in the database using phpMyAdmin.
Dion Designs to the rescue! The following ZIP file contains a rewritten bridge core, and a new bridge driver for phpBB3.
- 10.65 KiB | Downloaded 343 times
Installation is easy. Un-ZIP the file and upload the two PHP files to the Coppermine
/bridgedirectory. That's it! You will overwrite files of the same name, which is fine, since you never again want to use the old files.
You will now be able to brige Coppermine to phpBB3, even if phpBB3 is using PostGreSQL databases!
As I mentioned above, the only bridge driver rewritten to use the new brodge core is for phpBB3. If anyone else would like to rewrite bridge drivers for other applications, I would be happy to provide some pointers, though looking at the phpBB3 bridge driver should provide all the information you need.
Note: in the following post, I will post some modifications you should make to Coppermine's
include/functions.inc.phpfile. I strongly suggest that you make these modifications, because otherwise, Coppermine may crash when doing certain admin-related functions.