XF 1.2 Redirection Script not working

51463

Well-known member
I imported my forum from vbulletin 3.7 Everything went well. I didn't have any problems.

But one thing i don't remember is weather or not it archived my log. I don't remember this step.

How can i see if it logged. Where do i check and when i find it do i have to put that log file in my directory?

I used this

http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/

Even tho i don't know if i archived it. I tried anyways.


I put those files in my directroy and edited the 1 file


// $fileDir = '/var/www/vhosts/mywebsite.com/public_html/mywebsite';


// define('IMPORT_LOG_TABLE', 'xf_import_log');



What about this? Do i put this to true or false

define('INCLUDE_PAGE_LINKS', false);
 
The import_log table name is usually one of these two. Try both:

xf_import_log
archived_import_log

Or view your db tables using phpmyadmin to look for the table.

You don't need to specify $fileDir if XF is in the same directory where vB was.

INCLUDE_PAGE_LINKS refers to page links in thread URLs. Only enable this if XF is set to show the same number of posts per page as vB:

Admin CP -> Home -> Options -> Messages
 
I figured out the problem.

I had to remove these 2 little stupid slashes // at the start and left of $fileDir


// $fileDir = '/var/www/vhosts/mywebsite.com/public_html/mywebsite';


And for me it was archived_import_log not xf_import_log



define('IMPORT_LOG_TABLE', 'archived_import_log');



So for future reference mine worked with


# $fileDir = 'C:/inetpub/wwwroot/xenforo';
#
\* ----------------------------------------------------------- */

$fileDir = '/var/www/vhosts/mywebsite.com/public_html/mywebsite';

/* ----------------------------------------------------------- *\
This constant defines the table from which the import redirection
scripts will fetch their data. Normally they will use the table
'xf_import_log', but if you have archived your import data, you
should provide the name of the archive table here. Remove the
leading // and then replace 'import_log_x' with the name of your
archive table, as in the following examples:
#
# define('IMPORT_LOG_TABLE', 'my_import_log');
#
# define('IMPORT_LOG_TABLE', 'import_log_my_forums');
#
\* ----------------------------------------------------------- */

define('IMPORT_LOG_TABLE', 'archived_import_log');

/* ----------------------------------------------------------- *\
This constant controls whether or not to include page number links
in your redirects. In order for this to work, the number of posts
shown per page in vBulletin MUST match the number of posts shown per
page in XenForo, and the number of threads shown per page on
 
Back
Top Bottom