Page 1 of 1

phpBB Problem

Posted: Sun Feb 20, 2005 10:26 pm
by Sarvis
Ok, this is not a problem on these boards... I just set up my own and am having a slight problem. I posted on the phpBB site a while ago, but no one has responded so I guess they can't help, so I figured you guys have been dealing with this crap for a while and maybe could.

Here's the problem(s):

Whenever someone tries to log in, including me, they get a message saying connection was refused from <i>domain</i>.webhop.org:8080

Now here's the thing, it shouldn't be webhop.org:8080, because the webhop would automatically hop itself to that port. I tried setting my port in the config to just 80, but that broke everything else.



The other problem, which may or may not be related, is that position is lost on refresh. For intsance if I'm on the page for one board and I hit refresh I go back to the main index. I can see that the url in my board does not get updated from index.php to index.php?<i>stuff</i>

But I have no idea why... :(

Posted: Mon Feb 21, 2005 8:11 am
by teflor the ranger
Are you blocking cookies from that site? More importantly, are you sure you're accepting cookies from that domain?

Posted: Mon Feb 21, 2005 2:25 pm
by Sarvis
Nope, all cookies accepted.

Posted: Tue Feb 22, 2005 12:09 am
by teflor the ranger
From the phpBB package, unpack it locally and replace the login php files.

Happened to me once, case of file corruption.

Beyond that, I'd have to suggest taking it to the phpBB website for better help :\

Posted: Tue Feb 22, 2005 12:15 am
by Sarvis
Hrm... but I can still login, it just makes you have to go back and refresh rather than taking you into the forum automatically.

I'll try it though later.

Also I asked on their forums, which are currently down in an ironic twist, well before bringing my question here. Got one answer so far and it didn't help... :(

Posted: Tue Feb 22, 2005 12:19 am
by teflor the ranger
Replace the php files anyway and see if it helps. What kind of DB are you using? Is it on a MS server or a nix server.

Posted: Tue Feb 22, 2005 12:57 am
by Sarvis
teflor the ranger wrote:Replace the php files anyway and see if it helps. What kind of DB are you using? Is it on a MS server or a nix server.


WinXP, and mySQL.

You think that would also cause the problem with it not putting the forum position in the url?

Posted: Tue Feb 22, 2005 4:33 am
by teflor the ranger
That's an interesting point. I've never seen phpBB2 used as a domain index. Stuff it into a folder?

Posted: Tue Feb 22, 2005 5:06 am
by Sarvis
teflor the ranger wrote:That's an interesting point. I've never seen phpBB2 used as a domain index. Stuff it into a folder?


Huh? domain index? Plus it _is_ in a folder...

Maybe I gave you the wrong idea. My phpBB2 is behaving differently than this one. On this one if you are in the General Discussion board and refresh, you stay in General Discussion and it refreshes that page. On mine if I'm in General Discussion and I refresh it goes back to the Forum Index.

If you notice in the url after the script there's a question mark.

This:

http://www.torilmud.org/phpBB2/posting. ... e&p=137542

Would look like this if it were my forum:

http://www.torilmud.org/phpBB2/posting.php

Well, actually it still just shows index.php when replying, rather than posting.php. That in itself seems wrong! :(

I don't know what you mean by using it as a domain index...

Posted: Tue Feb 22, 2005 9:28 am
by teflor the ranger
Post your board URL and I'll take a look. Ran one for a while, but never really had too many problems with it.

Posted: Tue Feb 22, 2005 1:02 pm
by Sarvis
http://soulstone.webhop.org/phpBB2/index.php

You'll get an error about email when you create your account, just ignore it.

Also the loginc thing, I haven't gotten around to trying the fix you suggested yet. I couldn't get the files last night since they had just switched over to a new version which hadn't made it to any of the mirrors yet. :(

Posted: Tue Feb 22, 2005 1:58 pm
by digov
I'd bet its a duplicate cookie name problem or a cookie configuration issue. I've seen this before and fixed it actually. Change your cookie name to something a bit more 'unique' rather than the default.

Under general board settings --> Cookie settings

domain should be your FQDN, (www.mydomain.com)

Make your name something unique like 'mydomainhpbb2mysql'

cookie path should be the url 'directory'. i.e. if it was mysite.com/forum
then your cookie path would be /forum.

Log out, clear cookies and log back in, see what happens.