Returned to Login Page, No matter what Link I select.
-
justinhickey
- Posts: 3
- Joined: Thu Feb 15, 2007 5:21 am
- Location: Texas
Returned to Login Page, No matter what Link I select.
Here are my detials -
Serendipity 1.1
PHP 5.2.0
Apache Server 2.0.59
MySQL 5.0.27
Windows XP SP 2
Using both Firefox and IE 6
Lenovo Thinkpad T60 with Core 2 Duo
2GB RAM
When I access the Serendipity Administration Suite, I am able to log in to the admin page (I have used the save information check box as well, with no effect on my problem). When I select any of the new links (Add Media, Configure Plugins, Import Data, etc....any link) it brings me back to the login screen. I am not able to access anything beyond the Admin Suite selection screen. Going back through the login process just brings me right back to the admin suite selection page. This happens using IE 6 and Firefox.
I have tried a some of the suggestions I have already seen in some posts (I even tried the fix that was suggested for people running on IIS). Nothing has worked to correct my problem. Please let me know if you have any thoughts.
Thanks!
JUH
Serendipity 1.1
PHP 5.2.0
Apache Server 2.0.59
MySQL 5.0.27
Windows XP SP 2
Using both Firefox and IE 6
Lenovo Thinkpad T60 with Core 2 Duo
2GB RAM
When I access the Serendipity Administration Suite, I am able to log in to the admin page (I have used the save information check box as well, with no effect on my problem). When I select any of the new links (Add Media, Configure Plugins, Import Data, etc....any link) it brings me back to the login screen. I am not able to access anything beyond the Admin Suite selection screen. Going back through the login process just brings me right back to the admin suite selection page. This happens using IE 6 and Firefox.
I have tried a some of the suggestions I have already seen in some posts (I even tried the fix that was suggested for people running on IIS). Nothing has worked to correct my problem. Please let me know if you have any thoughts.
Thanks!
JUH
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Returned to Login Page, No matter what Link I select.
Hi!
This sort of error usually happens if your PHP sessions are not properly configured, because either cookies are not enabled or a session.cookie_domain or session.cookie_path to not match the specifics of your s9y installation directory/domain. Can you check that in the php config?
(BTW: Please avoid adding confusing polls to your postings *g*)
Best regards,
Garvin
This sort of error usually happens if your PHP sessions are not properly configured, because either cookies are not enabled or a session.cookie_domain or session.cookie_path to not match the specifics of your s9y installation directory/domain. Can you check that in the php config?
(BTW: Please avoid adding confusing polls to your postings *g*)
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
justinhickey
- Posts: 3
- Joined: Thu Feb 15, 2007 5:21 am
- Location: Texas
Returned to Login Page, No matter what Link I select.
Thanks Garvin!
I reviewed the php.ini file and found the two below references:
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
What should be there if I am running it on my localhost?
Sincerely,
Justin Hickey
I reviewed the php.ini file and found the two below references:
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
What should be there if I am running it on my localhost?
Sincerely,
Justin Hickey
justinhickey > I have the same problem, please read and comment this lines :
http://board.s9y.org/viewtopic.php?p=49891#49891
Please feedback your result. (Work now / Don't work).
Garvin > What do you think about it?
http://board.s9y.org/viewtopic.php?p=49891#49891
Please feedback your result. (Work now / Don't work).
Garvin > What do you think about it?
I have the same problem on a new Windows IIS install ... clicking ANY of the links on the left of the Administrator page asks for login details then returns to the blank Administrator page.
I have the same default session values in php.ini - are these correct, or what should they be set to ?
Garvin, you seem to understand ret2's posts ... can you translate to non-programmers English please ? If I understand ret2 correctly, the problem is in all installs of serendipity, so there's not much point trying to install it on my production linux web server ?
I have the same default session values in php.ini - are these correct, or what should they be set to ?
Garvin, you seem to understand ret2's posts ... can you translate to non-programmers English please ? If I understand ret2 correctly, the problem is in all installs of serendipity, so there's not much point trying to install it on my production linux web server ?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
donburch: For IIS the problem applies that is described on http://blog.s9y.org/archives/160-Serend ... s-IIS.html - did you read that?
ret2's report only applies to PHP 5.2 versions, actually unrelated to whether its Linux or IIS, and also depends on which ext/filter settings you enabled.
Best regards,
Garvin
ret2's report only applies to PHP 5.2 versions, actually unrelated to whether its Linux or IIS, and also depends on which ext/filter settings you enabled.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks Garvin !
I've been doing a personal blog in static HTML for a year, and was really looking forward to Serendipity
Oh shoot !! I just upgraded to latest MySQL and PHP versions before installing Serendipity ! I'll have to check my new linux web server.garvinhicking wrote:ret2's report only applies to PHP 5.2 versions, actually unrelated to whether its Linux or IIS, and also depends on which ext/filter settings you enabled.
I've been doing a personal blog in static HTML for a year, and was really looking forward to Serendipity
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi don!
You should actually get it done by simply editing your php.ini file and setting the filter.default setting to the filter_unsafe_Raw variant (I don'T know how exactly it should be titled). Or you follow ret2s suggestion to edit the include/compat.inc.php file and remove the whole block where it uses the filter extension check?
HTH,
Garvin
You should actually get it done by simply editing your php.ini file and setting the filter.default setting to the filter_unsafe_Raw variant (I don'T know how exactly it should be titled). Or you follow ret2s suggestion to edit the include/compat.inc.php file and remove the whole block where it uses the filter extension check?
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Now I'm getting real confused.
The PHP 5.2.1 php.ini file has:which sounds like what you suggested
... but google turned up http://trac.wordpress.org/ticket/3093 which states
I've just applied the LoginSession-Cookie-Bug-in-Windows-IIS fix, which resulted in NO output at all - not even blank HTML page !
Then I noticed and downloaded the files, which caused Serendipity to insist that I was upgrading to v1.1.1 (which turned out to not require any other change).
Net effect: nil. Still can't do anything except repeatedly log in to the Admin page. But now I can see lots of session files accumulating
I had a look in Firefox's cookies, and there are a couple for my domain ... but not any which seem related to Serendipity. More importantly there are no cookies for my laptop which I'm doing this testing on !
Off to work now, but I'll investigate the cookies issue further. I've done ASP programming before, but PHP and linux are all still gobbledegook to me
The PHP 5.2.1 php.ini file has:
Code: Select all
[filter]
;filter.default = unsafe_raw
;filter.default_flags =
... but google turned up http://trac.wordpress.org/ticket/3093 which states
but fails to suggest what filter.default should be set to.The default filter is unsafe_raw, but hosts will quickly change it when they see "unsafe_raw" as a setting.
I've just applied the LoginSession-Cookie-Bug-in-Windows-IIS fix, which resulted in NO output at all - not even blank HTML page !
Then I noticed and downloaded the files, which caused Serendipity to insist that I was upgrading to v1.1.1 (which turned out to not require any other change).
Net effect: nil. Still can't do anything except repeatedly log in to the Admin page. But now I can see lots of session files accumulating
I had a look in Firefox's cookies, and there are a couple for my domain ... but not any which seem related to Serendipity. More importantly there are no cookies for my laptop which I'm doing this testing on !
Off to work now, but I'll investigate the cookies issue further. I've done ASP programming before, but PHP and linux are all still gobbledegook to me
-
justinhickey
- Posts: 3
- Joined: Thu Feb 15, 2007 5:21 am
- Location: Texas
I guess I am getting a bit confused now as well....
On the original question for my issue, I have the following setting in my php.ini file:
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
What should these settings be there if I am running it on my localhost?
Thanks!
JUH
On the original question for my issue, I have the following setting in my php.ini file:
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
What should these settings be there if I am running it on my localhost?
Thanks!
JUH
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Justin!
Try to set session.cookie_path = to an empty string.
donbuch:
I will release the 1.1.1 final version today, with the fix included by ret2. Please try that release! I am sure we will be able to fix it, please bear with us
HTH,
Garvin
Try to set session.cookie_path = to an empty string.
donbuch:
I will release the 1.1.1 final version today, with the fix included by ret2. Please try that release! I am sure we will be able to fix it, please bear with us
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Sorry Garvin, but the 1.1.1 release didn't help.
It's probably my IIS / PHP setup. And confused a bit by my using my laptop to develop multiple websites - which XP/IIS doesn't support any longer
I'm probably better to simply move on and start the huge learning curve to get it running under linux on my new production server
It's probably my IIS / PHP setup. And confused a bit by my using my laptop to develop multiple websites - which XP/IIS doesn't support any longer
I'm probably better to simply move on and start the huge learning curve to get it running under linux on my new production server
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Dang. I suppose your IIS server is not online, so that you could give me temporary FTP to solve the issues for you?
Best regards,
Garvin
Dang. I suppose your IIS server is not online, so that you could give me temporary FTP to solve the issues for you?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/