Installation Authentication Issue (Step 1)

valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-12-10 18:48

gyphon

no, your problem is fundamentally different. you get php session warnings / errors.

is it your own server? or is it a webhosted website?
your php session is misconfigured (php.ini, filesystem).

 
gyphon

Joined: 2005-12-10
Posts: 4
Posted: Sat, 2005-12-10 22:54

it is on a webhosted website. I have no control over the php.ini file.

Can anything be done?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-11 00:26

ask your webhost to configure php session properly, show them your error.

g2 relies on php session.save_path to be defined correctly

 
yclim

Joined: 2005-11-22
Posts: 5
Posted: Sun, 2005-12-11 02:21

Hi valiant,

1. is it also 1.65 ... for you there?
yes.

2. in the authentication step, if you open login.txt does it show the same auth key as the one you see in the browser?
yes.

3. when you click authenticate me, does the key change everytime? it should stay the same
it keep changing..

I traced the problem and found that it has to be session problem (session keep missing and hence keep re-generating) but my hosting company refuse to do anything insisting that it's a software bug :(

Hi gyphon,

i faced the same problem b4.. not sure whether its the same.. the session folder you stated in your php.ini did not exist on your server. Pls check..

 
deverie

Joined: 2006-11-30
Posts: 1
Posted: Thu, 2006-11-30 02:57

I realize this thread is almost a year old but hey, I'm late for everything!

Procrastinator that I am, I finally decided to move to G2 (2.0.4). I had the same authentication problem that was spoken of repeatedly in this thread....can't create a .txt with the c/p code. Try again, get a different code. blahblahblah I finally tried something different and that was to create the .txt file in cPanel rather than on my desktop (or wherever). I was able to c/p the code there and it took. Everytime I tried to create it somewhere else, FTP it, etc., it failed.

I'm a sorta greenhorn and I don't know nuthin' 'bout birthin' no PhP babies but I wanted to share my experience in the event it might work for someone else and help them avoid 2 days of migraines, hives, stroke and diverticulitus.

Now I've just got to figger out why all the modules won't "unpack/extract." So irritating getting to that last step of success and then.........no. Excuse me while I go swallow an 800mg ibuprofen, slather on some calamine, take some blood thinner and gas X.

Dev
http://www.deverie.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-11-30 13:41

> Procrastinator that I am, I finally decided to move to G2 (2.0.4).

don't use 2.0.4.
the current stable version is 2.1.2.

so please use 2.1.2 and see:
FAQ: The installer does not accept my login.txt, what's wrong?

 
ColBond

Joined: 2007-01-08
Posts: 2
Posted: Mon, 2007-01-08 14:14

I'm having a similar problem with 2.1.2

I copy the string into gallery/login.txt, click "authenticate me" and it passes with these warnings:

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site18/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 299

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site18/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 300

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/virtual/site18/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class:299) in /home/virtual/site18/fst/var/www/html/gallery/install/index.php on line 404

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/virtual/site18/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class:299) in /home/virtual/site18/fst/var/www/html/gallery/install/index.php on line 404

I'm working with my hosting service to fix the php safe mode warnings. Like I said, it passes, but when I click "continue to step 2" it gives me the "Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again." error. The key it gives me now is different than the one it had given me before. If I sit on the step 1 page and reload, the key doesn't change. I've tried this from my mac in FF 2 and Safari, and from FF 2 and IE in windows.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-01-08 16:45

ColBond

as long as there are safe_mode issues, you don't have to start looking at other problems.
safe_mode / safe_mode env filter must all be deactivated, then you can start installing gallery.

please create a new forum topic for your issue since it's difficult to track all the different issues in a longer forum thread.
thanks.

--------------
Enter the Gallery 2 Theme Contest today!

 
ColBond

Joined: 2007-01-08
Posts: 2
Posted: Mon, 2007-01-08 18:02

You were right, once I got him to fix safe mode (it was set in the apache config sitewide, which overrode my php.ini) it fixed it. Thanks.

 
joanverde

Joined: 2007-01-10
Posts: 1
Posted: Wed, 2007-01-10 01:44

While pursuing to step 3 I'm thrown back to step one with the following message:
Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again.

I have two warning messages in my screen above the gallery thing saying:
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /customers/jjg.se/jjg.se/httpd.www/gallery2/modules/core/classes/GalleryTranslator.class on line 299

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /customers/jjg.se/jjg.se/httpd.www/gallery2/modules/core/classes/GalleryTranslator.class on line 300

You can see my php-settings at: http://jjg.se/phpinfo.pdf

and the website at http://jjg.se/gallery2/

Greetings,
John

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-10 04:25

joanverde

same comment for you: your webserver has php safe_mode enabled.
gallery won't run on that server unless your webhost changes the configuration.
see:
FAQ: Does G2 work with Safe Mode PHP?

--------------
Enter the Gallery 2 Theme Contest today!

 
StefanObenauer

Joined: 2007-03-22
Posts: 1
Posted: Thu, 2007-03-22 22:01
Quote:
Just FYI; I had the same problem installing G2: kept on going back to the Authentication (Step 1) screen after the Installation Type screen (step 3). I "fixed" it by turning off my firewall (ZoneAlarm Pro).

Thanks. That solved it for me, although I had to completely exit the Internet Security Suite. Only turning off the firewall was not sufficient.

 
smaurer

Joined: 2006-09-09
Posts: 25
Posted: Fri, 2007-03-23 21:59

I had the same problem - it was an file owner issue on the server.
When loading the login.txt file with a webinterface, it never worked. When uploading the file via FTP, it worked.

Simon