FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Installation and tips for several languages on the same page
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  Installation and tips for several languages on the same page [message #33432] Fri, 01 September 2006 03:54 Go to next message
Stephane is currently offline  Stephane   Netherlands
Messages: 11
Registered: September 2006
Location: The Netherlands
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
How is it possible to make a forum displaying multiple languages, and especially have all pages use UTF-8 for page encoding?

I suppose I have to choose English for the installation as English will be the default language anyway.
My first attempt to install went wrong as I chose Bulgarian for install and have only Bulgarian available right now. However, I am surprised already that the encoding is KOI8 rather than UTF-8, which should make things simpler for everybody. Confused

Do you have any suggestion on how I should install FUDForum to end up with a result like in http://www.dan-balan.com/forums/dan-balan/index.php where multiple languages co-exist happily on the same page, and which we are trying to convert to FUDForum 2.7.5. Razz

[Updated on: Fri, 01 September 2006 04:11]

Report message to a moderator

Re: Installation and tips for several languages on the same page [message #33448 is a reply to message #33432] Fri, 01 September 2006 16:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You can build multiple themes, each theme with a different language. Then you'd need some sort of a selector allowing you to change the default language shown to a user. Registered users can just select the desired theme (language) from their profile.

As far Bulgarian translation, the reason it uses KOI8, is because that's the translation that was provided. If you would like to provide the UTF8 variant, feel free.


FUDforum Core Developer
Re: Installation and tips for several languages on the same page [message #33465 is a reply to message #33448] Fri, 01 September 2006 17:06 Go to previous messageGo to next message
Stephane is currently offline  Stephane   Netherlands
Messages: 11
Registered: September 2006
Location: The Netherlands
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks for your reply.
I figured out how to set the forum in English, that worked fine. Razz

Then I used the converter from IPB to Fudforum and it went well for a while. It went through importing the IPB database. I was then advised to run consist.php, which ran successfully. But then when asked to optimise the database, I clicked "Here" and now I end up with absolutely nothing. I may not have waited long enough although the browser was not loading the page any longer (Status Ready). If I go to the forum now, I have a blank page.

Something went wrong when optimizing the database but I can access it from the command line and select * from fud26_users successfully. Something with templates maybe?

Thanks for your help

[Updated on: Fri, 01 September 2006 17:22]

Report message to a moderator

Re: Installation and tips for several languages on the same page [message #33477 is a reply to message #33465] Mon, 04 September 2006 05:42 Go to previous messageGo to next message
Stephane is currently offline  Stephane   Netherlands
Messages: 11
Registered: September 2006
Location: The Netherlands
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Problem solved, so I wanted to share the results with other users, as I got ideas about what to check from reading about other users' problems. There were two things wrong:
1. A parse error in GLOBALS.php. Somehow during the conversion from IPB 1.3 forum to 2.7.5, the $DISABLED_REASON value was written twice: "Forum is offline, blablabla..." "Forum is offline, blablabla...";
That gave a Parse Error, which could be solved easily. Smile

Before that though, I had error messages about not being able to connect to the database, which got solved mysteriously Shocked (I only used the username and password mentioned in the file to check that I could connect successfully to the database and after that, I had no more messages about connecting to the DB, just the parse error I mentioned above).

2. Ownership of newly-created files was not set properly. I could run index.php from the command line and get the html code from it. But then when I tried from the browser, I still had nothing (or rather a nice empty page with: <html><body></body></html>). We made www-data owner of all files and it worked. Cool

So now we have a working forum, which we still need to get into UTF-8 format for multiple language support, but we are on the right track.

I hope that can help some solve their own problem. Maybe Ilia has some explanation(s) or idea(s) about my issues.

In any case, great work guys, FUDForum rocks Razz Twisted Evil
Re: Installation and tips for several languages on the same page [message #33484 is a reply to message #33477] Mon, 04 September 2006 09:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Would my guess that you ran the conversion script from the command line be correct? If that is the case your forum probably used "secure" file permissions, consequently setting all files to 0600 and directories to 0700. This in effect denied access to the web server user to those files.

FUDforum Core Developer
Re: Installation and tips for several languages on the same page [message #33489 is a reply to message #33484] Mon, 04 September 2006 10:17 Go to previous messageGo to next message
Stephane is currently offline  Stephane   Netherlands
Messages: 11
Registered: September 2006
Location: The Netherlands
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks Ilia for your answer. I actually ran the script to convert from the web browser. I only tried from the command line after it went wrong to get an indication of what the problem was, as there was no error message to find from the web browser. I am not a unix, php or mysql specialist. I am more familiar with sql and asp(.net), but it is interesting to look at the other system. Smile
In any case, the designer is now busy changing the looks of the forum, so we are doing fine.
I am not an administrator of the Apache web server running php and mysql, so I am not sure what happened to the rigths on the files. What is sure is that www-data was not owner of those files but now is. Very Happy

I would have another question to you though:
we are now testing to see what we can get out of FUDForum, and it all looks good. But in the meantime, the real forum is still going on with more posts and everything else. My question is: as we take the IPB forum offline to really start using FUDForum, is there a way to update the database with the new content, without having to redo all the design work? Can I simply update the database by re-running the ipb.php file? And if so, shall I then re-run consist.php and optimize the database?
I'll make a backup of GLOBALS.php before doing so.
Re: Installation and tips for several languages on the same page [message #33492 is a reply to message #33489] Mon, 04 September 2006 10:24 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
When you run the conversion script it does not touch the design one bit, it simply imports the database & disk (file attachments and a like) information from your old forum.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Trouble Deleting User from eGroupware
Next Topic: Trouble with TestFORUM in new eGroupware install
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Jun 21 15:57:59 EDT 2018

Total time taken to generate the page: 0.00704 seconds