Author Topic: problem with arabic username????  (Read 28495 times)

0 Members and 2 Guests are viewing this topic.

Offline baghdad4ever

  • Newbie
  • *
  • Posts: 28
    • View Profile
problem with arabic username????
« on: December 26, 2007, 01:07:17 PM »
hi

when i upgrade to 1.7.4

i have problem with arabic username

there is no one with arabic user name can login to album

only english name


so i returnback to 1.7

and every thing ok


so what can i do to solve this problem

mysql ver 5

php   5


thanks





Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #1 on: December 26, 2007, 05:13:04 PM »
If install this - http://www.4homepages.de/forum/index.php?topic=18256.0 - is fix for Arabic. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline baghdad4ever

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: problem with arabic username????
« Reply #2 on: December 26, 2007, 05:48:11 PM »
thanks

but the thread written in strange lang not english???

plz help

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #3 on: December 26, 2007, 06:57:51 PM »
Topic is german and english for instruction ...

see for word: search and replace in topic ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline baghdad4ever

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: problem with arabic username????
« Reply #4 on: December 26, 2007, 06:59:31 PM »
thanks i try it now

and tell you after that

see you :D

Offline matab

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: problem with arabic username????
« Reply #5 on: December 26, 2007, 08:47:20 PM »
If install this - http://www.4homepages.de/forum/index.php?topic=18256.0 - is fix for Arabic. ;)

thx thunder

the prob. now is solved in (register) , members can register with Arabic name ....



but there is one prob ...

they can not login in to album ...

Show them the error message ( the username or pas. is not correct )

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #6 on: December 26, 2007, 09:16:13 PM »
If check in USERS_TABLE, what is user name characters use ?
Note: Please post one topic of same problem. No create new one for same.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline matab

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: problem with arabic username????
« Reply #7 on: December 26, 2007, 11:14:37 PM »
ok  I check the USERS_TABLE and found name characters is  ( أ¤أںأ“أٹ ) & (  δίΣΚ )  :|

the 1th one when I changed to Arabic ( windows ) ,,, and the 2th is in UTF-8


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #8 on: December 26, 2007, 11:21:38 PM »
ok  I check the USERS_TABLE and found name characters is  ( أ¤أںأ“أٹ ) & (  δίΣΚ )  :|

the 1th one when I changed to Arabic ( windows ) ,,, and the 2th is in UTF-8

This is right - please use this patch:

- http://www.4homepages.de/forum/index.php?topic=18766.0
- http://www.4homepages.de/forum/index.php?topic=18660.0
- http://www.4homepages.de/forum/index.php?topic=18628.0

Note: Is no affect on old user use Arabic. Account is active but only affect new user.
         If no use fresh gallery and want me for code and delete all no valid characters in USERS_TABLE auto - I do for custom coding. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline matab

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: problem with arabic username????
« Reply #9 on: December 26, 2007, 11:37:51 PM »
I used it  and this what I get , error :

Parse error: syntax error, unexpected '}' in /home/XXXXXX/public_html/XXXXXX/includes/sessions.php on line 232

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #10 on: December 26, 2007, 11:44:06 PM »
I no can recreate error.

1 - Which topic ?
2 - Please post from line 230 to line 235.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline matab

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: problem with arabic username????
« Reply #11 on: December 26, 2007, 11:50:27 PM »
sorry I donn't have front page now or any porg. that give me number of line

the sessions.php is in attach, please check it


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #12 on: December 26, 2007, 11:56:52 PM »
You see two same block. You do bad replace.

Code: [Select]
}
    return false;
  }

    }
    return false;
  }

remove last 3 line (before function logout).
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline matab

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: problem with arabic username????
« Reply #13 on: December 27, 2007, 01:00:56 AM »
sorry I try many time with new member and I get the same mas . error when I want to login in  " the username or pas. is not correct " ?!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: problem with arabic username????
« Reply #14 on: December 27, 2007, 01:03:10 AM »
- PHP Version
- mySQL Version
- 4images Version ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?