Impex error pleas look.!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webasker
    Member
    • Dec 2011
    • 82

    Impex error pleas look.!

    I HAVE THIS ERROR..!


    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/webasker.net/httpdocs/impex/ImpExConfig.php:1) in /var/www/vhosts/webasker.net/httpdocs/impex/impex_auth.php on line 22






    Successful
    Redirecting


    whtat i need to do.!
  • webasker
    Member
    • Dec 2011
    • 82

    #2
    Wy no body help?

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 73981

      #3
      You have white space or hidden characters in your ImpexConfig.php before the <?php.

      You'll need to remove these characters.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Use a plain text editor such as notepad++ or textedit when editing the file. Start over with an untouched file and try again using one of those editors.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • webasker
          Member
          • Dec 2011
          • 82

          #5
          i have doit but is not working.

          my impex code is here. i have remove database information. and licens number.


          <?php
          if (!defined('IDIR')) { die; }


          #################################################################### |;
          # vBulletin - Licence Number
          # ---------------------------------------------------------------- # |;
          # Copyright �2000�2012 vBulletin Solutions Inc. All Rights Reserved. |;
          # 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 # |;
          #################################################################### |;
          # The following settings allow ImpEx to connect to the vBulletin 3
          # database into which you will be importing data.


          ####
          #
          # TARGET - The target is the vBulletin database (where the data is going to)
          #
          ####


          $impexconfig['target']['server'] = 'localhost';
          $impexconfig['target']['user'] = 'username';
          $impexconfig['target']['password'] = 'password';
          $impexconfig['target']['database'] = 'vbulletin_forum';
          $impexconfig['target']['tableprefix'] = '';


          # If the system that is being imported from uses a database,
          # enter the details for it here and set 'sourceexists' to true.
          # If the source data is NOT stored in a database, set 'sourceexists' to false


          $impexconfig['sourceexists'] = true;


          ####
          #
          # SOURCE - The source is the old forum database (where the data is coming from)
          #
          ####


          # mysql / mssql
          $impexconfig['source']['databasetype'] = 'mysql'; // mysql OR mssql
          $impexconfig['source']['server'] = 'localhost';
          $impexconfig['source']['user'] = 'username';
          $impexconfig['source']['password'] = 'password';
          $impexconfig['source']['database'] = 'source';
          $impexconfig['source']['tableprefix'] = '';


          ####
          #
          # DUPLICATE CHECKING
          # Where unique import id's are available ImpEx can check for duplicates with some
          # Tier2 systems this will need to be set to false.
          #
          # yahoo_groups, YaBB 2.1, Ikonboard 3.1.5 (for attachments)
          #
          ####


          define('dupe_checking', false);


          ###############################################################################
          ####
          #
          # ADVANCED - For a standard import or a novice user leave the settings below.
          #
          ####


          // Advanced Target
          $impexconfig['target']['databasetype'] = 'mysql'; // currently mysql only
          $impexconfig['target']['charset'] = '';
          $impexconfig['target']['persistent'] = false; // (true/false) use mysql_pconnect


          // Advanced Source
          $impexconfig['source']['charset'] = '';
          $impexconfig['source']['persistent'] = false;


          # pagespeed is the second(s) wait before the page refreshes.


          $impexconfig['system']['language'] = '/impex_language.php';
          $impexconfig['system']['pagespeed'] = 1;


          $impexconfig['system']['errorlogging'] = false;


          define('impexdebug', false);
          define('emailcasesensitive', false);
          define('forcesqlmode', false);
          define('skipparentids', false);
          define('shortoutput', false);
          define('do_mysql_fetch_assoc', false);
          define('step_through', false);
          define('lowercase_table_names', false);
          define('use_utf8_encode', false);
          define('use_utf8_decode', true);
          ?>

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73981

            #6
            What editor are you using to edit the file?
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • webasker
              Member
              • Dec 2011
              • 82

              #7
              i have use netbeans, notepad++ text editor ;/

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 73981

                #8
                In notepad++, you need to go to the Encoding Menu and set it to ANSI or UTF-8 Without BOM. Save the file. Do not use any other settings.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

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

                  #9
                  I've responded to your ticket.
                  Vote for:

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

                  Comment

                  • webasker
                    Member
                    • Dec 2011
                    • 82

                    #10
                    i have do exaxly what you say is dont work.. ;/

                    Comment

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