Admin area ...

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
msdq
Posts: 13
Joined: Thu Apr 29, 2004 7:27 pm

Admin area ...

Post by msdq »

Hello,
I have installed phpmyfaq.1.3.12.full, and have problem when i try to make changes in admin area , it redirect me to the main password login page, ….
I have changed the ipcheck = to be false …
But still..
I am behind a firewall..

Thanks in advance ..
msdq
Posts: 13
Joined: Thu Apr 29, 2004 7:27 pm

Post by msdq »

hi again
i forgot to tell you the messege ... it was"The Sessions ID is passed. "

thanks
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

could you please enable the DEBUG MODE in your FAQ? Then please post the SQL queries when you're automatically logged out.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
msdq
Posts: 13
Joined: Thu Apr 29, 2004 7:27 pm

Post by msdq »

Hi,
Sorry, i am not that expert in mysql to collect that information and all ...

i will appreciate if you can do that for me .... as i can send you my password ...

Kind Regards ,,
msdq
Posts: 13
Joined: Thu Apr 29, 2004 7:27 pm

Post by msdq »

Hi, i am learning ... :D

Here are the details when I automatically logged out ..

Code: Select all

DELETE FROM faqadminsessions WHERE TIME < '1083433034'
SELECT user, pass FROM faqadminsessions WHERE uin = '6e428c7d8b739f272389fee590dd7fc6' AND ip = '212.138.47.26'
UPDATE faqadminsessions SET time = '1083434834' WHERE uin = '6e428c7d8b739f272389fee590dd7fc6'
SELECT id, name, realname, email, pass FROM faquser WHERE name = '' AND pass = ''
INSERT INTO faqadminlog (ID,TIME,USER,TEXT,IP) VALUES ('','1083434834','','Session expired
UIN: 6e428c7d8b739f272389fee590dd7fc6
User: ','212.138.47.26')


5 Queries executed
kind regards,
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

open the config.php and edit this entry:

Code: Select all

$ipcheck = "true";
in

Code: Select all

$ipcheck = "";
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
msdq
Posts: 13
Joined: Thu Apr 29, 2004 7:27 pm

Post by msdq »

Thnk you ...
it works great and fine .... :D

Kind regards,
mick
Posts: 4
Joined: Fri Jul 20, 2007 1:02 am
Location: Quincy, CA
Contact:

login loop in 2.0.2

Post by mick »

I've tried twice to install 2.0.2. (deleted and tried re-installing) and both times I had the same problem. Session management isn't working so I go back to the login page whenever I try to do anything. I'm using mySQL and php 4.4.x on apache.

Here's error messages I received with full path shortened:

*****************
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_b9a61d42fbc1d1a6c90af3097a1af447, O_RDWR) failed: No such file or directory (2) in .../htdocs/faq/index.php on line 41

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at .../htdocs/faq/index.php:41) in .../htdocs/faq/index.php on line 41

****then at the bottom of the page below a fairly normal looking layout****

COOKIES:
pmf_lang: en
pmf_sid: 7
pmf_auth_: b9a61d42fbc1d1a6c90af3097a1af447

Warning: Unknown(): open(/var/php_sessions/sess_b9a61d42fbc1d1a6c90af3097a1af447, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
***************

thanks for any help...

Mick
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the session configuration of your PHP seems to be broken...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mick
Posts: 4
Joined: Fri Jul 20, 2007 1:02 am
Location: Quincy, CA
Contact:

Post by mick »

I reinstalled, setting permissions to 777 during install to make sure there wasn't any config writing being blocked by permissions.

It still sends me back to the login screen where ever I go in admin, and still generates the same error messages. The layout looks o.k.

I've checked the recommended config against the phpinfo() and there are a few differences, but I can't seem to change parameters using _.htaccess . I don't have access to the main php.ini .

Here's some of the settings that are returned:

PHP Version 4.4.6
Apache/Linux

Server API CGI

magic_quotes_xx all are set to off

safe_mode off

register_globals on

session.save_path /var/php_sessions
session.use_cookies on
session.use_only_cookies off
session.use_trans_sid on


Any suggestions?

Thanks...

Mick
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

are other PHP apps working?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mick
Posts: 4
Joined: Fri Jul 20, 2007 1:02 am
Location: Quincy, CA
Contact:

other php apps working

Post by mick »

Hi:

Yes, I'm successfully runnning a php calendar program that also uses MySQL. It allows multiple calendars, permissions, and groups, so it does quite a bit of session tracking. It is a new install, but it has been tested by several people over the last couple of weeks with no errors reported.

thanks...

Mick
Post Reply