michel jacobs schrieb:
> if I use the file option instead of a dba i get the following result:
>
> lib/IniConfig.php:108: Notice[1024]: missing config setting for DEBUG
>
> lib/main.php:869: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB/backend/file.php:65: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:66: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:76: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:77: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:76: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:77: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:76: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:77: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:76: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:77: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB.php:168: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB.php:540: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB.php:168: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB.php:540: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB.php:168: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB.php:540: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
>
> lib/WikiDB/backend/file.php:122: Warning[2]: open_basedir restriction in
> effect. File is in wrong directory
>
> lib/WikiDB/backend/file.php:122: Warning[2]:
> fopen("/tmp/page_data/global_data", "a+b") - Operation not permitted
>
>
> Error while writing page 'global_data'
>
>
> Can you pls guide me as to where what is wrong?
Didn't the error messages tell you exactly what is wrong?
> lib/IniConfig.php:108: Notice[1024]: missing config setting for DEBUG
> lib/main.php:869: Notice[8]: Use of undefined constant DEBUG - assumed
> 'DEBUG'
Says that DEBIG is not defined in your configuration.
Add DEBUG=0 to your config.ini to silent this.
> lib/WikiDB/backend/file.php:65: Warning[2]: open_basedir restriction
in effect. File is in wrong directory
> lib/WikiDB/backend/file.php:122: Warning[2]:
> fopen("/tmp/page_data/global_data", "a+b") - Operation not permitted
Says tells you that your DATABASE_DIRECTORY, where your flatfiles should
be stores at is an invalid choice, because you have no write permissions
there.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban
http://phpwiki.org
|