Simple Machines Community Forum

Simple Machines => News and Updates => Topic started by: [Unknown] on May 28, 2004, 04:26:54 AM

Title: Cookie or Login Problems
Post by: [Unknown] on May 28, 2004, 04:26:54 AM
Just a warning to those of you having cookie problems with SMF.

There may be problems on certain servers.  These are older windows servers running IIS, and Apache servers running PHP in CGI mode instead of ISAPI.  It does not effect all servers of these types - if you have any more information as to what is causing it, we would be grateful to hear from you.

These problems can be resolved by switching PHP to ISAPI mode or upgrading your server software.  These are both highly recommended for both performance and security reasons.  However, in many cases you cannot do this as a customer getting hosting... but this is the best solution.

The next version of SMF (after Beta 5) will have an option to use a "META" refresh.  This option, if enabled, will solve the problem.  For those who have the problems right now... we're sorry and we are trying to work out the best solution.  You should still be able to log in though, as this only affects "always stay logged in."

If you have any questions or further issues please reply to this topic.

Thanks,
The Simple Machines Team
Title: Re: Cookie or Login Problems
Post by: wysiwyg on June 01, 2004, 01:58:38 PM
These problems have be plaguing (SPL?) my forum since I upgraded...I tried asking the server guys to upgrade but no joy...

Any idea how long before beat 6 is available? Weeks or months?
Title: Re: Cookie or Login Problems
Post by: Oldiesmann on June 01, 2004, 02:55:57 PM
It will probably be available for Charter Members sometime in the next month or so...
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 06, 2004, 11:18:06 AM
I showed this topic to my host and he said he cannot do anything about the problem. I have been able to stay logged in for months then yesterday all of a sudden, it won't let me stay logged in! This is very annoying can anyone find any other solutions to this problem??
Title: Re: Cookie or Login Problems
Post by: Killer Possum on June 06, 2004, 11:56:51 AM
Quote from: ROGUE-Master on June 06, 2004, 11:18:06 AM
I showed this topic to my host and he said he cannot do anything about the problem.
I hate hosts that don't care about there customers needs >:(

That's why it's good to be with Lewis Media ;D
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 06, 2004, 10:22:32 PM
 The server is linux based with apache and has all the requirements for smf.... What else is wrong?
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 07, 2004, 12:01:58 AM
Probably it is using CGI.  It can cause problems, usually with older versions of Apache.  If you're host can't resolve this that means you need one that can.

How would you feel if you went to your car mechanic, and he said he couldn't fix your alternator, when you know it can be fixed?  Wouldn't you go to a mechanic who would fix your alternator?  Dare I say, one who has the experience and ability to?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 07, 2004, 02:30:13 PM
No its not! The problem just started to occur for me 2 days ago!! (And he didnt upgrade anything on the server at that time.)
Title: Re: Cookie or Login Problems
Post by: Oldiesmann on June 07, 2004, 03:50:03 PM
Create a file with:

<?php
phpinfo
();
?>


and call it phpinfo.php. Upload this file to your server, chmod it to 755 and then post a link to it in this thread.
Title: Re: Cookie or Login Problems
Post by: netwirejohn on June 07, 2004, 04:07:47 PM
Here you go: http://www.netwire-solutions.com/phpinfo.php
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 07, 2004, 04:12:13 PM
Quote from: netwirejohn on June 07, 2004, 04:07:47 PM
Here you go: http://www.netwire-solutions.com/phpinfo.php

That is using Apache 2 and ISAPI mode.  Are you having login problems?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 07, 2004, 05:20:25 PM
Yes! Thats my host!!! We do have login problems.. you want to try yourself??

http://forums.clanrogue.net
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 07, 2004, 06:15:29 PM
Yes, your server is having difficulty setting cookies.... if that is your same hosting, it should not be causing problems.  Perhaps it's another Apache 2 setting I am not aware of.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 07, 2004, 06:25:27 PM
It only started happening for me 2 days ago. But other users of my forum complained that it happens to them too. Yes that is my hosting. It must be something you are not aware of.
Title: Re: Cookie or Login Problems
Post by: netwirejohn on June 07, 2004, 07:18:33 PM
Hehe... So I am not bad. I haven't found a solution either.
Title: Re: Cookie or Login Problems
Post by: the13th on June 09, 2004, 07:01:49 AM
would a meta refresh in the index.template.php fix the problem?
Because the bug or whatever you want call it is very annoying...

~13~
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 09, 2004, 09:20:26 AM
Yes Unknown. Tell us what to do so we can fix it so we don't have to wait 2 months for next version of SMF to come out.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 09, 2004, 09:49:56 AM
Easiest solution is to get a good enough host that it's not a problem :P.  Nagging is not going to get you anywhere.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 09, 2004, 11:57:45 AM
My host is perfect Unknown. He solves any issue I have the instant I message him and is very knowledgeable about what he does. Don't blame a flaw in SMF on my host. :P
Title: Re: Cookie or Login Problems
Post by: James Bone on June 09, 2004, 05:57:33 PM
Quote from: ROGUE-Master on June 09, 2004, 11:57:45 AM
My host is perfect Unknown. He solves any issue I have the instant I message him and is very knowledgeable about what he does. Don't blame a flaw in SMF on my host. :P

Run boy, run! ;D
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 09, 2004, 11:03:49 PM
Quote from: ROGUE-Master on June 09, 2004, 11:57:45 AM
Don't blame a flaw in SMF on my host. :P

If it works on any properly set up server, and only doesn't work with a badly configured server, how is that really a flaw in SMF?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: James Bone on June 10, 2004, 05:48:35 AM
I must admit, i had mine set up as CGI, but have moved to ISAPI and its fine.
Title: Re: Cookie or Login Problems
Post by: bananaman on June 11, 2004, 08:43:17 PM
Quote from: [Unknown] on June 09, 2004, 11:03:49 PM

If it works on any properly set up server, and only doesn't work with a badly configured server, how is that really a flaw in SMF?

-[Unknown]

I don't think my provider will be upgrading. Excuse my ignorance, but why is a server badly configured if it runs with CGI instead of ISAPI? It seems to be fine in every other respect.

Could someone please explain the difference in micky mouse language?
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 12, 2004, 04:26:52 AM
It can be configured, correctly, using CGI and not have this problem.  While CGI is not as efficient, it has it's benefits and I'm not at all saying CGI is bad configuration.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: bananaman on June 12, 2004, 10:42:43 PM
Thanks [Unknown]. Are there any specific configuration settings I can ask my CGI host to 'correct' that will resolve this problem? I don't know much about configuring PHP/Apache.
Title: Re: Cookie or Login Problems
Post by: nave on June 13, 2004, 09:57:46 AM
please tell me what i need to tell my host to fix this problem. i've got over 35 domains hosted there and i'm not about to move because of this small problem. i have several boards but it doesnt happen on all of them. some people are getting session errors and some are getting logged out.

http://brokeninside.com/phpinfo.php

test account for http://brokeninside.com/inside/ is "smftest" and pass is "1234"
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 13, 2004, 10:57:17 AM
nave the problem you are describing is the same problem for me. but when I tried your test account, it stayed logged in =P

Heres my host:
Quote from: netwirejohn on June 07, 2004, 04:07:47 PM
Here you go: http://www.netwire-solutions.com/phpinfo.php

Whats wrong Unknown :'( Has anyone found a solution for the next version of SMF
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 13, 2004, 11:49:16 AM
Let me try again.  I've been very annoyed by this topic since about the 15th reply, because people are not listening or reading.

NUMBER ONE: This is fixed in the next version.

NUMBER TWO: It is fixed by allowing the option to use a meta redirect on login.

NUMBER THREE: This is only fixes SLOW LOGIN problems, or cookies that are plum not being set. (caused by BUGS in old Apache/IIS with CGI.)

NUMBER FOUR: If you have cookie or login problems THEY MAY NOT BE CAUSED BY THIS PROBLEM.

NUMBER FIVE: Often cookie problems are caused by two installations on the same domain having the same cookie name... or having an invalid cookie name, or other issues.

PLEASE NOTE: All of these things were said in post #1.

Maybe I'm just in a bad mood, but is that clear enough?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: ROGUE-Master on June 13, 2004, 10:59:16 PM
yay ty ;D
Title: Re: Cookie or Login Problems
Post by: mcdougrs on June 17, 2004, 10:10:01 AM
I know this thread is buggin you [Unknown] but something wierd was happening to me the other day. For all I know my thing may be a totally seperate issue all together. Let me describe what I was doing.

I was playing around with my account, a dummy account and the templating system. I tried to add a new button to the menu for the default theme (after doing the copying of the default theme in the admin->Theme Settings area) but all I got after that was a bunch of blank pages. Thankfully the back button on my browser was taking me to some functional pages and I was able to get the "working" default theme going again. But somehow the site was working purely with sessions(???) because if I closed my browser and went back to my site I had to log on again. I also noticed that a sesc variable was being past and displayedin the url of certain areas of the admin area. But this morning when I went to my site I was already logged in ???

<edit>
Ok after just playing around with it a bit I have figured out something kind of odd. If I go to www.mapleave.net/forum and login then exit the browser, open a new browser and go to www.mapleave.net/forum ... wholla not logged in. HOWEVER, if you go to www.mapleave.net/forum/index.php and login, exit the browser, open a new one and go to www.mapleave.net/forum/index.php ... wholla you are logged in. Not sure if these are the same symptoms that other people have been having, but thought it might be helpful. ::) As I have never seen it put this way, I'm sure it has to do with how the server is setting it's cookies but I haven't seen it put this way.

If you would like to test it out at my site use username: helper password: helping
http://www.mapleave.net/phpinfo.php And the hosting company seems to be using php in CGI mode  :-[
</edit>
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 17, 2004, 11:09:52 AM
Your problem is subdomain independent cookies is off.  See...

www.mapleave.net/forum redirects to mapleave.net/forum/
www.mapleave.net/forum/ goes straight to www.mapleave.net/forum/

Notice the missing www?  Your cookie isn't working without it - but it would if you turned on subdomain independent cookies and then logged out and back in.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: mcdougrs on June 17, 2004, 03:08:10 PM
[Unknown] you are a genious!! Thank-you it worked like a charm!
Title: Re: Cookie or Login Problems
Post by: Robster on June 20, 2004, 12:42:18 PM
Forgive my ignorance but where do i look on my PHPinfo to find out if I have php runnning in CGI mode or not?

http://www.soundsceneuk.com/phpinfo.php

(having problem with slow login)
Title: Re: Cookie or Login Problems
Post by: Lithorien on June 21, 2004, 08:15:30 PM
Not to piss anyone off with this, but I run my own server, and I've been having the same problem (meta refresh vs php's built in refresh) and I was wondering if someone could take a look at my phpinfo and tell me why I'd be having these problems? I'm not trying to tread on Unknown's toes here, it's just for my own education as to what's causing the problem.

http://lithorien.net:5001/phpinfo.php

Thank you in advance.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 21, 2004, 08:20:58 PM
http://unknown.network32.net/tutorial.basic-server - use ISAPI.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Lithorien on June 21, 2004, 08:46:32 PM
Quote from: [Unknown] on June 21, 2004, 08:20:58 PM
http://unknown.network32.net/tutorial.basic-server - use ISAPI.

-[Unknown]

Keep getting:

"Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

And in the log..

"The server failed to load application ''.  The error was 'The specified metadata was not found."

Failed to load application null. That's what I don't get. And yes, I followed your tutorial step by step. *sigh*
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 21, 2004, 08:51:30 PM
Did you copy the dlls? (notably php4ts.dll...)

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Lithorien on June 21, 2004, 08:58:51 PM
Quote from: [Unknown] on June 21, 2004, 08:51:30 PM
Did you copy the dlls? (notably php4ts.dll...)

-[Unknown]

Yeap. I tried them both (php4ts and php4isapi) in the sapi directory (Which caused me later on to have to quote the path because IIS didn't see "C:\Program Files\PHP\sapi\php4isapi.dll" as a valid path without quotes) and the system32 directory. Both give me the same error.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 21, 2004, 09:03:28 PM
Hmmm... well, it works in IIS 5.1+.... not sure.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Lithorien on June 21, 2004, 09:50:29 PM
Quote from: [Unknown] on June 21, 2004, 09:03:28 PM
Hmmm... well, it works in IIS 5.1+.... not sure.

-[Unknown]

Ok. Oddly enough, I worked a solution to let it run with the ISAPI module, and that works perfectly. (Thank you for getting me started - took some fiddling but eventually I got it to work.. don't even know what I did, heh.)

However.. the cookies still aren't staying. Global cookies on and off both tried, as are subdomain independant cookes on and off.

*sigh*

I think I'll just wait for the next version. Thanks for the ISAPI help though, Unknown! :)
Title: Re: Cookie or Login Problems
Post by: Timmpy on June 25, 2004, 09:18:35 AM
I recently moved my SMF install to a new host, commercial that a friend had been using for some time. I'm having alot of login/cookie errors I would assume from what I'm seeing.

Basically, when someone logs in, they will often times get a blank white screen, and lots of times when I try to admin pages, I get the same results. Not sure on php settings, but for anyone with a better background to decipher this:

http://www.rodcetnife.org/phpinfo.php

If there are any obvious issues please let me know. The host I went to seems very responsive.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 25, 2004, 06:12:19 PM
Quote from: Timmpy on June 25, 2004, 09:18:35 AM
I recently moved my SMF install to a new host, commercial that a friend had been using for some time. I'm having alot of login/cookie errors I would assume from what I'm seeing.

Basically, when someone logs in, they will often times get a blank white screen, and lots of times when I try to admin pages, I get the same results. Not sure on php settings, but for anyone with a better background to decipher this:

http://www.rodcetnife.org/phpinfo.php

If there are any obvious issues please let me know. The host I went to seems very responsive.

Nice, where are you hosted?  At least from where I am, those pages are loading like lightning ^_^.

Latest Member: test (http://www.rodcetnife.org/index.php?action=profile;u=668).... loads fine for me, no login trouble, no slowdowns, everything seems fine.

Who is having these issues?  I'm currently using MSIE 6 SP1 on a Windows Media Center Edition PC.... I have, of course, never visited that site before and so I couldn't have any stale cookies.

By the by, I strongly recommend you add the following to your index template in the css:
input.check {background-color: transparent;}

This will make it so checkboxes don't have that ugly box around them. (imho it just looks horribly unprofessional to have the boxes, but that's why I added class="check" to *every* checkbox.)

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Kris on July 17, 2004, 03:43:48 AM
The meta option also helps you out when you have redirect problems on IIS 5.0
Title: Re: Cookie or Login Problems
Post by: Steven on July 18, 2004, 01:41:23 PM
You people chose to run a beta version of software then complain when you find bugs (well.. duh!) which the guy has already said will be fixed in a future beta release.

Now, I dont know about you but I think if software is free and in beta mode then you dont really have the right to get annoyed and constantly complain about it .. especially when the guys been trying to help you out no end with it.
Title: Re: Cookie or Login Problems
Post by: LeO on August 04, 2004, 04:24:18 AM
I have SMF running on mys site as well as phpBB 2.10.0 both run fine no cookie problems my srver is CGI :) i did have problems when attempting to run vBulletin and so demanded a refund stupid ppl! But yeah works fine for meeeeeeeee!!
Title: Re: Cookie or Login Problems
Post by: HEB XI 1 on August 06, 2004, 07:26:33 PM
I'm not sure whether my server is running under CGI or ISAPI ... can you tell me where this setting is shown on the phpinfo page?

http://www.praetorian-guard.com/phpinfo.php

Many of my users have been having issues, but I think the way my domain is set up might be part of the issue.  I have a forum located at www.praetorian-guard.com/alb-bed.  I have a domain that points to this ... www.albion-bedevere.com ... but the actual filepaths use the PG url ... it's kind of a shadow domain that's just easier for the users to remember.

The way my users "fix" their cookie issues is to go into Internet Tools,  Privacy, and "Allow" both domains ... this bypasses any cookie security settings and seems to be working.

I am waiting patiently for the next release - as I'm not a charter member I don't have access to beta 6 ... but in the meantime, can you tell me if there is anything I can do to fix this issue for my users rather than having to have them wrestle with their internet settings?  I'm sure you can imagine the level of expertise that most of them DON'T have ...
Title: Re: Cookie or Login Problems
Post by: [Unknown] on August 06, 2004, 11:31:51 PM
Your server is using PHP in ISAPI mode. (not cgi)

While it may be a shadow, it's using a frame.  This is well known to cause cookie problem across the board.  Please consider using a physical redirect or script instead of frames...

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: HEB XI 1 on August 07, 2004, 11:26:18 AM
I am using frames on the main PG site, but not on the Alb Bed forum ... unless you mean a different kind of frame?
Title: Re: Cookie or Login Problems
Post by: [Unknown] on August 07, 2004, 01:25:07 PM
Quote from: hebxi1 on August 07, 2004, 11:26:18 AM
I am using frames on the main PG site, but not on the Alb Bed forum ... unless you mean a different kind of frame?

This url:
http://www.albion-bedevere.com/

Had the following source:
<FRAMESET ROWS="*,0" FRAMEBORDER=0 BORDER=0 FRAMESPACING=0>
<FRAME SRC="http://www.praetorian-guard.com/alb-bed/" NORESIZE>
</FRAMESET>


This is a frame, and because of it cookies are not being set properly.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: HEB XI 1 on August 07, 2004, 01:55:47 PM
hmm ... will have to look into that.  thanks!
Title: Re: Cookie or Login Problems
Post by: theoscarspot.com on August 29, 2004, 01:24:54 PM
Quote from: Steven on July 18, 2004, 01:41:23 PM
You people chose to run a beta version of software then complain when you find bugs (well.. duh!) which the guy has already said will be fixed in a future beta release.

Now, I dont know about you but I think if software is free and in beta mode then you dont really have the right to get annoyed and constantly complain about it .. especially when the guys been trying to help you out no end with it.

You quote the good book brotha!  This "beta" version software is better than any other Final Release that I have seen.  And even though there are problems that I encounter from upgrade * to upgrade *, I still find more help from these folks than I have found anywhere else.  People ranting about their stuff not working, and moreover, compaining about the PEOPLE trying to fix it is just incredible to me.  But who am I?  Just a guy with an opinion.  :-\
Title: Re: Cookie or Login Problems
Post by: silentbob on September 03, 2004, 05:28:37 AM
http://www.sweepthis.com/phpinfo.php <-- am I running CGI or ISAPI? I don't know where to look.. =oP
Title: Re: Cookie or Login Problems
Post by: [Unknown] on September 03, 2004, 01:16:24 PM
See under Server API (sapi)?  It says Apache not IIS or CGI.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Roger on September 13, 2004, 09:09:18 PM
Now here's a strange thing.... my forums were working great but now all of a sudden a lot of users can't stay logged in anymore, including myself as admin.

here are the forums:
http://www.fencecheck.com/forums/

Thanks,
Roger
Title: Re: Cookie or Login Problems
Post by: [Unknown] on September 13, 2004, 09:11:25 PM
Have a test account?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: cdinh on September 21, 2004, 07:58:20 PM
Why does this forum not use WYSIWYG Editor for posting purposes?

HTML Text Area is long outdated!
Title: Re: Cookie or Login Problems
Post by: [Unknown] on September 21, 2004, 08:56:23 PM
Quote from: cdinh on September 21, 2004, 07:58:20 PM
Why does this forum not use WYSIWYG Editor for posting purposes?

HTML Text Area is long outdated!

Is it then?  What do you propose that works well for Internet Explorer, Mozilla Firefox, Opera, and even Safari at the very least?

And wysiwyg is not what it claims to be; it's wysiwywyg (what you see is what you wish you got.)

Furthermore, how is this pertinent to the topic you posted it in?  I consider this spam, because it's a feature request in entirely the wrong place.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Ben_S on September 23, 2004, 03:33:08 PM
The wysiwyg option in the likes of vB is junk IMHO, first thing I do when I register on a vB board with that enabled is turn it off. More a case of wysinwyg if you ask me, and slow and bloaty.
Title: Re: Cookie or Login Problems
Post by: Hally on November 22, 2004, 01:37:51 PM
What's "cookie" mean? I looking this "eksplenejšn" a long time. :)
Title: Re: Cookie or Login Problems
Post by: Jerry on November 23, 2004, 06:23:29 AM
Quote from: Ben_S on September 23, 2004, 03:33:08 PM
The wysiwyg option in the likes of vB is junk IMHO, first thing I do when I register on a vB board with that enabled is turn it off. More a case of wysinwyg if you ask me, and slow and bloaty.
I agree :'( I don't like posting on vb forums with WYSIWYG on, I like it without lol. I often post less on forums with WYSIWYG, the one way to get rid of me :P BBCodes and manual stuff with textareas are good :), and don't take time to load. With Vb you have to wait till the whole editor loads to even begin typing, which can take awhile :P.
Title: Re: Cookie or Login Problems
Post by: darktemplar on January 16, 2005, 03:40:23 AM
user canot log in check out your cookie configuration

this error has me pissed off

since I update to smf1.0 and smf1.0.1 almost all of my users cant login >:( >:( >:( >:( >:( >:( >:(
Title: Re: Cookie or Login Problems
Post by: [Unknown] on January 16, 2005, 04:09:51 AM
Quote from: darktemplar on January 16, 2005, 03:40:23 AM
user canot log in check out your cookie configuration

this error has me pissed off

since I update to smf1.0 and smf1.0.1 almost all of my users cant login >:( >:( >:( >:( >:( >:( >:(

The update definitely shouldn't have changed anything to do with cookies.  Does uploading the files from 1.0 change anything?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: darktemplar on January 16, 2005, 04:11:52 AM
what exactly do you mean :-[
Title: Re: Cookie or Login Problems
Post by: Midgard on January 16, 2005, 05:43:33 AM
http://www.eggheads.gen.tr/info.php << My server

Any problem on my server?
Title: Re: Cookie or Login Problems
Post by: [Unknown] on January 17, 2005, 01:33:05 AM
Looks okay; you're having login problems?

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Trekkie101 on January 17, 2005, 02:45:10 AM
Quote from: [Unknown] on January 17, 2005, 01:33:05 AM
Looks okay; you're having login problems?

-[Unknown]


Im a member on his forums and have managed to stay logged in.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on January 17, 2005, 06:45:40 AM
It has come to my attention that there was another problem, which affects IIS.  Please find this, in Load.php:

'is_cgi' => php_sapi_name() == 'cgi'

And replace with:

'is_cgi' => strpos(php_sapi_name(), 'cgi') !== false,

How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Midgard on January 18, 2005, 04:52:03 AM
Quote from: [Unknown] on January 17, 2005, 01:33:05 AM
Looks okay; you're having login problems?

-[Unknown]

not found an problem for me
Title: Re: Cookie or Login Problems
Post by: Midgard on February 01, 2005, 08:52:10 AM
Yes! An problem occurred.

I'm upgraded my server.
Apache server 1.3.37 to Apache2
Php 4.2.2 to 4.3.10 (on windows)
MySQL not changed.

Cookie, login/logout, session problems occurring...

PHP Info: http://www.eggheads.gen.tr/phpinfo.htm
php.ini file: http://www.eggheads.gen.tr/php.txt
HTTPd conf: http://www.eggheads.gen.tr/httpd.conf

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

...
Title: Re: Cookie or Login Problems
Post by: [Unknown] on February 02, 2005, 01:35:34 AM
Are you using subdomain independent cookies?  Almost sounds like you want a cookie problem :P.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Midgard on February 02, 2005, 08:28:55 AM
Quote from: [Unknown] on February 02, 2005, 01:35:34 AM
Are you using subdomain independent cookies?

-[Unknown]

No, i'm using normal cookies.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on February 02, 2005, 12:39:39 PM
Please try turning that option on, and local cookies off.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: Midgard on February 03, 2005, 07:56:07 AM
Quote from: [Unknown] on February 02, 2005, 12:39:39 PM
Please try turning that option on, and local cookies off.

-[Unknown]

I found it!

Problem source from:
; The path for which the cookie is valid.
session.cookie_path = C:\WINDOWS\Temp


I've be change this. C:\WINDOWS\Temp replace with /

Now working... Thank you
Title: Re: Cookie or Login Problems
Post by: freeAngel on June 18, 2005, 04:53:32 PM
my server address is http://www.sharetheplanet.net/forumtr/index.php and i have couple problems that i could not fix it.

1 login problem
2 when i said i forgot my password send me by email doesnt seem to responding. i did not get any message to my mail address.
3 it doesnt send any welcome message and activation code to the new registered users.

mostly i have login and sending registration,send password to the email problems. i did all the configs. been there done that. is there any patch for this. or are we here on are own? thx form now on for any help.
Title: Re: Cookie or Login Problems
Post by: [Unknown] on June 19, 2005, 09:16:44 AM
Please start new topics for new requests (http://www.simplemachines.org/community/index.php?topic=18624.0)...

It sounds like your mail information is not set up properly, or your host has things configured strangely.  Please enumerate what you mean by "login problem" in a new topic, preferrably in Administration and Functionality (http://www.simplemachines.org/community/index.php?board=11.0).

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: hartiberlin on August 11, 2005, 07:06:38 PM
Hi,
I have the same problem, when I want to login via mobile phone
via the
www.overunity.com/index.php?wap2
link.

It occurs only in one forum, which I have updated from 1.05 to 1.1b3

in a freshly installed other 1.1b3 forum I can login via my mobile phone
without problems.
I already cleared the whole cache and cookies on the wap browser
in my Sharp TM100 mobile phone, but this does not help.

What settings could I still try ?
Thanks.

Regards, Stefan.

P.S:
Also if I modify the cookie name under admin-
Server Settings
I  still can not login via my mobile phone. hmm...

P.P.S:

would it be better to make a fresh install of the 1.1b3 version
to be able to login via the mobile phone ?

How can I do this ?

Do I just have to delete all Files
in my forum webspace and only leave the Mysql database
as it is and tell the install script to use the old database ??

or would I need to change anything else in the install
procedure ??

I don´t use any mods in the 1.1b3 version.

When I try to login with my PC at home at
www.overunity.com/index.php?wap2
it works !
There then is no cookie problem !
( I also did logout first via the PC at home
and then tried to login via the mobile phone Sharp TM 100.

So it seems the error only occurs due to the mobile phone
and not om the IE 6.01 SP1 browser...
Hmm....
Is the Wireless template
somehow corrupted or what could it be ?
Thanks.

Regards, Stefan


Title: Re: Cookie or Login Problems
Post by: [Unknown] on August 11, 2005, 07:45:56 PM
This topic is very old and no longer applicable.

Stefan, you have already posted about this, and if I recall you have posted two separate topics on the same issue.  Please be patient.  Neglecting the rules on this forum will only make you get a later response.

-[Unknown]
Title: Re: Cookie or Login Problems
Post by: hartiberlin on August 13, 2005, 03:15:38 PM
Okay, UNKNOWN,
thanks for the answer.
I will probably install the forum 1.1b3 from scratch,
the update from 1.03 to 1.05 and then to 1.1b3 probably
made this error somehow...

Thanks.

Regards, Stefan.