phpMyFAQ 2.0.1 login problems.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jasonaward
Posts: 2
Joined: Thu Jun 21, 2007 2:40 pm

phpMyFAQ 2.0.1 login problems.

Post by jasonaward »

I'm having a problem with 2.0.1 where I can log in, but every time I go to a different page, it takes me back to the login page.

I'm using PHP 5.2.2

Here's the debug error that I'm getting:

============
PHP Warning: ini_set() [<a href='function.ini-set'>function.ini-set</a>]: A session is active. You cannot change the session module's ini settings at this time. in /data/var/www/pub/public_html/faq/inc/Init.php on line 95
============

Any ideas about this would be greatly appreciated.

Thanks for your hard work!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
that's really strange: have you performed any code customization or added PMF within the context of another PHP application?

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
jasonaward
Posts: 2
Joined: Thu Jun 21, 2007 2:40 pm

Post by jasonaward »

matteo wrote:Hi,added PMF within the context of another PHP application?
Stupid me. I have php set to auto-start php sessions for the parent directory.

Thanks for the suggestion and solution!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi Jason,
my pleasure!
FYI I've just filed an enh to get a warning during the installation for future releases: [#1458] Enh: check if session.auto_start is disabled.

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply