ImpEx error after customer number is entered (and accepted):

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mike1969
    New Member
    • Nov 2012
    • 14
    • 4.2.X

    ImpEx error after customer number is entered (and accepted):

    Hello all,

    Attempting to run ImpEx on vbb4.x ...
    Just after my customer number is accepted, at the next screen, I am getting the following ImpEx error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/nameofmywebroot/www/forums/impex/ImpExConfig.php:1) in /home/nameofmywebroot/www/forums/impex/impex_auth.php on line 22:1)

    Successful
    Redirecting
    But there is no redirect and the ImpEx hangs there.

    Any ideas?
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    Check the ImpexConfig.php file an make sure there are no spaces at the top of the file - <?php should be the very first line
    Vote for:

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

    Comment

    • Mike1969
      New Member
      • Nov 2012
      • 14
      • 4.2.X

      #3
      No obvious extra spaces, but just to be sure, I re-extracxted the source file and very carefully edited with TextPad, preserving all formatting. Whatever was wrong with that file, it works now... (Thanks)

      So....

      I ran ImpEx and it appears to be running as it should. i imported all the Ikonboard db tables, and exported. All seemed correct, but upon checking the vBB, the only thing that imported seems to be the users (over 3000). No tables, or anything else. Its justa nice empty forum with 3000 users. Hmmm.... (not critical, as the iB forums are still running fine)... What could have possibly gone wrong to have NOT given any warnings, errors or failures through the entire ImpEx processing. (And through the Imp process all those tables, posts, threads, groups, etc etc were counted and numerated.... ImpEx found them and processed them)

      Thoughts?

      Comment

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

        #4
        Did you run the Final Import Steps:

        Vote for:

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

        Comment

        • Mike1969
          New Member
          • Nov 2012
          • 14
          • 4.2.X

          #5
          Bingo!
          Thanks so much. Seems the ImpEx could not have worked better for converting a large ikonboard 3.12a forum!

          Comment

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

            #6
            Good to hear it Mike
            Vote for:

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

            Comment

            • Mike1969
              New Member
              • Nov 2012
              • 14
              • 4.2.X

              #7
              Ok, the problems are getting smaller and smaller, and thats good.

              Something i just noticed while checking the newly imported forum content; this Import (its all test work at this point) seems to have imported some message/post text characters as html code, i.e. a "$" is posted as " & #36;", etc.
              (spaces added for clarity)

              For example: someone posted "Selling for $15" and it was imported as "Selling for & #36; 15"
              This is on every post that uses non alphabet characters (about 75% of all posts)

              Is there some setting to fix this when the data is processed through ImpEx?

              Comment

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

                #8
                Do they show like that in the Database or as the symbol?
                Vote for:

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

                Comment

                • Mike1969
                  New Member
                  • Nov 2012
                  • 14
                  • 4.2.X

                  #9
                  Seems to be in the db as well
                  ex: "you & #39;ve" is found with a quick glance at one db table content.
                  Ive found words such as "I & #39;m" and "welcome & #33;" on the forums, etc.
                  (spaces added here to break output)

                  Comment

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

                    #10
                    Try running the attached Product to fix the data in your post table

                    **MAKE SURE YOU HAVE A FULL AND COMPLETE BACKUP BEFORE RUNNING THIS**
                    Attached Files
                    Vote for:

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

                    Comment

                    • Mike1969
                      New Member
                      • Nov 2012
                      • 14
                      • 4.2.X

                      #11
                      The postfix tool worked great for the &#chars. Thank you very much. Much faster and more thorough than running my individual SQL queries.

                      Now the only thing left is I have some sort of utf-8-->Latin1 conversion artifact whereas some <space> chars are displayed as Â*

                      The Â* is in the newly imported sql db table content also (but not apparent in the old utf8 source table). And it isnt all <space> entries, just some. On top of all this, running SQL commands doesnt detect the Â* either so i cant REPLACE them. It's a charset thing i believe. What to do?

                      Comment

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

                        #12
                        Is the new database the same collation as the old one? What's the language charset in:

                        AdminCP > Languages & Phrases > Language Manager

                        Also, have you uncommented the line regarding UTF-8 in the vBulletin config.php file?
                        Vote for:

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

                        Comment

                        • Mike1969
                          New Member
                          • Nov 2012
                          • 14
                          • 4.2.X

                          #13
                          Old db is UTF-8, but ive since "set it" to Latin1, (it appears the same on the old forums, so maybe it has no effect), the new db is Latin1 and thats what the new vbb sql db is running as.

                          vbb Language settings-
                          Language: en
                          HTML Charset: ISO-8859-1

                          I have not uncommented the line regarding UTF-8 in the config file.

                          Comment

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

                            #14
                            What happens if you change both the language charset to UTF-8 and the config.php file also?
                            Vote for:

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

                            Comment

                            • Mike1969
                              New Member
                              • Nov 2012
                              • 14
                              • 4.2.X

                              #15
                              I enabled MySQLi and used the default config of utf-8
                              I changed the language charset to utf-8 and the Â* entities are now just *.
                              So thats progress. Any other ideas?

                              Now if we can get rid of the * items (i dont think they are actually asterisks) can we then update the tables and switch back to Latin1?

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...