View Full Version : Trouble With PHP Sessions
darreng
12-26-2006, 04:00 PM
I uploaded the files to my server. It took me to the screen to set up my Master Admin login which I completed.
Now, when I try to login the login screen keeps looping. I contacted my hosting company and they gave me the sessions path and I changed it. However it still keeps looping.
Suggestions...?
Brian
12-26-2006, 04:01 PM
Did you uncomment the line in the sessionsPath.php file (remove the two "//" forward slashes)?
darreng
12-26-2006, 04:26 PM
To change the sessions path, I opened the file in Dreamweaver and changed it to the following...
<?php
session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp");
session_start(); // FULL SERVER PATH TO SESSION STORAGE DIRECTORY
?>
Then uploaded it to my server.
Brian
12-26-2006, 04:28 PM
Does that directory exist on your server and is it writable by the server?
darreng
12-26-2006, 04:58 PM
Thanks for your help, Brian. Because of your reply, I took a closer look at the path. I changed it to the following....
<?php
session_save_path("/home/users/web/b2918/moo.darren1/cgi-bin/tmp");
session_start(); // FULL SERVER PATH TO SESSION STORAGE DIRECTORY
?>
However, it's still looping.
I've called my hosting co, FatCow. They're looking into it. I'll let you know what happens.
Thanks again.
Brian
12-27-2006, 12:16 PM
Were they able to help you get going?
darreng
12-27-2006, 02:39 PM
Yes, they submitted a fix-it ticket of some kind. Within an hour I had a response and was able to login. So I guess they tweaked something on their end. I'm able to login and got the account set up. Code is on the page and I hope upload in a day or so.
I appreciate your help!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.