...(previously declared in /home/httpd/vhosts/mydomain.com/subdomains/bertornot/httpdocs/phpwiki/configurator.php:71)
I've just setup phpwiki (1.3.11_rc3), changed a minimum of configuration items (just to connect to my MySQL DB) and voila.... what is wrong? Could anyone help me out please?
Kind regards,
Bert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got the same thing. I went into config-dist.ini, and set
;ADMIN_USER =
; ADMIN_PASSWD is ignored on HttpAuth
;ADMIN_PASSWD =
to
ADMIN_USER = myusername
; ADMIN_PASSWD is ignored on HttpAuth
ADMIN_PASSWD = mypw
But it still doesn't work. I get prompted for a username and password, enter them, and then just get prompted over and over again. Anyone know what I'm doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh. Hold on. You said that you're changing the settings in config-dist.ini? That might also be contributing to your problem. You should copy config-dist.ini to config.ini, and make your changes there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm. Yeah, you were right. I had thought that, too, but chainging ENCRYPTED_PASSWD to false didn't work, for some reason.
At any rate, using an encrypted password seems to have gotten me a bit closer. However, now I see the following at the bottom of my configurator screen:
Fatal Error:
lib/IniConfig.php:584: Error: ADMIN_USER may not be empty. Please update your configuration.
lib/IniConfig.php:189: Warning: Invalid argument supplied for foreach() (...repeated 2 times)
lib/IniConfig.php:285: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:447: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:447: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:584: Error: ADMIN_USER may not be empty. Please update your configuration.
What could be going wrong now?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm. Okay, I dropped trying to use the configurator. I manually set everything, created my MySQL DB, and tried to run it. Now I'm getting the "Virgin wiki" screen, but with these fatal errors:
lib/FileFinder.php:191: Error: WIKI_PGSRC: file not found
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
...(previously declared in /home/httpd/vhosts/mydomain.com/subdomains/bertornot/httpdocs/phpwiki/configurator.php:71)
I've just setup phpwiki (1.3.11_rc3), changed a minimum of configuration items (just to connect to my MySQL DB) and voila.... what is wrong? Could anyone help me out please?
Kind regards,
Bert
I got the same message. It comes up when you did not set an admin user name and password in the config.php file.
I got the same thing. I went into config-dist.ini, and set
;ADMIN_USER =
; ADMIN_PASSWD is ignored on HttpAuth
;ADMIN_PASSWD =
to
ADMIN_USER = myusername
; ADMIN_PASSWD is ignored on HttpAuth
ADMIN_PASSWD = mypw
But it still doesn't work. I get prompted for a username and password, enter them, and then just get prompted over and over again. Anyone know what I'm doing wrong?
Check your setting for ENCRYPTED_PASSWD.
I suspect that you have it set to 'true' (which is the recommended setting), but you're still setting ADMIN_PASSWORD to something unencrypted.
The comment above ENCRYPTED_PASSWD (in the config.ini) describes how to encrypt your password.
Oh. Hold on. You said that you're changing the settings in config-dist.ini? That might also be contributing to your problem. You should copy config-dist.ini to config.ini, and make your changes there.
Hm. Yeah, you were right. I had thought that, too, but chainging ENCRYPTED_PASSWD to false didn't work, for some reason.
At any rate, using an encrypted password seems to have gotten me a bit closer. However, now I see the following at the bottom of my configurator screen:
Fatal Error:
lib/IniConfig.php:584: Error: ADMIN_USER may not be empty. Please update your configuration.
lib/IniConfig.php:189: Warning: Invalid argument supplied for foreach() (...repeated 2 times)
lib/IniConfig.php:285: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:447: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:447: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:584: Error: ADMIN_USER may not be empty. Please update your configuration.
What could be going wrong now?
It seems to think that ADMIN_USER is empty. What do you have ADMIN_USER set to right now?
If the configurator fails (it's just a stupid experimental tool),
please copy config-dist.ini manually to config.ini and edit it manually.
Hm. Okay, I dropped trying to use the configurator. I manually set everything, created my MySQL DB, and tried to run it. Now I'm getting the "Virgin wiki" screen, but with these fatal errors:
lib/FileFinder.php:191: Error: WIKI_PGSRC: file not found
lib/IniConfig.php:331: Warning: array_key_exists(): The second argument should be either an array or an object
lib/IniConfig.php:431: Warning: constant(): Couldn't find constant WIKI_NAME_REGEXP
lib/IniConfig.php:447: Warning: array_key_exists(): The second argument should be either an array or an object
Any advice?