very new to this list - and new to the phpWiki.
just want to install the neweset version; Since the db with the tables is allready crated. Okay we ve got
config-dist.ini and
config-default.ini
i do not want to be harsh: but this mess on the highest level - sorry guys. Which one is the right one!?
Iust want to install the neweset version; Since the db with the tables is allready crated.
now we have this here for the configuration.
all i have to do is the fourth step:
..... 4. Edit the DATABASE settings in config/config.ini to reflect your settings.
a) DATABASE_TYPE should be set to 'SQL' or 'ADODB'.
b) DATABASE_DSN should be set to something like
'mysql://guest@unix(/var/lib/mysql/mysql.sock)/phpwiki";.
(where 'phpwiki' is the mysql database name.)
c) Note that if you set DATABASE_PREFIX to a
non-empty string, you will have to edit
schemas/mysql-initialize.sql before you perform step
three (above). (Sorry.) (You might also edit
schemas/mysql-destroy.sql at the same time, so you
don't forget.)
---------yyyyyyyyyyyyyyyyyyyyyyyyyyyy
the config/config-default.ini has a bunch of options but i am pretty sure that i have an ADODB layer....
wha t does mean the statement i c) - my DATABASE is called php_Wiki - what should i take for the prefix!?
question: these lines are out of the the config/config-default.ini:
am i right: are thoese lines all i have to edit. Don ´t i have to edit more!? ARE THE ONLY lines to edit in the config/config-default.ini:
many thansk for any help - thanks in advance.
is this correct here - do i need to edit this files here!?
>Okay we ve got
>config-dist.ini and
>config-default.ini
>i do not want to be harsh: but this mess on the >highest level - sorry guys.
>Which one is the right one!?
You need both otherwise they wouldn't be there.
If your point your webserver to the index.php the automatic configurator would start and help you with the settings.
Otherwise you would have to read and follow the instructions, which say:
"QUICK START INSTRUCTIONS
Copy 'config/config-dist.ini' to 'config/config.ini' and edit the
settings in 'config/config.ini' to your liking."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"If your point your webserver to the index.php the automatic configurator would start and help you with the settings. "
Just a FYI: This does not work for me. As posted in another thread, I have to create config.ini and set ADMIN_USER and ADMIN_PASSWD or I only get a blank page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for posting and sharing your ideas and experience.
>Just a FYI: This does not work for me. As posted >in another thread, I have to create config.ini >and set ADMIN_USER and ADMIN_PASSWD or I only >get a blank page.
the same to me:
myserver.com/phpwiki/index.php
if i do this - i get the erros
Fatal Error:
lib/FileFinder.php:193: Error: /tmp: file not found
lib/IniConfig.php:221: Notice: missing config setting for ADMIN_USER (...repeated 2 times)
lib/FileFinder.php:193: Error: /tmp: file not found
so what?
guess that there are some things needed!?
cheers
-f
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hell all,
very new to this list - and new to the phpWiki.
just want to install the neweset version; Since the db with the tables is allready crated. Okay we ve got
config-dist.ini and
config-default.ini
i do not want to be harsh: but this mess on the highest level - sorry guys. Which one is the right one!?
Iust want to install the neweset version; Since the db with the tables is allready crated.
now we have this here for the configuration.
all i have to do is the fourth step:
..... 4. Edit the DATABASE settings in config/config.ini to reflect your settings.
a) DATABASE_TYPE should be set to 'SQL' or 'ADODB'.
b) DATABASE_DSN should be set to something like
'mysql://guest@unix(/var/lib/mysql/mysql.sock)/phpwiki";.
(where 'phpwiki' is the mysql database name.)
c) Note that if you set DATABASE_PREFIX to a
non-empty string, you will have to edit
schemas/mysql-initialize.sql before you perform step
three (above). (Sorry.) (You might also edit
schemas/mysql-destroy.sql at the same time, so you
don't forget.)
---------yyyyyyyyyyyyyyyyyyyyyyyyyyyy
the config/config-default.ini has a bunch of options but i am pretty sure that i have an ADODB layer....
wha t does mean the statement i c) - my DATABASE is called php_Wiki - what should i take for the prefix!?
is it enough if i set the following lines
DATABASE_TYPE = dba
DATABASE_PREFIX = ""
DATABASE_SESSION_TABLE = session
DATABASE_DIRECTORY = /tmp
DATABASE_DBA_HANDLER = gdbm
DATABASE_TIMEOUT = 20
DATABASE_PERSISTENT = false
question: these lines are out of the the config/config-default.ini:
am i right: are thoese lines all i have to edit. Don ´t i have to edit more!? ARE THE ONLY lines to edit in the config/config-default.ini:
many thansk for any help - thanks in advance.
is this correct here - do i need to edit this files here!?
look forward to hear from you
floobert
btw .-someone notes in a thread.
TEMP_DIR = /wiki/tmp
PLUGIN_CACHED_CACHE_DIR = /wiki/tmp/cache
The others you dont need at run-time, the are just defaults: DEFAULT_DUMP_DIR = /wiki/tmp/wikidump
HTML_DUMP_DIR = /wiki/tmp/wikidumphtml
>Okay we ve got
>config-dist.ini and
>config-default.ini
>i do not want to be harsh: but this mess on the >highest level - sorry guys.
>Which one is the right one!?
You need both otherwise they wouldn't be there.
If your point your webserver to the index.php the automatic configurator would start and help you with the settings.
Otherwise you would have to read and follow the instructions, which say:
"QUICK START INSTRUCTIONS
Copy 'config/config-dist.ini' to 'config/config.ini' and edit the
settings in 'config/config.ini' to your liking."
"If your point your webserver to the index.php the automatic configurator would start and help you with the settings. "
Just a FYI: This does not work for me. As posted in another thread, I have to create config.ini and set ADMIN_USER and ADMIN_PASSWD or I only get a blank page.
hello Reini,
many thanks for the help - thanks for the great help and your guiding. Now i see much more clear.
BTW Reini, is it true that you once greated the phpwiki for PHP-Nuke. I read some months ago somewhat in a Austrian homepage.
what is it with the php-Nuke-module. IS this still an alive project.
thanks for all you did
floobert
hello pedz
thanks for posting and sharing your ideas and experience.
>Just a FYI: This does not work for me. As posted >in another thread, I have to create config.ini >and set ADMIN_USER and ADMIN_PASSWD or I only >get a blank page.
the same to me:
myserver.com/phpwiki/index.php
if i do this - i get the erros
Fatal Error:
lib/FileFinder.php:193: Error: /tmp: file not found
lib/IniConfig.php:221: Notice: missing config setting for ADMIN_USER (...repeated 2 times)
lib/FileFinder.php:193: Error: /tmp: file not found
so what?
guess that there are some things needed!?
cheers
-f