| 140 | 2. And you get the following entries in your Apache error log: |
| 141 | |
| 142 | |
| 143 | {{{ |
| 144 | ... |
| 145 | ...PythonHandler trac.web.modpython_frontend: File "/lib/python2.4/site-packages/trac/db.py", line 211, in _rollback_on_error\n return function(self, *args, **kwargs) |
| 146 | ...PythonHandler trac.web.modpython_frontend: OperationalError: unsupported file format |
| 147 | }}} |
| 148 | |
| 149 | It's probably due to that you have a mod_php module in apache with SQLite support compiled into it. Unless one configures mod_php with "--without-sqlite" it will be compiled with PHP's internal SQLite-support, which is SQLite 2.x. This will confuse apache when Trac, and mod_python, dynamically tries to load another version of the SQLite library. Most probably the same version the SQLite database is constructed by, why the SQLite 2.x version included in mod_php gives the above error. |
| 150 | Solution is either to unload mod_php or to compile mod_php without sqlite-support. |