Impex SMF > VB 3.5 issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • punk23
    Member
    • Oct 2005
    • 65

    Impex SMF > VB 3.5 issue

    Hi

    I am trying to import from an SMF db to VB3.5. I have installed everything as per instructions but when I started step 2 I received this error: db_mysql.php on line 247. I then re-checked my config file and re-uploaded it. I clicked on the re-start links but all of them come up with this error:

    There seems to have been a slight problem with the database.
    Please try again by pressing the refresh button in your browser.
    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
    We apologise for any inconvenience.

    Please could you advise me as to what to do next to at least try and re-start the import process.

    Thanks
  • punk23
    Member
    • Oct 2005
    • 65

    #2
    UPDATE for debug purposes:

    When I click on "Delete Session" - I get this error in the source:
    Code:
    <!--
    Database error in vBulletin:ImpEx Target :
    Invalid SQL: DELETE FROM datastore WHERE title='ImpExSession';
    mysql error: Table 'pchelp4_vb.datastore' doesn't exist
    mysql error number: 1146
    All of the links when trying to re-start the Impex session produce this error.

    Comment

    • punk23
      Member
      • Oct 2005
      • 65

      #3
      Here are the datails of my config.php. I have edited out sensitive info with [hidden]

      Code:
       
      <?php
      /*======================================================================*\
      || #################################################################### ||
      || # vBulletin 3.5.0 - Licence Number [hidden]
      || # ---------------------------------------------------------------- # ||
      || # All PHP code in this file is ©2000-2005 Jelsoft Enterprises Ltd. # ||
      || # This file may not be redistributed in whole or significant part. # ||
      || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
      || # [URL="http://www.vbulletin.com"]http://www.vbulletin.com[/URL] | [URL="http://www.vbulletin.com/license.html"]http://www.vbulletin.com/license.html[/URL] # ||
      || #################################################################### ||
      \*======================================================================*/
      /*-------------------------------------------------------*\
      | ****** 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.                                           |
      \*-------------------------------------------------------*/
       // ****** DATABASE TYPE ******
       // This is the type of the database server on which your vBulletin database will be located.
       // Valid options are mysql and mysqli.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
      $config['Database']['dbtype'] = 'mysql';
       // ****** DATABASE NAME ******
       // This is the name of the database where your vBulletin will be located.
       // This must be created by your webhost.
      $config['Database']['dbname'] = '[hidden]_vb';
       // ****** TABLE PREFIX ******
       // Prefix that your vBulletin tables have in the database.
      $config['Database']['tableprefix'] = 'vb';
       // ****** TECHNICAL EMAIL ADDRESS ******
       // If any database errors occur, they will be emailed to the address specified here.
       // Leave this blank to not send any emails when there is a database error.
      $config['Database']['technicalemail'] = '[hidden]';
       
       // ****** MASTER DATABASE SERVER NAME AND PORT ******
       // This is the hostname or IP address and port of the database server.
       // If you are unsure of what to put here, leave the default values.
      $config['MasterServer']['servername'] = 'localhost';
      $config['MasterServer']['port'] = 3306;
       // ****** MASTER DATABASE USERNAME & PASSWORD ******
       // This is the username and password you use to access MySQL.
       // These must be obtained through your webhost.
      $config['MasterServer']['username'] = '[hidden]_pchelp4m';
      $config['MasterServer']['password'] = '[hidden]';
       // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
       // This option allows you to turn persistent connections to MySQL on or off.
       // The difference in performance is negligible for all but the largest boards.
       // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
      $config['MasterServer']['usepconnect'] = 0;
       
       // ****** SLAVE DATABASE CONFIGURATION ******
       // If you have multiple database backends, this is the information for your slave
       // server. If you are not 100% sure you need to fill in this information,
       // do not change any of the values here.
      $config['SlaveServer']['servername'] = '';
      $config['SlaveServer']['port'] = 3306;
      $config['SlaveServer']['username'] = '';
      $config['SlaveServer']['password'] = '';
      $config['SlaveServer']['usepconnect'] = 0;
       
       // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
       // This setting allows you to change the name of the folders that the admin and
       // moderator control panels reside in. You may wish to do this for security purposes.
       // Please note that if you change the name of the directory here, you will still need
       // to manually change the name of the directory on the server.
      $config['Misc']['admincpdir'] = 'admincp';
      $config['Misc']['modcpdir'] = 'modcp';
       // Prefix that all vBulletin cookies will have
       // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
      $config['Misc']['cookieprefix'] = 'bb';
       // ******** FULL PATH TO FORUMS DIRECTORY ******
       // On a few systems it may be necessary to input the full path to your forums directory
       // for vBulletin to function normally. You can ignore this setting unless vBulletin
       // tells you to fill this in. Do not include a trailing slash!
       // Example Unix:
       //   $config['Misc']['forumpath'] = '/home/users/public_html/forums';
       // Example Win32:
       //   $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
      $config['Misc']['forumpath'] = '/home/users/public_html/vforum';
       
       // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
       // The users specified here will be allowed to view the admin log in the control panel.
       // Users must be specified by *ID number* here. To obtain a user's ID number,
       // view their profile via the control panel. If this is a new installation, leave
       // the first user created will have a user ID of 1. Seperate each userid with a comma.
      $config['SpecialUsers']['canviewadminlog'] = '1';
       // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
       // The users specified here will be allowed to remove ("prune") entries from the admin
       // log. See the above entry for more information on the format.
      $config['SpecialUsers']['canpruneadminlog'] = '1';
       // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
       // The users specified here will be allowed to run queries from the control panel.
       // See the above entries for more information on the format.
       // Please note that the ability to run queries is quite powerful. You may wish
       // to remove all user IDs from this list for security reasons.
      $config['SpecialUsers']['canrunqueries'] = '';
       // ****** UNDELETABLE / UNALTERABLE USERS ******
       // The users specified here will not be deletable or alterable from the control panel by any users.
       // To specify more than one user, separate userids with commas.
      $config['SpecialUsers']['undeletableusers'] = '';
       // ****** SUPER ADMINISTRATORS ******
       // The users specified below will have permission to access the administrator permissions
       // page, which controls the permissions of other administrators
      $config['SpecialUsers']['superadministrators'] = '1';
      // ****** The following options are only needed in special cases ******
       // ****** MySQLI OPTIONS *****
       // PHP can be instructed to set connection paramaters by reading from the
       // file named in 'ini_file'. Please use a full path to the file.
       // Used to set the connection's default character set
       // Example:
       // $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
      $config['Mysqli']['ini_file'] = '';
       // Optionally with Mysql 4.1.13+ or 5.1.10+ and PHP 5.1.0+ we can set the connection's charset
       // after completing the database connection.
       // $config['Mysqli']['charset'] = 'utf8';
      /*======================================================================*\
      || ####################################################################
      || # Downloaded: 18:54, Fri Sep 30th 2005
      || # CVS: $RCSfile: config.php.new,v $ - $Revision: 1.29 $
      || ####################################################################
      \*======================================================================*/
      ?>

      Comment

      • punk23
        Member
        • Oct 2005
        • 65

        #4
        ...and the impex config file - edited out with **** & [hidden]

        Code:
         
        <?php
        #################################################################### |;
        # vBulletin  - Licence Number [hidden]
        # ---------------------------------------------------------------- # |;
        # Copyright &#169;2000–2005 Jelsoft Enterprises Ltd. All Rights Reserved. |;
        # This file may not be redistributed in whole or significant part. # |;
        # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # |;
        # [URL="http://www.vbulletin.com"]http://www.vbulletin.com[/URL] | [URL="http://www.vbulletin.com/license.html"]http://www.vbulletin.com/license.html[/URL] # |;
        #################################################################### |;
        # The following settings allow ImpEx to connect to the vBulletin 3
        # database into which you will be importing data.
        # If impex is installed in vBulletin you can ignore the target details
        # as includes/config.php
        $impexconfig['target']['databasetype'] = 'mysql';
        $impexconfig['target']['server']  = 'localhost';
        $impexconfig['target']['user']   = 'pc****4_pc****m';
        $impexconfig['target']['password']  = '[hidden]';
        $impexconfig['target']['database']  = '[hidden]_vb';
        $impexconfig['target']['tableprefix'] = 'vb';
         
        # 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']   = false;
        # mysql / mssql
        $impexconfig['source']['databasetype'] = 'mysql';
        $impexconfig['source']['server']  = 'localhost';
        $impexconfig['source']['user']   = 'pc****4_pc****m';
        $impexconfig['source']['password']  = '[hidden]';
        $impexconfig['source']['database']  = 'pc****4_m****1';
        $impexconfig['source']['tableprefix']   = 'smf';
         
        # Error logging will log import errors to a database table impexerror
        # for use with support. 
        # Language file is the file of phrases to be used, default is english.
        # pagespeed is the second(s) wait before the page refreshes.
        $impexconfig['system']['errorlogging'] = true;
        $impexconfig['system']['language']  = 'impex/impex_language.php';
        $impexconfig['system']['pagespeed']  = 1;
        ?>

        Comment

        • punk23
          Member
          • Oct 2005
          • 65

          #5
          - Update -

          I have re-installed VB and my db now has a prefix of vb_

          I have checked the tableprefix is correct. Here is my impexconfic file

          Code:
           
          $impexconfig['target']['databasetype'] = 'mysql';
          $impexconfig['target']['server']  = 'localhost';
          $impexconfig['target']['user']   = 'pc***_pc***m';
          $impexconfig['target']['password']  = '****';
          $impexconfig['target']['database']  = 'pc***_vb';
          $impexconfig['target']['tableprefix'] = 'vb_';
           
          # 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;
          # mysql / mssql
          $impexconfig['source']['databasetype'] = 'mysql';
          $impexconfig['source']['server']  = 'localhost';
          $impexconfig['source']['user']   = 'pc****4_pc****4m';
          $impexconfig['source']['password']  = '****';
          $impexconfig['source']['database']  = 'pc****4_mamb1';
          $impexconfig['source']['tableprefix']   = 'smf_';
          I am still getting the 1146 error - please help! (I have spent 4 hours trwling the forum and I found nothing more than "check the prefix" as an answer.

          Database error in vBulletin:ImpEx Target :
          Invalid SQL: DELETE FROM datastore WHERE title='ImpExSession';
          mysql error: Table 'pc***4_vb.datastore' doesn't exist
          mysql error number: 1146
          Last edited by punk23; Sat 1 Oct '05, 2:34pm.

          Comment

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

            #6
            You are using ImpEx that was released after 3.5 correct? If you downloaded it before the 3.5 Gold release it will not work.
            Translations provided by Google.

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

            Comment

            • punk23
              Member
              • Oct 2005
              • 65

              #7
              Yup, I have just purchased VB and am using the latest ImPex release.

              At the moment I can't progess with my site design

              I also opened a trouble ticket for this 11 hours ago.

              Comment

              • punk23
                Member
                • Oct 2005
                • 65

                #8
                Ok, a mild mannered individual as I am is getting somewhat ermm...upset at the COMPLETE lack of any response from the VB support team. If I ran my company like that I would be out of business in a very short amount of time!

                I think I am entitled to this rant as I have a product that I have paid good money for, literally sitting on the shelf at the moment. I asked for support a day and a half ago, not only posting here but also sending a support ticket and spending hours of my own time to find a solution. If it is something simple then tell me. PHP/SQL coding isn't my business and I believe I have checked everthing I can.

                Comment

                • dieselpowered
                  Senior Member
                  • Aug 2004
                  • 859
                  • 4.2.X

                  #9
                  Originally posted by punk23
                  Ok, a mild mannered individual as I am is getting somewhat ermm...upset at the COMPLETE lack of any response from the VB support team. If I ran my company like that I would be out of business in a very short amount of time!

                  I think I am entitled to this rant as I have a product that I have paid good money for, literally sitting on the shelf at the moment. I asked for support a day and a half ago, not only posting here but also sending a support ticket and spending hours of my own time to find a solution. If it is something simple then tell me. PHP/SQL coding isn't my business and I believe I have checked everthing I can.
                  I have pretty much this same issue. I have sent in a support ticket and it appears that there is a problem with the ImpEx script. I am sure someone will be in touch with you as well...either way, I will post any additional information that I obtain
                  CommanderTalk.com --> www.commandertalk.com

                  Comment

                  • punk23
                    Member
                    • Oct 2005
                    • 65

                    #10
                    Thanks for that - we shall wait and see my friend

                    Comment

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

                      #11
                      All support tickets are caught up right now. The problem was that I finally had to go to bed at about 12:30am list night because I could barely keep my eyes open. I have not yet been able to train myself to work 24 hours a day, 7 days a week. I realize this is a personal failing on my part and I m honestly trying to do better.

                      By the way, we are getting massive numbers of supprot tickets since the release of 3.5.0 final. The response times are not going to always be withing the 1-2 hours we used to average. Some are just going to take longer to get to.
                      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

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

                        #12
                        Also because the Impex system for 3.5.0 is brand new, there are a number of issues that can only be resolved by Jerry. Like me, he is a slacker that has not yet mastered the ability to work 24.7. We are both trying to reach this goal.
                        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

                        • punk23
                          Member
                          • Oct 2005
                          • 65

                          #13
                          Hey Steve, I have heard that cloning technology now extends to Software support staff...you should look into that

                          So I take it that you are saying "Hang on, we know you want support, we'll be with you soon"?

                          I will await your expert advice.

                          Comment

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

                            #14
                            Originally posted by punk23
                            Hey Steve, I have heard that cloning technology now extends to Software support staff...you should look into that
                            Rumor has it that this will be included in vB 6.0. You didn't hear it from me though.
                            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

                            • punk23
                              Member
                              • Oct 2005
                              • 65

                              #15
                              Woohoo...roll on 6.0

                              ...now, where is that slacker Jerry.....

                              Comment

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