Hello,
I'm using a web hosting service for my website. I have installed phpwiki but I have a problem. Every time I try to login with admin.php page my login is refused.
Any Idea ?
thx in advance for your answer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my admin.php page i got message: "Set the administrator account and password first."
I searched though "readme" and "install" files, but found nothing about setting admin account. Could you please describe briefly what should I do or give me appropriate source on information?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using PHPWiki 1.2.9 with MySQL and this is a new install. It is working fine except for administration. I cannot authenticate an admin user. I entered an admin user and password into admin.php. It is not accepting that user/pass combination.
I could be wrong, but does this script require Register Globals - On to work? That would be bad. Most people will not run PHP with Register Globals on for security reasons.
Is there something else that might be required that I have missed?
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using a web hosting service for my website. I have installed phpwiki but I have a problem. Every time I try to login with admin.php page my login is refused.
Any Idea ?
thx in advance for your answer
set register_globals on in your .htaccess or
use another workaround:
(untested)
add this to the top of your lib/config.php:
if (!ini_get('register_globals'))
import_request_variables('gp');
Workaround didn't work for me :(
On my admin.php page i got message: "Set the administrator account and password first."
I searched though "readme" and "install" files, but found nothing about setting admin account. Could you please describe briefly what should I do or give me appropriate source on information?
Thank you
Open admin.php in an editor and give the needed admin name and password.
$wikiadmin = ...
$adminpasswd ...
Be sure to check lib/config.php also for more settings.
I am using PHPWiki 1.2.9 with MySQL and this is a new install. It is working fine except for administration. I cannot authenticate an admin user. I entered an admin user and password into admin.php. It is not accepting that user/pass combination.
I could be wrong, but does this script require Register Globals - On to work? That would be bad. Most people will not run PHP with Register Globals on for security reasons.
Is there something else that might be required that I have missed?
Paul
I had the same problem with my first install. Configurator.php was not accepting name/pwd stored in config.ini.
Solution: My pwd was too short. Making it longer helped for me.
I had the same problem. I did not know what to put in the windows-looking prompts.
So I just went into admin.php and commented out the code that authenticates the user.
The above is what you can put comments around to make it work. This is insecure of course. But when all else fails you can do it.
I changed the comments to an if statement so that it would be easier to control, though. I may add in my own authentication later.