phpBB Problem

Archived discussion from Toril-2.
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

phpBB Problem

Postby Sarvis » Sun Feb 20, 2005 10:26 pm

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... :(
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
teflor the ranger
Sojourner
Posts: 3923
Joined: Fri Jul 26, 2002 5:01 am
Location: Waterdeep

Postby teflor the ranger » Mon Feb 21, 2005 8:11 am

Are you blocking cookies from that site? More importantly, are you sure you're accepting cookies from that domain?
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

Postby Sarvis » Mon Feb 21, 2005 2:25 pm

Nope, all cookies accepted.
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
teflor the ranger
Sojourner
Posts: 3923
Joined: Fri Jul 26, 2002 5:01 am
Location: Waterdeep

Postby teflor the ranger » Tue Feb 22, 2005 12:09 am

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 :\
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

Postby Sarvis » Tue Feb 22, 2005 12:15 am

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... :(
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
teflor the ranger
Sojourner
Posts: 3923
Joined: Fri Jul 26, 2002 5:01 am
Location: Waterdeep

Postby teflor the ranger » Tue Feb 22, 2005 12:19 am

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.
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

Postby Sarvis » Tue Feb 22, 2005 12:57 am

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?
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
teflor the ranger
Sojourner
Posts: 3923
Joined: Fri Jul 26, 2002 5:01 am
Location: Waterdeep

Postby teflor the ranger » Tue Feb 22, 2005 4:33 am

That's an interesting point. I've never seen phpBB2 used as a domain index. Stuff it into a folder?
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

Postby Sarvis » Tue Feb 22, 2005 5:06 am

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...
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
teflor the ranger
Sojourner
Posts: 3923
Joined: Fri Jul 26, 2002 5:01 am
Location: Waterdeep

Postby teflor the ranger » Tue Feb 22, 2005 9:28 am

Post your board URL and I'll take a look. Ran one for a while, but never really had too many problems with it.
Sarvis
Sojourner
Posts: 6369
Joined: Fri Jan 26, 2001 6:01 am
Location: Buffalo, NY, USA
Contact:

Postby Sarvis » Tue Feb 22, 2005 1:02 pm

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. :(
<a href="http://www.code-haven.com">Code Haven</a> - For all your programming needs.

I detest what you write, but I would give my life to make it possible for you to continue to write. - Some Guy Who Paraphrased Voltaire
digov
Sojourner
Posts: 38
Joined: Thu Sep 19, 2002 5:01 am

Postby digov » Tue Feb 22, 2005 1:58 pm

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.

Return to “General Discussion Archive”

Who is online

Users browsing this forum: No registered users and 22 guests