Have to log in twice, session time-out after few mins
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
I asked my hosting provider and he monitored several sessions but did not find any problems regarding session times or idles.Pappnase wrote:hello
please ask your host if he can look if there are a session problem!
In former installations of phpwcms i did not have this problem, but after upgrading they started. Also used different hosting providers but the problem is still the same and is only getting worse.
also checked with previous versions of the checklogin script. No difference. PHP and MYSql are the same version, only thing changed is phpwcms version.
I do have a local webserver with an old version installation of phpwcms. Worked without problems. Just updated only phpwcms, and now i have the same problem there (restored backup after that). So i dont think it has to do something with php or msql version.
"I have a rude thought every 5 seconds. Thank God i'm a slow typer"
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
I did use 1.1-RC4-1, downgraded my sites now to this version, so i can at least update the content.usta wrote:Would you please tell me, wich "old" version of phpwcms you are running? Cause i'm experiencing the same problem.Vargas wrote: I do have a local webserver with an old version installation of phpwcms. Worked without problems.
"I have a rude thought every 5 seconds. Thank God i'm a slow typer"
how i solved the problem (works for me)
php: - - - - 5.0.4
server: - - Apache 2.0
location: - local (!)
OS: - - - - WinXP pro
MySQL: - - 4.1.13
I disabled ZoneAlarm.
That's it.
good luck to you!
server: - - Apache 2.0
location: - local (!)
OS: - - - - WinXP pro
MySQL: - - 4.1.13
Maybe i found a solution to the login-problem: this is what i did:conf.inc.php wrote: <?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "root";
$phpwcms["db_pass"] = "pw";
$phpwcms["db_table"] = "db_phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "theravenevermore@web.de";
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "mysampleapp/phpwcms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 180000000000; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 2; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 0; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"] = 0; //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"] = ''; //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"] = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'info@mail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "" on Windows - always replace "" by "/"
//$_SERVER['DOCUMENT_ROOT'] = 'C:/XAMMP/xampp/htdocs';
?>
I disabled ZoneAlarm.
That's it.
good luck to you!
Re: how i solved the problem (works for me)
Thanx for the tip. I allready disabled all kind of firewall and virus scanners on my own system. Even installed a fresh system with Windows XP and SP1 only. Did not help.usta wrote:php: - - - - 5.0.4
server: - - Apache 2.0
location: - local (!)
OS: - - - - WinXP pro
MySQL: - - 4.1.13
Maybe i found a solution to the login-problem: this is what i did:
I disabled ZoneAlarm.
That's it.
good luck to you!
"I have a rude thought every 5 seconds. Thank God i'm a slow typer"
I am using also ZoneAlarm, but disabling it won't work for me.
Perhaps it has something to do with the time ? My server is located in the USA.
I still do not know what the problem is and I like to know where I have to look. I'm trying everything I can, but it looks like this is becoming a dead end ...
Perhaps it has something to do with the time ? My server is located in the USA.
I still do not know what the problem is and I like to know where I have to look. I'm trying everything I can, but it looks like this is becoming a dead end ...
phpWCMS v1.27
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
I have tried different checklogin.inc.php from earlier versions. No result.
The strange thing still is that it was working fine when I used v1.1 RC4, the problem started when I upgraded to DEV 1.2.3.
But my brother is (still) using v1.1 RC4 and also having the same problems. We are both on the same host.
The strange thing still is that it was working fine when I used v1.1 RC4, the problem started when I upgraded to DEV 1.2.3.
But my brother is (still) using v1.1 RC4 and also having the same problems. We are both on the same host.
phpWCMS v1.27