Closed Thread
Results 1 to 7 of 7

Thread: phpBB + French language = Pb

  1. #1
    chlankboot is offline x10Hosting Member chlankboot is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    6

    Exclamation phpBB + French language = Pb

    Hi all,

    Have anyone tried to install french language on phpBB?
    When trying i get this error:
    Code:
    General Error
    
    SQL ERROR [ mysql4 ]
    
    Incorrect string value: '\xE2\x80\x8E' for column 'lang_english_name' at row 1 [1366]
    
    SQL
    
    INSERT INTO phpbb_lang (lang_iso, lang_dir, lang_english_name, lang_local_name, lang_author) VALUES ('fr', 'fr', 'French (Standard)‎', 'Français‎ (Standard)', 'Elglobo')
    
    BACKTRACE
    
    FILE: includes/db/mysql.php
    LINE: 158
    CALL: dbal->sql_error()
    
    FILE: includes/acp/acp_language.php
    LINE: 838
    CALL: dbal_mysql->sql_query()
    
    FILE: includes/functions_module.php
    LINE: 471
    CALL: acp_language->main()
    
    FILE: adm/index.php
    LINE: 74
    CALL: p_master->load_active()
    
    Could this be due to the "ç" char within the word "Français"?
    I installed spanish and italien with no problem but same problem appeared when trying to install arabic !!
    (my php is updated to x10 v2)

  2. #2
    LHVWB's Avatar
    LHVWB is offline Lord Of The Keys LHVWB is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    1,308

    Re: phpBB + French language = Pb

    Is your forum set to utf-8? If not then this could be causing the problem. It shouldb't have anything to do with the php version.

    Maybe you should ask about this on the phpbb3 forums, they are more likely to know about this sort of specialised issue.
    Last edited by LHVWB; 05-10-2008 at 06:18 PM.

  3. #3
    chlankboot is offline x10Hosting Member chlankboot is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    6

    Thumbs up Re: phpBB + French language = Pb

    thanks dude for enlighting me about utf8,
    in fact by default (and i dont know why) the mysql db is configured with some scandinavian language ???). to make it work, two tables have 2 be changed to utf8 : phpbb_lang and phpbb_log (including the fields collation), but i dont exclude problems later so i have the painfull task to do this for all the rest of tables and fields.
    by the way, is there any script that can do the job ?
    Thks again
    Last edited by chlankboot; 05-11-2008 at 01:41 PM. Reason: Finished changing to utf8

  4. #4
    LHVWB's Avatar
    LHVWB is offline Lord Of The Keys LHVWB is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    1,308

    Re: phpBB + French language = Pb

    I don't know of any script that can easily do the job, but you can use phpMyAdmin to change the structure of the table. I am not sure about PHPBB3, but in SMF there is an option somewhere which says, "convert all database entities to UTF-8", or something similar, so have a look to see if phpbb3 has one.

  5. #5
    kkenny's Avatar
    kkenny is offline Lord Of The Keys kkenny is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    I REP THE BAY. (Bay Area, CA, USA)
    Posts
    1,950

    Re: phpBB + French language = Pb

    Have you tried searching your ACP/phpbb3 for the option that verbsite mentioned? If there is one, it will fix everything hopefully. If not then I think you have to use phpmyAdmin to fix it.

    EDIT :: OOPS. I didn't notice verbsite also mentioned the phpmyadmin solution. So sorry ><
    Last edited by kkenny; 05-11-2008 at 11:48 PM.
    kkenny - retired.
    -Became a Moderator/Staff Member on 4/23/08
    -Became Senior Mod on 8/28/08
    -Became Account Manager on 10/18/08
    -Left Staff and X10 in 2009.


  6. #6
    chlankboot is offline x10Hosting Member chlankboot is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    6

    Solved

    thank you all guys for your help.

    problem is now completely solved and i installed all kinda wierd chars sets (french, arabic), just spent 1 hour converting everything including fields to utf8:nuts:. now it's working perfect.

    i will see if there is the option to convert everything to utf8, if i find something similar for phpbb8 i'll post it here so it might help others in the future.

  7. #7
    LHVWB's Avatar
    LHVWB is offline Lord Of The Keys LHVWB is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    1,308

    Re: phpBB + French language = Pb

    * Closed *

    If you find anything about converting database characters in phpbb3, you should be able to re-open this thread.

Closed Thread

Similar Threads

  1. Common Programming Terms --- Part I
    By Tariqul Islam in forum Tutorials
    Replies: 2
    Last Post: 01-19-2008, 12:08 AM
  2. phpBB3 Gold Released
    By CrownVictoriaCop in forum Computers & Technology
    Replies: 2
    Last Post: 12-13-2007, 04:05 PM
  3. phpBB 2.0.22 released
    By monky91 in forum Off Topic
    Replies: 5
    Last Post: 12-26-2006, 05:11 PM
  4. Google Mishap
    By Fire Wolf in forum Off Topic
    Replies: 11
    Last Post: 04-20-2006, 06:11 PM
  5. phpBB 2.0.17 released
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 07-26-2005, 07:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers