Impex - help.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Praxis
    New Member
    • Feb 2006
    • 8
    • 3.5.x

    Impex - help.php

    I installed my forums on a local network for testing and a database conversion. Everything goes ok until I try and click on Database cleanup & restart. When I click on it I get nothing but code. I have done this successfully on my own personal forums running on a linux shared box.

    Win2k3 sp1
    4GB Ram
    Quad Xeon system
    MySQL 5.0.19
    PHP 5.1.2
    VB 3.5.4

    Whoops forgot this part
    Source - UBB Threads - 6.5.2
    Target - vBulletin 3.5.4
    Import -> Import -> Database cleanup & restart

    I tried cleaning up the code and removing any extra spaces in it and it's unzipped and copied on the local machine. It has all the same permissions as everything else in my vb install.

    Thanks for the help
    Last edited by Praxis; Thu 13 Apr '06, 4:50pm.
  • Jerry
    Senior Member
    • Dec 2002
    • 9137
    • 1.1.x

    #2
    99% of the time, its that the file was corrupt on upload or the <? php ?> tags were dropped.

    What version of ImpEx ?
    I wrote ImpEx.

    Blog | Me

    Comment

    • Praxis
      New Member
      • Feb 2006
      • 8
      • 3.5.x

      #3
      Not on that machine but I downloaded it again yesterday and I checked the tags. I figured it was one of those things but I tried it several times. Anything else might be causing it? Possibly a permissions issue I might need to set?

      v1.43

      Thanks
      Last edited by Praxis; Fri 14 Apr '06, 8:31am.

      Comment

      • Jerry
        Senior Member
        • Dec 2002
        • 9137
        • 1.1.x

        #4
        1.46 is the latest, though help.php hasn't changed between 1.43 and now.

        I rebuilt ImpEx and downloaded to test, the file should have the same permissions as all the other ImpEx files.
        I wrote ImpEx.

        Blog | Me

        Comment

        • Praxis
          New Member
          • Feb 2006
          • 8
          • 3.5.x

          #5
          Hmm ok I just downloaded it off the members site for my brand new purchase. Is there another location to grab it?

          Comment

          • Praxis
            New Member
            • Feb 2006
            • 8
            • 3.5.x

            #6
            I am just curious because I convereted a database and I cannot see profiles for all users and I am wondering if not being able to do that step messed something up.

            Comment

            • Praxis
              New Member
              • Feb 2006
              • 8
              • 3.5.x

              #7
              Bump. If the members area only has the older version of impex where am I supposed to get the updated one?

              Comment

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

                #8
                It doesn't. The members areas always has the latest version of Impex. I have verified this personally.
                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

                • Praxis
                  New Member
                  • Feb 2006
                  • 8
                  • 3.5.x

                  #9
                  Originally posted by Steve Machol
                  It doesn't. The members areas always has the latest version of Impex. I have verified this personally.
                  Just downloaded it today and now it's 1.46. Last week it was 1.43 and I have two different copies that show it. Even with the newest version of impex it still just posts the code. Is there anything else you can think of that would cause this?

                  The import went fine except for users profiles some show and some don't. I have no idea if it's from this problem or just the way it's convereted.

                  thanks

                  Comment

                  • Praxis
                    New Member
                    • Feb 2006
                    • 8
                    • 3.5.x

                    #10
                    Upgraded and I still get:
                    Impex Help page

                    ' . $impex_phrases['using_impex_config'] . ''; $targetdatabasetype = $impexconfig['target']['databasetype']; $targetserver = $impexconfig['target']['server']; $targetuser = $impexconfig['target']['user']; $targetpassword = $impexconfig['target']['password']; $targetdatabase = $impexconfig['target']['database']; $targettableprefix = $impexconfig['target']['tableprefix']; $impex_config = true; } else if (file_exists(IDIR . 'includes/config.php') AND !$impex_config) { include (IDIR . 'includes/config.php'); $using_local_config = ' ' . $impex_phrases['using_local_config'] . '
                    '; $targetdatabasetype = $config['Database']['dbtype'] ? $config['Database']['dbtype'] : 'mysql'; $targetserver = $config['MasterServer']['servername']; $targetuser = $config['MasterServer']['username']; $targetpassword = $config['MasterServer']['password']; $targetdatabase = $config['Database']['dbname']; $targettableprefix = $config['Database']['tableprefix']; } else { die($impex_phrases['cant_read_config']); } } else { // No config die("Can't find ImpExConfig.php"); } $Db_target = new DB_Sql_vb_impex(); $Db_target->appname = 'vBulletin:ImpEx Target'; $Db_target->appshortname = 'vBulletin:ImpEx Target'; $Db_target->database = $targetdatabase; $Db_target->type = $targetdatabasetype; $Db_target->connect($targetserver, $targetuser, $targetpassword, 0); $Db_target->select_db($targetdatabase); if(empty($_GET['action'])) { echo $impex_phrases['action_1']; if ($using_local_config) { echo ' ' . $impex_phrases['using_local_config'] . '
                    '; } echo $impex_phrases['action_2']; echo $impex_phrases['action_3']; echo $impex_phrases['action_4']; echo $impex_phrases['action_5']; echo $impex_phrases['action_6']; } if($_GET['action'] == 'delsess') { echo $impex_phrases['dell_session_1']; echo $impex_phrases['dell_session_2']; echo $impex_phrases['dell_session_3']; echo $impex_phrases['dell_session_4']; $Db_target->query("DELETE FROM {$targettableprefix}datastore WHERE title='ImpExSession';"); echo $impex_phrases['dell_session_5']; echo $impex_phrases['dell_session_6']; } if($_GET['action'] == 'delall') { echo $impex_phrases['deleting_session']; $Db_target->query("DELETE FROM {$targettableprefix}datastore WHERE title='ImpExSession';"); echo $impex_phrases['session_deleted']; $fields = array ( '0' => array('moderator' => 'importmoderatorid'), '1' => array('usergroup' => 'importusergroupid'), '2' => array('ranks' => 'importrankid'), '3' => array('poll' => 'importpollid'), '4' => array('forum' => 'importforumid'), '5' => array('forum' => 'importcategoryid'), '6' => array('user' => 'importuserid'), '7' => array('style' => 'importstyleid'), '8' => array('thread' => 'importthreadid'), '9' => array('post' => 'importthreadid'), '10' => array('thread' => 'importforumid'), '11' => array('smilie' => 'importsmilieid'), '12' => array('pmtext' => 'importpmid'), '13' => array('avatar' => 'importavatarid'), '14' => array('customavatar' => 'importcustomavatarid'), '15' => array('customprofilepic' => 'importcustomprofilepicid'), '16' => array('post' => 'importpostid'), '17' => array('attachment' => 'importattachmentid') ); foreach($fields as $array) { foreach($array as $tablename => $colname) { $is_it_there = $Db_target->query_first("DESCRIBE {$targettableprefix}{$tablename} {$colname}"); if($is_it_there) { echo $impex_phrases['deleting_from'] . " {$targettableprefix}{$tablename} ...."; flush(); $Db_target->query("DELETE FROM {$targettableprefix}{$tablename} WHERE {$colname} <> 0"); echo "...{$impex_phrases['completed']}

                    Comment

                    • Jerry
                      Senior Member
                      • Dec 2002
                      • 9137
                      • 1.1.x

                      #11
                      All I can suggest is starting a support ticket and asking for me and I'll debug it.
                      I wrote ImpEx.

                      Blog | Me

                      Comment

                      • Praxis
                        New Member
                        • Feb 2006
                        • 8
                        • 3.5.x

                        #12
                        Sent that ticket in. Thanks for all the help!

                        Comment

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