login.txt key does not match correctly. Please download a new authentication string from below and try again.
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Sun, 2006-11-05 22:54
In step 1. (Authenticate), I keep on being asked to update login.txt with a new string. But every time I upload a new string to the gallery folder, I keep on getting the new error again? Where does it hang?
Joanne
btw: i've deleted the 3 duplicate topics that you've created.
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Sun, 2006-11-05 23:52
I tried installing a new "phpinfo.php" file into the gallery2 folder, but that didnt' make a difference.
Another possible solution given is "Make sure your PHP session.save_handler is set to "files" and not to "user" (or "mm").
Where do I find that session.save_handler file. It's not on my HD.
Thanks,
Joanne
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-11-05 23:55
creating the phpinfo.php file will not solve the problem. but it shows us a lot of useful information.
so please create that file and post the link to it here.
thanks.
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 01:56
Thanks
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-11-06 00:10
please contact your webhost. they should configure the session.save_path. right now, it's not configured at all.
being a server on windows / IIS, it's not easy for you to create a session folder and granting the webserver user write permissions on it.
and g2 will not work on that webhost as long as these functions are disabled:
g2 absolutely needs these functions and they are disabled on your webhost: fopen, fwrite, fread, file, opendir, readdir, closedir
those functions are also disabled. if disabled, g2 can possibly work, but may be unreliable: fsockopen, ini_get, ini_set, php_uname, set_time_limit, version_compare, assert, mail,
also, php safe_mode must be disabled.
overall, your webhost is very unfriendly in terms of g2 compatibility.
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 00:13
Thanks so much. Would G1 work--if the host won't comply?
Joanne
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-11-06 00:17
no, pretty much no software works on that host. not g1, g2, coppermine. it's pretty ridiculous what they offer.
their interpretation of a secure webhosting environment must be: it's secure because not even you can do anything. so bad guys can't do anything either.
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 00:41
Thanks, I contacted their tech support. I've also installed phpinfo.php
on the other Gallery site I'm working on: hostname/phpinfo.php
Could you please take a quick look and let me know if it would have "friendlier" configurations there? I'm trying to upgrade to Gallery2 on hostname, but wouldn't bother if this is problem server also. This could save me a lot of time.
Thank you,
Joanne
edit: removed hostnames
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-11-06 00:49
yes, g2 should work flawlessly on that 2nd host.
edit: removed hostname
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 01:06
Excellent. Just one more question,if I may. On what pages do I change the code where I can click on an image to direct it to a shopping cart page (so it can be purchased and low and high res.)
Thanks!
Joanne
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-11-06 01:15
the cart and the specific print modules have that logic.
e.g. modules/shutterfly/PrintPhotos.inc
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 01:28
Thanks. I own a stockphoto site which is not static and so I quickly realized gallery would be a huge improvement. However, now I don't know how to make images linkable within Gallery and so I'm at square one (not an advanced php coder ).
If you do offer any information on your site as to how to make a stockphoto site work (where people can click on an image, pay and download), any help would be greatly appreciated!
Thanks
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 01:32
Sorry, I meant to say my stockphoto site IS static... Thus I needed something more modular as gallery for starters..
jehrich
Joined: 2006-10-29
Posts: 18
Posted: Mon, 2006-11-06 01:58
Could you possibly delete my previous posts that show either of the two urls? I don't want this thread to be picked up by search engines...
Posts: 32509
please see:
FAQ: The installer does not accept my login.txt, what's wrong?
btw: i've deleted the 3 duplicate topics that you've created.
Posts: 18
I tried installing a new "phpinfo.php" file into the gallery2 folder, but that didnt' make a difference.
Another possible solution given is "Make sure your PHP session.save_handler is set to "files" and not to "user" (or "mm").
Where do I find that session.save_handler file. It's not on my HD.
Thanks,
Joanne
Posts: 32509
creating the phpinfo.php file will not solve the problem. but it shows us a lot of useful information.
so please create that file and post the link to it here.
thanks.
Posts: 18
Thanks
Posts: 32509
please contact your webhost. they should configure the session.save_path. right now, it's not configured at all.
being a server on windows / IIS, it's not easy for you to create a session folder and granting the webserver user write permissions on it.
and g2 will not work on that webhost as long as these functions are disabled:
g2 absolutely needs these functions and they are disabled on your webhost: fopen, fwrite, fread, file, opendir, readdir, closedir
those functions are also disabled. if disabled, g2 can possibly work, but may be unreliable: fsockopen, ini_get, ini_set, php_uname, set_time_limit, version_compare, assert, mail,
also, php safe_mode must be disabled.
overall, your webhost is very unfriendly in terms of g2 compatibility.
Posts: 18
Thanks so much. Would G1 work--if the host won't comply?
Joanne
Posts: 32509
no, pretty much no software works on that host. not g1, g2, coppermine. it's pretty ridiculous what they offer.
their interpretation of a secure webhosting environment must be: it's secure because not even you can do anything. so bad guys can't do anything either.
Posts: 18
Thanks, I contacted their tech support. I've also installed phpinfo.php
on the other Gallery site I'm working on: hostname/phpinfo.php
Could you please take a quick look and let me know if it would have "friendlier" configurations there? I'm trying to upgrade to Gallery2 on hostname, but wouldn't bother if this is problem server also. This could save me a lot of time.
Thank you,
Joanne
edit: removed hostnames
Posts: 32509
yes, g2 should work flawlessly on that 2nd host.
edit: removed hostname
Posts: 18
Excellent. Just one more question,if I may. On what pages do I change the code where I can click on an image to direct it to a shopping cart page (so it can be purchased and low and high res.)
Thanks!
Joanne
Posts: 32509
the cart and the specific print modules have that logic.
e.g. modules/shutterfly/PrintPhotos.inc
Posts: 18
Thanks. I own a stockphoto site which is not static and so I quickly realized gallery would be a huge improvement. However, now I don't know how to make images linkable within Gallery and so I'm at square one (not an advanced php coder ).
If you do offer any information on your site as to how to make a stockphoto site work (where people can click on an image, pay and download), any help would be greatly appreciated!
Thanks
Posts: 18
Sorry, I meant to say my stockphoto site IS static... Thus I needed something more modular as gallery for starters..
Posts: 18
Could you possibly delete my previous posts that show either of the two urls? I don't want this thread to be picked up by search engines...