Unexpected Text: <?xml version="1.0" encoding="windows-1252"?> error when

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fking
    Senior Member
    • Nov 2002
    • 152

    [Suite] Unexpected Text: <?xml version="1.0" encoding="windows-1252"?> error when

    I was upgrading my 403 to 412 today when i got
    "Unexpected Text:
    <?xml version="1.0" encoding="windows-1252"?"

    When i clicked "Ok" (the only button available) i was returned to the install window with "Status: Aborted"

    When i run it again, it stops at the same place.

    The site is in cyrillic and because of that the encoding might have been touched, but i don't really remember

    the upgrade was needed because after server upgrade of the PHP to 5.3.5 (i think, the latest one) the whole site just died.
    Arcade Games - Some free fun for the free time!
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This could be a bad file. The first thing to try is to reupload the 4.1.2 files.

    If you have the same problem after that, then this may be a server time and/or memory limit. To increase your limits edit your includes/config.php file and add these lines right under the <?php line:

    ini_set('memory_limit', -1);
    ini_set("max_execution_time", "2880");
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Fking
      Senior Member
      • Nov 2002
      • 152

      #3
      Thank you. Did both, still get the same.
      It's step 6/6 from Upgrading to 4.1.2 btw
      Arcade Games - Some free fun for the free time!

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Assuming you have uploaded all the files correctly, this is a server issue. The next step is to contact your host and ask them to check the server error logs.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • YkudzA
          New Member
          • Feb 2011
          • 19
          • 4.1.x

          #5
          Same situation.

          Yestoday vBulletin worked fine, but now I bought vbSuit and tried to install it (old DB and files were deleted before installing). All my files are in win-1251 but MySQL is on utf-8 encoding.

          Will try to fix it =/

          The installation stopped at XML process

          • Processing XML
          • Step 1 - Skipping step, not needed
          • Step 2 - Import latest admin help
          • Importing vbulletin-adminhelp.xml
          • Import Done
          • Step 3 - Import latest language
          • Importing vbulletin-language.xml
          • Import Done
          • Step 4 - Importing vbulletin-style.xml
          • Template Group: CSS Special Templates
          • Template Group: StyleVar Special Templates
          • Template Group: Ad Location
          • Template Group: Album
          • Template Group: Announcement
          • Template Group: Asset Manager
          • Template Group: BB Code Layout
          • Template Group: Block
          • Template Group: Blog

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24325
            • 5.7.X

            #6
            Did you follow the steps in post 2?
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • YkudzA
              New Member
              • Feb 2011
              • 19
              • 4.1.x

              #7
              /public_html/includes/config.php

              <?php
              ini_set('memory_limit', -1);
              ini_set("max_execution_time", "2880");
              /*======================================================================*\
              || #################################################################### ||
              || # vBulletin 4.1.2
              || # ---------------------------------------------------------------- # ||
              || # All PHP code in this file is ©2000-2011 vBulletin Solutions Inc. # ||
              || # This file may not be redistributed in whole or significant part. # ||
              || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
              || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
              || #################################################################### ||
              \*======================================================================*/

              /*-------------------------------------------------------*\
              | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
              +---------------------------------------------------------+
              | If you get any errors while attempting to connect to |
              | MySQL, you will need to email your webhost because we |
              | cannot tell you the correct values for the variables |
              | in this file. |
              \*-------------------------------------------------------*/
              and after that I have

              • Processing XML
              • Step 1 - Skipping step, not needed
              • Step 2 - Import latest admin help
              • Importing vbulletin-adminhelp.xml
              • Import Done
              • Step 3 - Import latest language
              • Importing vbulletin-language.xml
              • Import Done
              • Step 4 - Importing vbulletin-style.xml
              • Template Group: CSS Special Templates
              • Template Group: StyleVar Special Templates

              ........
              • Template Group: Ungrouped Templates 5
              • Template Group: Ungrouped Templates 6
              or
              • Step 4 - Importing vbulletin-style.xml
              • Template Group: CSS Special Templates
              • Template Group: StyleVar Special Templates
              • Template Group: Ad Location
              • Template Group: Album
              • Template Group: Announcement
              • Template Group: Asset Manager
              • Template Group: BB Code Layout
              • Template Group: Block
              • Template Group: Blog
              • Template Group: Buddy (Contact) List
              • Template Group: Calendar
              • Template Group: Editor
              • Template Group: Facebook
              • Template Group: FAQ
              • Template Group: Forum Display
              • Template Group: Forum Home
              • Template Group: Help
              • Template Group: Human Verification
              • Template Group: Instant Messaging
              • Template Group: Member Info
              • Template Group: Member's List
              • Template Group: Moderation
              • Template Group: Modify User Option
              • Template Group: Navigation / Breadcrumb
              • Template Group: New Posting
              looks like the random error. The problem is in vbulletin-style.xml file
              Last edited by YkudzA; Thu 17 Mar '11, 2:43am.

              Comment

              • Trevor Hannant
                vBulletin Support
                • Aug 2002
                • 24325
                • 5.7.X

                #8
                If you keep refreshing the page, it will carry on from where it stopped but I'd suggest you speak to your host about the memory issues
                Vote for:

                - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                Comment

                • YkudzA
                  New Member
                  • Feb 2011
                  • 19
                  • 4.1.x

                  #9
                  mtfcka! I did it ! Will write the manual soon (4hrs of sex with the files) - i need relax ^^

                  As I remember:
                  1) Open those files from upload->install:
                  • vbulletin-adminhelp.xml
                  • vbulletin-grid.xml
                  • vbulletin-language.xml
                  • vbulletin-mobile-style.xml
                  • vbulletin-mobile-style-blog.xml
                  • vbulletin-mobile-style-cms.xml
                  • vbulletin-settings.xml
                  • vbulletin-style.xml

                  2) Edit:
                  a) encoding must be UTF-8, so
                  replace
                  from
                  <?xml version="1.0" encoding="ISO-8859-1"?>
                  to
                  <?xml version="1.0" encoding="UTF-8"?>
                  b) save file with UTF-8 encoding without BOM (you can use Notepad++ or EmEditor)

                  3) Repeat 1) and 2) for .XML files there upload->includes->xml

                  4) Open vbulletin-style.xml (upload->install)
                  Replace every string
                  from
                  <![CDATA[@charset "UTF-8";
                  to
                  <![CDATA[@charset "windows-1251";
                  Last edited by YkudzA; Thu 17 Mar '11, 6:10am.

                  Comment

                  • LiQuiD_FeAR
                    New Member
                    • Feb 2011
                    • 8
                    • 4.1.x

                    #10
                    I'm going to try this Ykudz
                    Didn't end up working for me.
                    Last edited by LiQuiD_FeAR; Sun 30 Oct '11, 12:46am.

                    Comment

                    • hl8888
                      Senior Member
                      • Jan 2005
                      • 114
                      • 4.1.x

                      #11
                      i got same problem here...

                      Click image for larger version

Name:	error.jpg
Views:	1
Size:	93.7 KB
ID:	3687034
                      www.indoamulet.com

                      Comment

                      • hl8888
                        Senior Member
                        • Jan 2005
                        • 114
                        • 4.1.x

                        #12
                        now the upgrade stuck in :
                        Status: Processing Blog, Step 16 of 17 can help ????
                        www.indoamulet.com

                        Comment

                        • hl8888
                          Senior Member
                          • Jan 2005
                          • 114
                          • 4.1.x

                          #13
                          my host response already :

                          Sparkstation Support (Riyas): Ok
                          Sparkstation Support (Riyas): Lets wait for their response
                          Sparkstation Support (Riyas): As I couldn
                          Sparkstation Support (Riyas): 'find the exact cause for this
                          Sparkstation Support (Riyas): I could see that the files were placed in the exact location
                          Sparkstation Support (Riyas): and tried increasing the php memory limit
                          Sparkstation Support (Riyas): to 128MB
                          Sparkstation Support (Riyas): But its not working
                          Sparkstation Support (Riyas): Please ask them
                          Sparkstation Support (Riyas): is there any other settings to be done in the server'
                          Sparkstation Support (Riyas): and update the ticket
                          Sparkstation Support (Riyas): so that I can help you in a more better way


                          also cannot settle.

                          i post a support ticket already. please response asap. now the website error always
                          www.indoamulet.com

                          Comment

                          • hl8888
                            Senior Member
                            • Jan 2005
                            • 114
                            • 4.1.x

                            #14
                            nowdays vbulletin more complicated then last time.
                            www.indoamulet.com

                            Comment

                            • hl8888
                              Senior Member
                              • Jan 2005
                              • 114
                              • 4.1.x

                              #15
                              i talk about version 4.1.12
                              www.indoamulet.com

                              Comment

                              Related Topics

                              Collapse

                              Working...