View Full Version : Maybe a cookie problem or ????
Wet_hooters
11-9-08, 07:09 PM
Since Thursday members in my gallery are saying that after looking at a few pictures, they get log out and have to relogin again. I try it myself and did it to me too after I click on a few pictures, did something changed on the server that I need to do to correct this problem ? My gallery is Photopost if that helps out and its set to this / for cookies for entire site .........
Thanks in advance !
Kim
Croc Hunter
11-10-08, 01:39 AM
Hi Kim, does Photopost use sessions? If so, check you have a valid session path set and if so delete all old session files at that path.
Wet_hooters
11-10-08, 11:26 AM
Hi croc, thanks for the reply ! I didnt see any sessions folder but there was a phpsession folder and in it was a cleansession.php file and that's all.I also look in the php.ini and was some settings for session but I dont know if the settings were right or not. so am lost on this.. Any ideals would be great !
Thanks !
Kim
Croc Hunter
11-10-08, 11:59 PM
To set a valid session save path login to OPS> Main> CGI and Scripted Language Support> PHP Scripting - You will see on the php.ini page something like this:
/home/users/web/b1234/pow.username/htdocs
You can store sessions outside (or inside) htdocs. Copy that line from your php.ini page and scroll about 2/3 of the way down your php.ini code until you find "session.save_path = " replace "/var/phpsessions" (or session.save_path = "/tmp") with your true path adding phpsessions to the end like this:
session.save_path = "/home/users/web/b1234/pow.username/phpsessions"
Where "b1234" is your number and "username" is your OPS username. Make sure there is no ; at the beginning of the line. Click Save and FTP in to create the actual phpsessions folder outside of htdocs.
Wet_hooters
11-11-08, 12:37 AM
Ok,THANKS CROC ! I will try that and see what happens.
kim
Wet_hooters
11-11-08, 12:52 AM
Hi croc, that path was already in the php.ini..
Hmmmmm, anymore ideals on what it could be ?
Thanks !
Kim :)
Croc Hunter
11-11-08, 01:30 AM
If the path is right with no ; etc and the folder exists dump the contents (if any) of the folder. You can increase the session time in your php.ini but I'm thinking it's more likely a script problem. A check and reload of the latest release files might help.
Wet_hooters
11-12-08, 12:49 PM
Hi Croc ! I just found out that Photopost do not use sessions. Just cookies. Hmmmm now I have to figure this one out..
Thank you !
Kim
entrecon
11-12-08, 01:44 PM
Did you make any changes that may be impacting how long a cookie may last? Have you changed your .htaccess file? Do links between domain.com and www.domain.com impact cookies?
troycawley
11-14-08, 04:47 AM
I am currently experiencing these mysterious and sporadic cookie problems on multiple sites on multiple PowWeb accounts. Some which use sessions, some which only use cookies. I've tried echoing the cookies (php $_COOKIE['cookiename']) on the page and it is simply not there sometimes ... but on a page refresh, it magically reappears.
To further confuse things, these sites occasionally return an Internal Server Error when a POST is sent. No idea if this is related.
http://forum.powweb.com/showthread.php?t=81116
Does anyone else use the header("location: ...") redirect to prevent duplicate posting? Check your sites. I'm looking for some common thread.
Again, this is something I've seen on at least 5 sites on 3 different accounts. Dozens of scripts written by different people (some by me, some WordPress/plugin scripts...). All of which were working until about a week ago.
Wet_hooters
11-14-08, 03:16 PM
Hi Entrecon, Thank you for the reply ! I have made no changes to the site and was it running great for month's now untill this happen last Thursday.
Kim
Wet_hooters
11-14-08, 03:30 PM
Hi Troy cawley,
Am glad to hear am not the only one having this problem and not me just going crazy (lol)
Kim
troycawley
11-15-08, 09:02 PM
Hi Troy cawley,
Am glad to hear am not the only one having this problem and not me just going crazy (lol)
KimYeah, me too. Thanks for replying...although I am still kind of going crazy with this. :eek:
I fear this might be a "system-wide" problem, but people aren't seeing it because of the intermittent nature of the problem.
Hopefully, I'm wrong.
__________________________________________________ _____
Update:
Support just told me that my forms cause an internal server error because of special characters in the url. But:
There are none.
Ironically, special characters have actually been working on my sites for a couple of weeks now. See: http://www.wildwooddoowop.com/Big+Ernie%27s+Fabulous+50s/Diner/ (I know, it doesn't actually go anywhere, but it doesn't 500 error.)
The forms work most of the time. So special characters only cause a 500 error some of the time?
Grr.
I've been struggling with this problems for three days now. Because I've just moved to PowWeb three days ago, I was sure it has something to do with how my scripts or account are configured...
I have MediaWiki and SMF on my site. I checked about every possible setting for session handling in SMF (it stores sessions in database by default) but to no avail. Users just get logged out from time to time (or to be exact, they appear to be logged out, because reloading the page shows them as logged in again).
Will be grateful for any informaton on how to cope with this.
HalfaBee
11-16-08, 07:26 PM
Yeah, me too. Thanks for replying...although I am still kind of going crazy with this. :eek:
I fear this might be a "system-wide" problem, but people aren't seeing it because of the intermittent nature of the problem.
Hopefully, I'm wrong.
__________________________________________________ _____
Update:
Support just told me that my forms cause an internal server error because of special characters in the url. But:
There are none.
Ironically, special characters have actually been working on my sites for a couple of weeks now. See: http://www.wildwooddoowop.com/Big+Ernie%27s+Fabulous+50s/Diner/ (I know, it doesn't actually go anywhere, but it doesn't 500 error.)
The forms work most of the time. So special characters only cause a 500 error some of the time?
Grr.
It shows this error at the top, so it is probably a SQL syntax error of somekind.
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /hermes/web08/bnnn/pow.xxxxxx/htdocs/wildwooddoowop/includes/functions.phtml on line 55
troycawley
11-16-08, 09:01 PM
Actually, that's just because I posted a "bogus" url. The real url is: http://www.wildwooddoowop.com/Big+Ernie_s+Fabulous+50s/Diner/
(I was just trying to prove the point that the apostrophe in my url does not cause a 500 error any more.)
mikedailly
11-21-08, 03:42 AM
We're having a similar issue although weren't sure if it was cookies or some SQL problem. I appear to remain logged in but some features get disabled. It was working and no code has changed, has something changed on powweb servers that we should know about?
In another thread we're told they've upgraded to Apache 2.0 on the 19th or 20th November (although the problem may not be related to this).
Look in that thread - and check the version you're running works on 2.0
Wet_hooters
11-21-08, 07:54 AM
My site still has this problem and can't figure out what it is yet....
Kim
If the site is still having problems, report back to support.
troycawley
11-21-08, 11:49 AM
In another thread we're told they've upgraded to Apache 2.0 on the 19th or 20th November (although the problem may not be related to this).
Look in that thread - and check the version you're running works on 2.0My sites seem to be fixed with the upgrade to 2.0...or rather, with the repairs they made last night to their botched upgrade to 2.0.
This was very poorly handled by support and the engineers, I think. I'd like to get some more information on this so I'm prepared for the next upgrade (should I still be around for it).
Anyway, as Ian said, if you are still having problems like this, I recommend you contact support ASAP, as they will likely be closing a lot of tickets and attributing the problems to the apache upgrade.
Good luck all.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.