I'm getting "Error: your login.txt key does not match correctly.". From what I can see, this issue has been around for a while.
The odd thing for me to note is that it authenticates me once, and then immediately fails and sends me back to step 2.
I have tried modifying the index.php as suggested in other postings.
Using version - gallery-2.1.2-typical
Posts: 32509
please post a phpinfo link.
FAQ: What information is required when I ask for help in the forums?
Posts: 8
removed url
Posts: 32509
1. i see you're using a buggy zend optimizer version / php version combination:
do you see any errors like:
"Notice: Only variable references should be returned by reference in "
2. already tried clearing your cookies for that domain in your browser?
your php session settings look fine.
Posts: 8
Where would I see that error. And if I was seeing it, how should I react to it?
Any other sugestions?
Posts: 8
I have tried installing gallery 2 on three different hosts today and they all seem to have 'buggy zend versions' because this happens to some extent in all of them
I have been trying to run gallery2 for almost a year now without success.
Posts: 32509
Locor
let's discuss your issue in a dedicated thread as described in the other thread you just posted. thanks.
Posts: 32509
Ak5intoe
you probably don't see the warnings / Notices, they would be shown somewhere in the webpage.
anyway, did you try the other thing, deleting the cookie?
Posts: 8
Ok, I deleted my cookies and got the same problem. I'm not seeing the error you described but am seeing some errors.
Basically I get the screen telling me to copy the login.txt up to the server (A.JPG). Then I get screen B after I authenticate. When I try to continue I go back to screen A (but with a different key now).
http://www.macfarlane.org/gallery2/problem/A.JPG
http://www.macfarlane.org/gallery2/problem/B.JPG
Any ideas?
Posts: 32509
thanks for the screenshots.
the php errors at the top clearly show that your webhost has php safe_mode enabled.
g2 doesn't work on such hosts.
see:
FAQ: Does G2 work with Safe Mode PHP?
Posts: 8
Turning safe mode off did it!
Thanks a million.
Posts: 1
Might seem stupid, but how do I turn safe-mode off ?
Do I hafto enter the php conf. to do that or is it just to change cmod to 777 on that folder ?
Posts: 32509
Maciato
are you a customer of a shared webhosting plan? usually you can't disable php safe_mode in such environments yourself. the administrator has to do it for you.
it's a php.ini change and requires a restart of the webserver (unless it's php-cgi and not a webserver module).
Posts: 40
I also have this login.txt problem, but on the server where i want to use G2 is safe_mode turned off. Any suggestions how to fix the problem?
Posts: 32509
Klabautermann
please post a phpinfo link and a screenshot of your login screen.
FAQ: What information is required when I ask for help in the forums?
also, i'm assuming you're using g2.12.
Posts: 40
@valiant:
Oh sorry, have forgotten to post the infos. Okay here they come:
Link to the PHP info
and yes i (try to) use gallery2.12
And one thing also: circa 3 month ago it worked on the server well
Posts: 32509
Klabautermann
the php settings look good so far.
please clear the cookie cache of your browser and try again.
if the problem persists, please set php's error_reporting to E_ALL and try again, creating a screenshot of the authentication step before and after you hit next.
Posts: 40
hi valiant, if i click on authenticate i get a key that is different from the one shown on the page.
i mad two pictures of this:
[img]http://www.tiny-soldiers.com/bilder/fehler1.gif[/img]
[img]http://www.tiny-soldiers.com/bilder/fehler2.gif[/img]
I cant et php's error_reporting to E_ALL because i use a hosted services, maybe i can ask my provider.
Posts: 32509
- open install/index.php for edit in a texteditor
- replace "<?php" with "<?php error_reporting(E_ALL);" right at the beginning of the file.
- does that change anything?
- can you check whether there are some php session files in /tmp/ ? maybe the webserver has no write access there...
- did you clear your browser cookie cache?
Posts: 40
That was it, i replaced >?php with <?php error_reporting(E_ALL); and it seems to work, know i can get to step 3. Thank you!
Posts: 32509
uh? error_reporting shouldn't fix your problem, it should just ensure that php displays errors if they occur.
but clearing the cookie cache might have helped.
Posts: 3
ok, I too am getting the dreaded "Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again." error message.
"Authenticate
In order to proceed with the install, we have to verify that you are who you claim. The best way to be sure is to ask you to make a tiny change in the Gallery directory which will prove that you have the right permissions. So, we're going to ask that you create a new text file called login.txt in the d:\hosting\jkyaw\g2data directory on your webserver (that's the same directory where main.php is located). It must contain the following randomly generated characters:
ec0051fea2cec678ca95d77fef403c8c
As a convenience to you, we've prepared a correct version of login.txt for you. Download that and copy it into your d:\hosting\jkyaw\g2data directory and you're all set.
Once you've uploaded the file, click below to continue. "
I've tried following the instructions but the problem still exists.
Please see my PHPinfo at
http://www.kyaw.com/gallery2/phpinfo.php
Thanks for your attention
Posts: 32509
loginTXT
the phpinfo link doesn't work.
also please see:
FAQ: The installer does not accept my login.txt, what's wrong?
Posts: 3
sorry valiant, I've corrected the phpinfo page link and it should work now:
http://www.kyaw.com/gallery2/phpinfo.php
You can also see the exact error message I'm having at:
http://www.kyaw.com/gallery2/
Thanks in advance
Posts: 32509
loginTXT
gallery won't work on that webhost. it's a pretty much useless php configuration. no file operations are allowed and safe mode is enabled.
additionally, the session.safe_path is not configured.
gallery will never run there. you can ask your webhost if they're willing to change their config or you can switch webhosts.
note that other gallery software like coppermine won't work there neither. their setup is just very bad.
Posts: 3
k thnx for your feedback. I'll try it on my home linux server which has both apache, php, and mysql.
Posts: 2
Hi
I'm having trouble getting past Step 1. I've done the login.txt a million times, not sure what the problem is?
Here's my settings http://www.timmismotor.com/gallery2/info.php
I just want the pnmtojpeg file - can I just get this file from somewhere?
Thanks
Eliia
www.createorconquer.com