Login problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
masugly
Posts: 4
Joined: Sun Sep 02, 2007 2:41 am

Login problem

Post by masugly »

Anything i click in the admin area doesn't work. The program redirect me to the admin's log in page.

I have read several post with the same problem but nobody had this one :)

I have turned on the debug

In the top of the page I have this:
Notice: A session had already been started - ignoring session_start()

And at the bottom:
System Information

phpMyFAQ Version
phpMyFAQ 2.0.3
Server Software
Apache
PHP Version
PHP 4.4.0
Register Globals
on
Safe Mode
off
Open Basedir
off
Database Server
Mysql
Database Client Version
3.23.49
Database Server Version
4.1.9-standard-log
Webserver Interface
APACHE2HANDLER
PHP Extensions
xml, tokenizer, standard, session, posix, pcre, overload, mysql, gd, ctype, zlib, apache2handler

NOTE: Art is resistance. Thank you very much for inspiration and everything else, L.
DEBUG INFORMATION:
pmf_currentuser->getuserbylogin() in line 146:

SELECT
user_id,
login,
account_status
FROM
faquser
WHERE
login = 'admin'



pmf_userdata->load() in line 373:

SELECT
last_modified, display_name, email
FROM
faquserdata
WHERE
user_id = 1


pmf_currentuser->updatesessionid() in line 150:

UPDATE
faquser
SET
session_id = '8e1d201d32997ba6b55dc0dbd52c5a19',
session_timestamp = 1188697201,
last_login = '20070902014001',
ip = '201.221.44.100'
WHERE
user_id = 1


pmf_currentuser->login() in line 89:

UPDATE
faquser
SET
auth_source = 'local'
WHERE
user_id = 1


pmf_permbasic->getallrightsdata() in line 122:

SELECT
right_id,
name,
description,
for_users,
for_groups
FROM
faqright
ORDER BY
right_id ASC


pmf_permbasic->getuserrights() in line 309:

SELECT
faqright.right_id AS right_id
FROM
faqright,
faquser_right,
faquser
WHERE
faqright.right_id = faquser_right.right_id AND
faquser.user_id = 1 AND
faquser.user_id = faquser_right.user_id



db_mysql->gettablestatus() in line 269:

SHOW TABLE STATUS


COOKIES:
pmf_lang: en
__utmz: 257152777.1188613114.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
__utma: 257152777.1587565296.1188613114.1188613114.1188613114.1
dbx-postmeta: grabit:0 |1-|2-|3-|4-|5-&advancedstuff:0-|1-|2-
PHPSESSID: db5755fcce6447324641ec8c8e1ae2fc
pmf_auth_: 2258e5871fd87fa0bcf250f8669bfa16

TABLES & RECORDS:
faqadminlog: 0
faqcaptcha: 2
faqcategories: 0
faqcategory_group: 0
faqcategory_user: 0
faqcategoryrelations: 0
faqchanges: 0
faqcomments: 0
faqconfig: 33
faqdata: 0
faqdata_group: 0
faqdata_revisions: 0
faqdata_tags: 0
faqdata_user: 0
faqglossary: 0
faqgroup: 0
faqgroup_right: 0
faqlinkverifyrules: 0
faqnews: 0
faqquestions: 0
faqright: 29
faqsessions: 4
faqtags: 0
faquser: 2
faquser_group: 0
faquser_right: 29
faquserdata: 2
faquserlogin: 2
faqvisits: 0
faqvoting: 0
tnd
Posts: 5
Joined: Sun Aug 19, 2007 5:33 pm
Location: Bangkok, Thailand
Contact:

Post by tnd »

May be cookies are disabled on your browser.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have problems with other PHP apps?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
masugly
Posts: 4
Joined: Sun Sep 02, 2007 2:41 am

Post by masugly »

Thorsten,

First of all, you're doing an excellent job!! Congratulations!!

I manage the server and I'm running several PHP apps in it that manage sessions

Cookies are enable in my browsers too and I tried with FF and IE7 with the same results.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you see any errors in the apache error log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
masugly
Posts: 4
Joined: Sun Sep 02, 2007 2:41 am

Post by masugly »

error_log says this:

[Sun Sep 02 23:22:11 2007] [error] [client 190.64.49.11] PHP Notice: A session had already been started - ignoring session_start() in /htdocs/365chess.com/faq/admin/index.php on line 42
[Sun Sep 02 23:22:26 2007] [error] [client 190.64.49.11] PHP Notice: A session had already been started - ignoring session_start() in /<replaced path>/index.php on line 42, referer: <replaced url>/faq/admin/
[Sun Sep 02 23:22:28 2007] [error] [client 190.64.49.11] PHP Notice: A session had already been started - ignoring session_start() in /<replaced path>/faq/admin/session.keepalive.php on line 39, referer: <replaced url>/faq/admin/index.php

i have replaced the path and the url
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

strange issue... I'll have to take a deeper look into this issue.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
masugly
Posts: 4
Joined: Sun Sep 02, 2007 2:41 am

Post by masugly »

any idea?

should i install version 1?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is quite strange because this should not happen... I'm still trying ti investigate it.

Maybe you'll use 1.6.12 until I got a fix for this. Can you please add this to the bug tracker?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply