Web Hosting Talk







View Full Version : My phpBB board...funny things happening.


shibby
04-29-2002, 02:22 PM
Don't know if this is in the correct forum, but here goes...

I have my phpBBmod board hosted at Gearhost. I am VERY pleased with Gearhost so far, but I am having a problem and I don't know if it is caused by the host or the forum software. I have asked around a lot in different support forums, and still have not gotten a clear answer.

My forum will not keep a person logged-in. If you click on 'login' on the main forum page, it will ask for your password and act like it worked, but when you return to the main page, it will still say you are not logged in. Although, your name WILL appear on the 'whos online' feature. Now, a weird thing has been happening. Every night at around the same time, it will work! But only for a couple of hours. Weird right?

So, just wondering if any of you could give me some input as to what is causing this. I would REALLY appreciate it, thanks.
:(

sbhmike
04-29-2002, 05:32 PM
this is usually a cookie problem ,also go into profile and check if there is an option to stay logged in
are you using phpbb1 or 2
i run phpbb1 over at cliksoft.biz it seems to work fine
check your cookie settings in your browser and check through the settings in admin

shibby
04-30-2002, 12:04 AM
This isn't a problem on just my own computer, it is happening to ALL members. I am using a modified version of phpbb1 (phpbbmod) and never had a problem till I moved my board from my old host to gearhost. :(

shibby
05-01-2002, 02:17 AM
Anyone? :(

VeriCentric
05-01-2002, 02:59 AM
Are you running it from a subdomain, or is the URL changing any across different pages? Such as starting at: http://www.domain.com/forums/ and then
http://domain.com/forums (without the www) on the next? Problems such as this could probably cause that sort of behavior. Of course, I can't explain it working for certain periods though :confused:

I'm not very familiar with phpBB, so I don't have any specific advice, but maybe my limited suggestion might help find the cause...

shibby
05-03-2002, 01:20 PM
Nope, the 'www' is on all pages. :( Thank you for your suggestion though. I just really wish I could figure this out...I have a lot of members and they are getting very discouraged.

RyanK
05-03-2002, 03:13 PM
Shibby,

I was not aware of your problem. Please open up a support ticket and I will have a tech look into your issue right away, my apologies in not noticing your post here more quickly but the best way to resolve would be via GearHost.

shibby
05-03-2002, 04:11 PM
Thanks Ryan. I already did open one ticket about it because the forum software developer suggested it might be a y2k problem that gearhost did not fix, but someone at GH replied back and said it wasnt. But I will send another ticket anyway..thanks Ryan!

Billabong2k2
05-23-2002, 07:10 PM
its not gearhost, well in a way it is, but not in anyway they can help it. I use phpbb2 and it works and runs just fine, but the older one, phpbb RC2 had a problem with auto-login, it was due to IIS, it is a phpbb1 bug and since phpbb1 is no longer being developed for, you will need to upgrade, that will solve your problem.

priyadi
05-23-2002, 09:03 PM
I had similar problem with phpBB 1.4.x when upgrading PHP to 4.2.1. To fix that, edit file functions.php, search for 'setcookie', change it from

setcookie($cookiename,$sessid,'',$cookiepath,$cookiedomain,$cookiesecure);


To:


setcookie($cookiename,$sessid,0,$cookiepath,$cookiedomain,$cookiesecure);

WebSnail.net
05-24-2002, 07:52 PM
I'm guessing but something else to check is whether "register_globals" has been turned off with the recent compilation of php to the newer 4.2.0+ versions.

That caused all kinds of problems with sessions in phpBB2 until they wrote a URL encoded session method for when cookies were disabled.

You really are advised to upgrade to phpBB2 though as it resolves this issue very nicely now.