Welcome to Geeklog, Anonymous Friday, January 10 2025 @ 09:41 am EST

Geeklog Forums

Can't login


Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
caffeinated
My site work fine until yesterday.

At this moment I can't login as Admin or as a normal user
I'm using mozilla, Oper, Galeon and konqueror and nothing...

error.log say

"Failed to set session cookie"
access.log don't register anything

(both are chmod 0777 and also logs/ )

Where I must find the trouble?

I update the site to 1.3.9rc1

Any ideas?
Question

PD: I read all the FAQ and the forum questions about the trouble but I can't find where to solve the problem (in the config.php? in lib-xxx ?)

register in php.ini is on

I need help
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
determined
This is the last time that I reinstall geeklog

Support is horrible and nobocy can tell me where to search about the troubleshooting

I can run with minimals troubles phpnuke, postnuke, xoom, tikiwiki and others but geeklog is the worst about support and help

tnx in advance at alls
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by nightjar: Support is horrible and nobocy can tell me where to search about the troubleshooting

I have to wonder how you come to this conclusion after having asked 2 questions (and you did get an answer to your previous question about the weather block).

The message "Failed to set session cookie." indicates that PHP's setcookie() function returned an error. Which, according to the PHP manual, indicates that output started before the setcookie call.

In other words: It sounds like you have whitespace at the beginning or end of a file somewhere (typically config.php or lib-common.php). Which is also coverd in the FAQ that you said you have read ...

bye, Dirk
 Quote

nightjar

Anonymous
angry
Not whitespaces at the end of the config.php nor lib-common.php

Before the posts I read all the FAQ and search inside all the sections., but I can't find anything

I'm not so stupid to make a question w/o read the documentation

When I asked about weather plugin I really did not read the config.php of weather and at that moment I suppose that a hacker or an intruder came on inside my site and sent that advertise about the uninstallation

That was my first installation of geeklog and of course, I newbie about the structure and configuration

Then, after watching all over the site, I make a question because the answer is not here

At this moment I didn't know why after a week I couldn't login as admin not as normal user
not whitespace, not register off of php





Question
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I'm not aware of any other login problems besides those mentioned in the FAQ.

I guess a URL to your site would help ...

bye, Dirk
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
http://sursur.com

Let me know if you need any thing

It happen after timeout

That's the access.log

User tried to illegally access the content syndication administration screen.
Obviously the who is online block say that the Admin is logged in
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You definitely have extra whitespace in one of your files.

I'd suggest you check config.php and lib-common.php again one more time. If you did edit any other files (lib-custom.php, maybe?), then check those for whitespace, too.

If that doesn't help, you could try and upload all of Geeklog's PHP files again. The problem doesn't have anything to do with the theme, so you can leave that as it is.

HTH

bye, Dirk
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
No. Not whitespace.
I edit it via pico and via ftp
There aren't blank spaces after ?> nor config,php; lib-common.php and lib-custom.php

When I reisntall all it work fine but after a time (when the system log me out) nobody can log in



 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I had a little chat with your webserver. And this is what it sent me:
Text Formatted Code
HTTP/1.1 200 OK
Date: Sun, 29 Feb 2004 17:26:23 GMT
Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 PHP/4.3.4 mod_bwlimited/1.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.6b
X-Powered-By: PHP/4.3.4
Set-Cookie: LastVisit=1078075590; expires=Mon, 28-Feb-05 17:26:30 GMT; path=/; domain=.sursur.com
Set-Cookie: LastVisitTemp=deleted; expires=Sat, 01-Mar-03 17:26:29 GMT; path=/; domain=.sursur.com
Connection: close
Content-Type: text/html


<html><head><meta http-equiv="refresh" content="0; URL=http://sursur.com/index.php"></head></html>
Connection closed by foreign host.
 

There are two empty lines between the Content-Type header and the actual content. One is required by HTTP, the second comes from your Geeklog install. And that second line is causing the problems (as explained above and in the FAQ).

I know that it's hard to track down, but it must be in one of the files on your site.

Did you, for example, transfer the files in text or in binary mode?

bye, Dirk
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
At this moment I'm reinstalling all

But I suppose that the trouble is locate in the different structures of the stories table btw v.1.3.8 and 1.3.9

The old have 7 index and the new only 5

When I copy the old to the new I make a drop table. Then,of course, I copy the structure of the "old"

I know that it is important but may be the cause of the troubleshooting?
Oops! Rolling Eyes Mr. Green
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by nightjar: But I suppose that the trouble is locate in the different structures of the stories table btw v.1.3.8 and 1.3.9

Not sure what you mean. The stories table hasn't changed between 1.3.8 and 1.3.9 and the number of indexes on that table certainly has nothing to do with your problems ...

When upgrading from 1.3.8 to 1.3.9, you should run the install script in upgrade mode and it will handle any database changes automatically.

bye, Dirk
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
Did you, for example, transfer the files in text or in binary mode?

I transfer the tar.gz via midnight commander and then untar it via shell


 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
Quote by Dirk:
Quote by nightjar: But I suppose that the trouble is locate in the different structures of the stories table btw v.1.3.8 and 1.3.9

Not sure what you mean. The stories table hasn't changed between 1.3.8 and 1.3.9 and the number of indexes on that table certainly has nothing to do with your problems ...

When upgrading from 1.3.8 to 1.3.9, you should run the install script in upgrade mode and it will handle any database changes automatically.

bye, Dirk


Yes the first time, but when the system crash (don't work) I copy the mains tables to another DB and make a flush to reinstall all.

Stories tables came back with 2 new indexes Rolling Eyes Question
 Quote

Status: offline

nightjar

Forum User
Newbie
Registered: 02/24/04
Posts: 11
angry
I can announce that the whitespaces exists !!!

It was in the weather plugin config.php

Idea Oops! Eek!
 Quote

Status: offline

Robin

Forum User
Full Member
Registered: 02/15/02
Posts: 725
excited
Well there was at least in my case too.
Similar situation. error.log says "Failed to set a session cookie" and I couldn't log in.
In addition I got this Warning: Cannot modify header information - headers already sent (output started at /ww/ww/plugins/stats/language/english.php and guess what ... there was additional white space at the very end of this file. Yes sir there was.
So in such cases: "Always look for a white space ..."
Geeklog Polish Support Team
 Quote

All times are EST. The time is now 09:41 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content