I am trying to set up phpwiki 1.3.10 to use MySQL and I feel like I have done everything correctly yet when I try and load the wiki I get the following error:
"You don't seem to have DBA support compiled into PHP.
Fatal error: Call to undefined function: dba_open() in /var/www/html/wiki/lib/DbaDatabase.php on line 54"
I don't understand why it is trying to use DBA. I have the config.ini file set to use SQL and even if I set it to "file" it still gives me the same error. Why is this and how can I stop it from trying to use DBA?
I'm using Mandrake 10.1 Community with Apache-AdvancedExtranetServer/2.0.50, PHP/4.3.8 and MySQL 4.0.20.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I actually resolved this (not sure how) but now I am having trouble getting it to connect to my MySQL database. I created the database properly and I can access it using mysql on the command line from the same computer without any username or password. However I cannot get phpwiki to connect to the database. I am using the url mysql://localhost/phpwiki and I get the following errors:
lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_peardb: fatal database error
DB Error: not found
(Unable to include the DB/.php file for `')
/usr/share/pear/DB.php:371: Warning[2]: connect(DB/.php): failed to open stream: No such file or directory
/usr/share/pear/DB.php:371: Warning[2]: connect(): Failed opening 'DB/.php' for inclusion (include_path='.:/usr/lib/php/:/usr/share/pear/:/var/www/html/wiki:/var/www/html/wiki/lib/pear')
lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_peardb: fatal database error
DB Error: not found
(Unable to include the DB/.php file for `')
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to set up phpwiki 1.3.10 to use MySQL and I feel like I have done everything correctly yet when I try and load the wiki I get the following error:
"You don't seem to have DBA support compiled into PHP.
Fatal error: Call to undefined function: dba_open() in /var/www/html/wiki/lib/DbaDatabase.php on line 54"
I don't understand why it is trying to use DBA. I have the config.ini file set to use SQL and even if I set it to "file" it still gives me the same error. Why is this and how can I stop it from trying to use DBA?
I'm using Mandrake 10.1 Community with Apache-AdvancedExtranetServer/2.0.50, PHP/4.3.8 and MySQL 4.0.20.
Thanks.
I actually resolved this (not sure how) but now I am having trouble getting it to connect to my MySQL database. I created the database properly and I can access it using mysql on the command line from the same computer without any username or password. However I cannot get phpwiki to connect to the database. I am using the url mysql://localhost/phpwiki and I get the following errors:
lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_peardb: fatal database error
DB Error: not found
(Unable to include the DB/.php file for `')
lib/IniConfig.php:218: Notice[8]: Undefined index: dsn
lib/WikiDB/SQL.php:14: Notice[8]: Undefined index: dsn
lib/WikiDB/SQL.php:16: Notice[8]: Undefined index: dsn
lib/WikiDB/backend/PearDB.php:24: Notice[8]: Undefined index: dsn
/usr/share/pear/DB.php:371: Warning[2]: connect(DB/.php): failed to open stream: No such file or directory
/usr/share/pear/DB.php:371: Warning[2]: connect(): Failed opening 'DB/.php' for inclusion (include_path='.:/usr/lib/php/:/usr/share/pear/:/var/www/html/wiki:/var/www/html/wiki/lib/pear')
lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_peardb: fatal database error
DB Error: not found
(Unable to include the DB/.php file for `')