Menu

#161 Not quite PHP 5.4+ compatible - no sqlite2 support

current_Subversion
open
None
5
2015-12-10
2014-08-20
No

PHPWiki (1.5.0) is not PHP5.4+ compatible if your backend was sqlite (version 2) because version 2 compatibility was removed in php5.4. It seems that PHPWiki does not support sqlite3 so that leave anyone using version 2 stuck without an obvious migration path.

Any suggestions?

for search engine indexing, the error that the user sees is:
PhpWiki Warning: (256, Can't connect to database: WikiDB_backend_PearDB_sqlite: fatal database error DB Error: extension not found ( [DB Error: extension not found] ...

Related

Support Requests: #161

Discussion

  • Marc-Etienne Vargenau

    Hello,

    PhpWiki 1.5.0 was mostly tested with MySQL and PostgreSQL. There are many backends and themes to test.

    I will check the sqlite3 backend.

    What you can do is to export all pages with the history:
    PhpWikiAdministration?action=zip&include=all

    then install a new instance with e.g. MySQL and import the ZIP dump.

    Hope this helps.

    Best regards

     
  • Marc-Etienne Vargenau

    • assigned_to: Marc-Etienne Vargenau
     
  • Chris Hiestand

    Chris Hiestand - 2014-08-30

    Thanks. The export and import is a functional workaround.

    As an aside, I had to make a few modifications to the 1.5.0 source code in order to not trigger any php errors. If it were easy, I'd like to share my modifications back to you, however I don't see a way to do a "pull request" like on github.

     
    • Marc-Etienne Vargenau

      Hello,

      Thank you for your input.
      You can sent your patches in phpwiki-patches mailing list (either patch files or complete files).
      I will apply them in Subversion.

      Best regards,

      Marc-Etienne Vargenau


      De : Chris Hiestand [chrishiestand@users.sf.net]
      Date d'envoi : samedi 30 août 2014 03 h 30
      À : [phpwiki:support-requests]
      Objet : [phpwiki:support-requests] #161 Not quite PHP 5.4+ compatible - no sqlite2 support

      Thanks. The export and import is a functional workaround.

      As an aside, I had to make a few modifications to the 1.5.0 source code in order to not trigger any php errors. If it were easy, I'd like to share my modifications back to you, however I don't see a way to do a "pull request" like on github.


      [support-requests:#161]http://sourceforge.net/p/phpwiki/support-requests/161 Not quite PHP 5.4+ compatible - no sqlite2 support

      Status: open
      Group: current_CVS
      Created: Wed Aug 20, 2014 08:09 PM UTC by Chris Hiestand
      Last Updated: Mon Aug 25, 2014 09:51 AM UTC
      Owner: Marc-Etienne Vargenau

      PHPWiki (1.5.0) is not PHP5.4+ compatible if your backend was sqlite (version 2) because version 2 compatibility was removed in php5.4. It seems that PHPWiki does not support sqlite3 so that leave anyone using version 2 stuck without an obvious migration path.

      Any suggestions?

      for search engine indexing, the error that the user sees is:
      PhpWiki Warning: (256, Can't connect to database: WikiDB_backend_PearDB_sqlite: fatal database error DB Error: extension not found ( [DB Error: extension not found] ...


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/support-requests/161/https://sourceforge.net/p/phpwiki/support-requests/161

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions

       

      Related

      Support Requests: #161


Log in to post a comment.