mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:38

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: 24 Jul 2004, 03:58 
CanĀ“install CMS...

When i login to PHProjekt and then in go to the cm directory i go back in to the login page...


My php error_log states session already started..


Can someone help thankxx


Report this post
Top
  
Reply with quote  
 Post subject: Session problem...
PostPosted: 27 Jul 2004, 05:52 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
LinuxT:

> CanĀ“install CMS...
> When i login to PHProjekt and
> then in go to the cm directory i
> go back in to the login page...
> My php error_log states session
> already started..

Hello. Let me see if I understood you. You login in Phprojekt, then open the URL /phprojekt/cm/setup.php (or the like) and it shows you a new login page. Is this right?

I cannot reproduce this problem. It seems like a session problem but the error you see on the error_log should harmless. (That error means the CMS script is trying to start a session but Phprojekt already did, so it ignores the request. It is harmless because the CMS doesn't store any session data, it just making sure the authentication was done).

So, please tell me about the PHP version, operative system and browser. Also:
Does this happens with other browsers?
Does Phprojekt work ok?
Did you run the env_test.php script of Phprojekt?
If you did or if you do it now, does it show any problem with the session management?

LinuxT, please send me that information, and I will search for a solution.

Regards,


Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Same problem..
PostPosted: 26 Aug 2004, 06:55 
"Sorry for my english.. i'm italian.."

Mario..
When i login to PHProjekt and then in go to the cm directory i go back in to the login page...

A session had already been started - ignoring session_start() in g:\webserver\easyphp1-7\www\intranet\lib\gpcs_vars.inc.php on line 5

Y work with windows xp pro
and suite easyphp 1,7 (Apache 1.3.27 - PHP 4.3.3 - MySQL 4.0.15 - PhpMyAdmin 2.5.3)

Phprojekt with this solution works fine..

Regards..

Ativemax
activemax@activemax.com
http://www.activemax.com


Report this post
Top
  
Reply with quote  
 Post subject: Setup problems
PostPosted: 26 Aug 2004, 07:20 
I remove from gpcs_vars.inc.php

This lines..

if (!defined("soap_request")) {
session_start();
$PHPSESSID=session_id();
}


The setup CM continue.. and works.. but the phprojekt login dont' works..



Activemax
http://www.activemax.com


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: 27 Apr 2005, 07:28 
Same problem in returning to phprojekt login page. I don't think I see a resolution here. env_test.php tests all passed, and phprojekt is running. I did the chown command on my local machine and transferred the cm directory to the web server . Have tried this in different browsers and the install worked fine on my local server. Is this a security issue?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: 27 Apr 2005, 16:26 
I got the cm/setup.php to work. cmod set to 775, launched cm/setup outside of projekt, and made sure I didn't have bad files loaded on the webserver.


Report this post
Top
  
Reply with quote  
PostPosted: 10 May 2005, 00:46 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
To anybody having the double-login problem (you login in Phprojekt and when selecting the CMS tab you are asked again to login, OR when you logout from an user and login again the CMS thinks you are still logged as the first user), read on.


If you are using Apache and PHP is running as a SAPI module, you can use a .htaccess file to enable the PHP option session.auto_start. It seems that when session.auto_start is disabled, the Phprojekt and CMS module session become dissociated (each start using a different session).

The .htaccess should contain:
Code:
  php_value session.auto_start 1
  php_value output_buffering 16000


Test and tell, please. Also, note that this is a workaround, not the final solution.

Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: 10 May 2005, 03:02 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
To anybody having the double-login problem, you can now download a patched version of the CMS module (0.6.1) from http://www.mariovaldez.net/software/cm_4p/download.php. This version 0.6.1 only addresses this bug and another minor one.

Please let me know if it works correctly in your installation.


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group