Milen,
Thank you very much for your response. I've tried what you've suggested but
unfortunately it had no effect.
The site|path config value was already an empty string (''), and I did
remove a trailing slash on the session_set_cookie_params line in order to
match the lines you sent below. I restarted httpd and flushed all the domain
and session cookies from my browser but still no luck. At this point we are
able to log in by choosing Remember Me and perform almost every function,
with the exception of accessing Account functionality or any functionality
that first presents the login screen.
I am, however, seeing two cookies created while browsing the site with the
properties below...
Cookie 1 Cookie 2
Domain www.[mydomain].com .www.[mydomain].com
Path / /
Name PHPSESSID rememberme
Value (random string) (random string)
Secure No No
Expiration Session 1252802242
Cookie 1 is created when browsing to any page and Cookie 2 is created after
logging in with Remember Me checked.
I would certainly appreciate any further help you, or anyone else, can
provide.
Thanks,
Serge
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Thursday, August 13, 2009 7:28 PM
To: Serge Stein
Cc: [email protected]
Subject: Re: [Laconica-dev] Laconica Login problem
If you are installed your laconica on the root folder try this:
Open your config.php file and insert:
$config['site']['path'] = '';
session_set_cookie_params(0, '/'. $config['site']['path']);
Greetings,
Milen Mihalev
Quoting Serge Stein <[email protected]>:
> I hope this is the place to post this question. If no, please point me to
> the proper place.
>
> We have recently installed Laconica 0.8.0 on a RHEL5 Linux box running PHP
> 5.3, Apache 2.2.3, and MySQL 5.1.37. The installation seemed to go
smoothly
> with only one problem earlier identified as a spelling mistake in
util.php.
> After completing the installation the new laconica site was visible and a
> user could register but could not stay logged in unless they choose the
> "Remember Me" checkmark. After registering a new user can post, but cannot
> click on the "Account" link which would then take the user back to the
login
> screen. Subsequent attempts to login simply returns the user to the login
> screen.
>
> Are there any know problems using PHP 5.3 or with the mechanism (session
> cookies) used to keep people logged in?
>
> Thanks,
>
> Serge
>
>
>
> _______________________________________________
> Laconica-dev mailing list
> [email protected]
> http://mail.laconi.ca/mailman/listinfo/laconica-dev
>
----------------------------------------------------------------
Zdravei.bg - myasto kydeto vseki moje da nameri po neshto za sebe si.
Spodelete svoite snimki, video klipove, blogove, sreshtnete novi
priateli. Kajete: Zdravei, tova sum az!
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev