phpbb3 technical issues

Moderator: Site Moderators

toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

I could stay connected with both www or not with the old phpbb2 ... but many forum functions brought me back from www to no www (for example the function to reach the last unread post, but strangely, posting always redirected me to same version)
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

There's no real way around that, since technically http://www.foldingforum.org and http://foldingforum.org are separate domains, one being a subdomain of the other. They just both happen to point at the same place.

The best way to avoid these problems is just to use the url without the www, since that's what the forum and the cookies are set to use.
If you access via the www subdomain, you'll most likely get dumped back to the foldingforum.org domain as soon as one of the forum's auto-redirects happens.
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

As I already said, many people will use the www version of the url ... just because they are used to ... and they won't be able to log in :(

Another potential bug : user posted url doesn't seem to have the target=_blank feature ... it really don't like leaving the forum when clicking a link in a post :? Try clicking one for example : http://phpbb3.fleucorp.fr
Last edited by toTOW on Wed Dec 19, 2007 3:19 pm, edited 1 time in total.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

I just logged in via http://www.foldingforum.org and everything worked. I let the autoredirect do it's stuff on the post-login page, and here I am, still logged in without the www.

I'll see what I can do about the links issue.
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

uncle_fungus wrote:I just logged in via http://www.foldingforum.org and everything worked. I let the autoredirect do it's stuff on the post-login page, and here I am, still logged in without the www.
Strange ... I tested two things :

- I logged out, closed firefox, restarted it and came to the WWW ... log in successfull, and redirected to the no-WWW
- I stayed logged in, closed firefox, restarted it and came back here to the WW ... it remembered me perfectly.

I'm going to post this post and edit to see what happens ;)

edit : it's working ... and i've be redirected to the no-WWW address ...
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

toTOW wrote:Another potential bug : user posted url doesn't seem to have the target=_blank feature ... it really don't like leaving the forum when clicking a link in a post :? Try clicking one for example : http://phpbb3.fleucorp.fr
I've partially fixed this. If you use the [url] bbcode, then links will open in a new window. Links written straight into the body of the post will still open in the same window though.
brityank
Posts: 161
Joined: Wed Dec 05, 2007 9:16 pm
Location: SE Pennsylvania

Re: phpbb3 technical issues

Post by brityank »

pythagoras wrote:
uncle_fungus wrote:I've just installed the French Languages Pack(s), American English will be installed as soon as it gets validated by the phpbb translation team.
Isnt that an Oxymoron? :twisted: Runs and hides :oops:

Regards

John.
Nah.

Two societies seperated by a common language. :roll: :P
... ... Free Republic Folders - A Tribute to Ronald Reagan ... ...
Image
Ren02
Posts: 98
Joined: Tue Dec 11, 2007 1:16 am
Location: Estonia

Re: phpbb3 technical issues

Post by Ren02 »

It was impossible to log in today from both foldingforum.org and http://www.foldingforum.org .
I'd get the "You have been successfully logged in" but as soon as the page transferred to Board Index I had been logged off again. Deleting cookies (in Firefox 2.0: Tools->Options->Privacy->Show Cookies, select the foldingforum.org from the list and hit the Remove Cookies button) fixed the issue.
Image
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

Ren02> it's the issue we were discussing with uncle_fungus ... my solution was simpler : log out, restart firefox, log in ;)
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

uncle_fungus wrote:
toTOW wrote:Another potential bug : user posted url doesn't seem to have the target=_blank feature ... it really don't like leaving the forum when clicking a link in a post :? Try clicking one for example : http://phpbb3.fleucorp.fr
I've partially fixed this. If you use the [url] bbcode, then links will open in a new window. Links written straight into the body of the post will still open in the same window though.
Can you try to fix this too :?: (I think most people are only pasting their links without the URL tag :()
Last edited by toTOW on Wed Dec 19, 2007 3:20 pm, edited 2 times in total.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

toTOW wrote:
uncle_fungus wrote:I've partially fixed this. If you use the [url] bbcode, then links will open in a new window. Links written straight into the body of the post will still open in the same window though.
Can you try to fix this too :?: (I think most people are only pasting their links without the URL tag :()
Yeah, I had a go last night, but wasn't happy with the result, so I'll have another look.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

OK, posted links should now word for future entries. Any links posted prior to this point still won't work (since the exact link text is stored in the database), however if you go back to your posts and then edit and save them, the links will then work.
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: phpbb3 technical issues

Post by toTOW »

It's working 8-)
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Kakao
Posts: 30
Joined: Sun Dec 02, 2007 5:52 pm
Location: Brasília, Brazil
Contact:

Re: phpbb3 technical issues

Post by Kakao »

uncle_fungus,

What if you just redirect http://www.foldingforum.org to http://foldingforum.org?

If you have root access to the server add this to the /etc/httpd.conf file:

Code: Select all

<VirtualHost 209.62.36.18:80>
    ServerName www.foldingforum.org
    RedirectMatch permanent /(.*)$ http://foldingforum.org/$1
</VirtualHost>
If you only have .htaccess add this to it:

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.foldingforum\.org$ [NC]
RewriteRule ^(.*)$ http://foldingforum.org/$1 [R=301,L]
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

Re: phpbb3 technical issues

Post by uncle_fungus »

Kakao wrote:uncle_fungus,

What if you just redirect http://www.foldingforum.org to http://foldingforum.org?

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.foldingforum\.org$ [NC]
RewriteRule ^(.*)$ http://foldingforum.org/$1 [R=301,L]
Aye, that'll work. Done. Cheers :)
Post Reply