Announcement

Collapse
No announcement yet.

My site character encoding problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • My site character encoding problem


    I have a forum vb 3.8.11 and it worked perfectly on the release php 5.6.4
    But when the hosting company's servers were migrated to the version php 7.3 The site has suffered an encoding damage and is strange.
    I contacted the host but they couldn't fix the problem .
    I uploaded a copy from another database and it also worked with the same problem.
    I created a new database and installed a new forum from scratch without any topics or members and also worked with the same problem .
    I tried adding Arabic language files that support utf8 the problem was not solved .

    I hope you will help me because the site is down


    Click image for larger version  Name:	XC.png Views:	0 Size:	1.15 MB ID:	4450742

    Click image for larger version  Name:	AD.png Views:	0 Size:	160.9 KB ID:	4450743




    Click image for larger version  Name:	AX.png Views:	0 Size:	364.4 KB ID:	4450744







    This image is for a new installer forum copy on a new database and the same strange language
    Click image for larger version  Name:	DD.png Views:	0 Size:	296.2 KB ID:	4450745


    Last edited by Muhammed al aslami; Mon 30 Nov '20, 8:44am.

  • #2
    vBulletin 3.8.11 is end of life and as such is not compatible with php 7.4.

    The highest version of php you can use it with is php 7.1.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment


    • #3
      Originally posted by Mark.B
      vBulletin 3.8.11 is end of life and as such is not compatible with php 7.4.

      The highest version of php you can use it with is php 7.1.
      The host returned my site to php 7.1 after switching their systems.
      As in the picture, but the character encoding issue was not resolved
      Click image for larger version

Name:	DDD.png
Views:	306
Size:	90.6 KB
ID:	4450758

      Comment


      • #4
        Maybe your language pack is WINDOWS-1256, not UTF-8.
        As your server is encoded utf8, then it should be ok to have your language to be in utf8 and the (HTML Character Set) in (Languages & Phrases) in Admincp can be UTF-8.

        Probably you should check and get a language pack encoded utf-8, or set HTML Character Set to WINDOWS-1256.

        Comment


        • #5
          Originally posted by wayand
          Maybe your language pack is WINDOWS-1256, not UTF-8.
          As your server is encoded utf8, then it should be ok to have your language to be in utf8 and the (HTML Character Set) in (Languages & Phrases) in Admincp can be UTF-8.

          Probably you should check and get a language pack encoded utf-8, or set HTML Character Set to WINDOWS-1256.
          I have tried both files and the coding issue was not resolved.

          Comment


          • #6
            I have booked a new hosting for a month to try the site with a host running a server with the latest version php 7.4
            The site now works perfectly without database character encoding .
            Click image for larger version

Name:	ADD.png
Views:	369
Size:	1.31 MB
ID:	4450914

            Click image for larger version

Name:	ASD.png
Views:	267
Size:	1.08 MB
ID:	4450915


            Click image for larger version

Name:	AW.png
Views:	294
Size:	390.8 KB
ID:	4450916



            But the letter coding problem was not solved with the main hosting site for the site, even with the use of the same version php 7.4 and the site does not work properly.

            Comment


            • #7
              Then you should look for the difference between hosts:
              . login to phpMyAdmin on both sites and compare values:

              phpMyAdmin values

              If the values are identical, then you may ask your try-host whether have made any changes to your config file (database connection encoding).

              Generally, it is something in try-host that is missing in your main host: php, MySQL, server encoding (and main host Server type: Percona Server, what about try-host?)

              You can also ask your try-host whether they have converted your tables from MYIAM (your phpMyAdmin shows table types of MYISAM with your main host) into INNODB.

              Comment


              • #8
                I have the same problem with my website:

                Is there a solution to the problem of the Arabic language in version 3.8.11 and php version 7.1
                The strange symbols appear instead of the Arabic language

                Comment

                Related Topics

                Collapse

                Working...
                X
                😀
                🥰
                🤢
                😎
                😡
                👍
                👎