impex import errror

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dcallan
    Member
    • Aug 2004
    • 86
    • 3.0.3

    impex import errror

    Hi guys, I keep on getting a database error from my impex install. I tried to do this query manually and its returned no results but did run from the command line.

    Anyone have any ideas?

    <!--
    Database error in vBulletin:ImpEx Target :
    Invalid SQL: SELECT title, data FROM datastore WHERE title = 'ImpExSession'
    mysql error: No database selected
    mysql error number: 1046
    Date: Saturday 08th of October 2005 09:37:43 PM
    Script: http://localhost/vb/impex/index.php
    Referer: http://localhost/vb/admincp/index.php?do=nav
    IP Address: 127.0.0.1
    -->
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This means the db info in your ImpExConfig.php file is wrong. You need to check and fix this info.

    Also make sure sourceexists is set to 'true'.
    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

    • dcallan
      Member
      • Aug 2004
      • 86
      • 3.0.3

      #3
      I'm 99.9% sure that these values are all correct.

      "# If impex is installed in vBulletin you can ignore the target details
      # as includes/config.php".

      What exactly does this mean? Installed in vBulletin, does this mean if the impex folder is in the main vb folder. If so this is the case, and thus I ignored the target section as my main installations connects with the db fine.

      Do you think it could be something to do with this? - I have vb installed on localhost but I want to access a db on the internet?

      Comment

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

        #4
        This means that you do not have permissions to access this remote database. You will need to copy the db you are trying to import onto your vB server and then edit ImpExConfig.php accordingly.
        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

        • dcallan
          Member
          • Aug 2004
          • 86
          • 3.0.3

          #5
          Hi steve, thanks for the reply,
          I have a .sql file dump of my remote server on my desktop but do not know how to use this to put it into an actual database. do I just copy and paste all the sql statement to the CL and run them?

          Comment

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

            #6
            Now you neeed to restore that backup to a new db. The only reliable method of restoring a database is with shell access via telnet or ssh. Please see the instructions here:

            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

            • drn
              New Member
              • Oct 2005
              • 10
              • 3.5.x

              #7
              I get this error when my main vBulletin dbtype is set to mysqli:

              $config['Database']['dbtype'] = 'mysqli';

              When I change this to mysql, ImpEx begins to work from within the admincp. I guess ImpEx doesn't support the mysqli - even if it is overridden in the ImExConfig.php.

              Ben

              Comment

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