vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - ImpEx Module: Xenforo (https://vborg.vbsupport.ru/showthread.php?t=283111)

TFGoRP 05-21-2012 08:09 AM

Quote:

Originally Posted by Andreas (Post 2331181)
What is the path you did enter for attachments?

I entered the path to the /data/attachments folder, attachments worked fine though.

However when I ran attachments it looked for filenames like "blah.jpg" but xenforo stores all its attachments as 466545646546545664 and other random numbers while the actual file names are in the database under the xf_attachment_data table.

Is there anything that could be done for attachments?

TFGoRP 05-21-2012 12:02 PM

If you require any other information please do let me know!

eva2000 05-21-2012 12:22 PM

Awesome indeed Andreas :D

Andreas 05-21-2012 05:56 PM

Quote:

Originally Posted by TFGoRP (Post 2331199)
I entered the path to the /data/attachments folder, attachments worked fine though.

Thats's the wrong path, this directory only contains thumbnails.
You must enter the part to internal_data/attachments.

Quote:

However when I ran attachments it looked for filenames like "blah.jpg"
The filename is just for human readability, it does look for the real file (well, at least it should :)).

TFGoRP 05-21-2012 10:57 PM

Quote:

Originally Posted by Andreas (Post 2331332)
Thats's the wrong path, this directory only contains thumbnails.
You must enter the part to internal_data/attachments.


The filename is just for human readability, it does look for the real file (well, at least it should :)).

the path to internal_data/attachments does not work, it still tells me source file not found for every single attachment.

If you need any other info do let me know! I would very much like to be able to do the full import as soon as possible, thank you for the support and time you have put into this :)

Look forward to your next response.

Andreas 05-22-2012 04:39 AM

Seems like you are SOL with this problem then as it works just fine for me.

Sorry, but I can't help you without access to your server.

You might want to check that the path is indeed correct and that the webserver has read access to read the files:
Put
PHP Code:

echo($path); 

in line 94 of 010.php to see which files are actually being accessed.

BamaStangGuy 05-22-2012 04:49 AM

Quote:

Originally Posted by soniceffect (Post 2330404)
Nooooooo .... spent hours and hours converting mine through IPB to get it back!!!!

I'd have just stopped at IPB...

Maybe one day vBulletin will come up with a 3.6.12 to 4.2 upgrade script for vBulletin.org ;)

TFGoRP 05-22-2012 09:53 AM

Quote:

Originally Posted by Andreas (Post 2331474)
Seems like you are SOL with this problem then as it works just fine for me.

Sorry, but I can't help you without access to your server.

You might want to check that the path is indeed correct and that the webserver has read access to read the files:
Put
PHP Code:

echo($path); 

in line 94 of 010.php to see which files are actually being accessed.

I managed to get the attachments imported but on the very last step after importing attachments which worked perfectly I get this error on the last button. Process Inline attachments

ImpEx Database error

mysql error: Invalid SQL:
SELECT attachmentid
FROM attachment
WHERE importattachmentid != 0
ORDER BY attachmentid ASC
LIMIT , 10


mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10' at line 5

mysql error number: 1064

Date: Tuesday 22nd 2012f May 2012 05:52:31 AM
Database: mydatabase
MySQL error:+
Anyway to fix that?

Thanks for your support!

TFGoRP 05-22-2012 10:11 AM

Quick update: I can't even click on the Import button in the ACP, I also get the error above.

pjfry 05-22-2012 10:12 AM

Hi i get this Error after importing the forums:


Quote:

ImpEx Database error

mysql error: Invalid SQL:
UPDATE forum
SET parentid = 2218
WHERE forumid = 2088


mysql error: Table 'dev_onlinegilde.forum' doesn't exist

mysql error number: 1146

Date: Tuesday 22nd 2012f May 2012 01:09:11 PM
Database: dev_onlinegilde
MySQL error:

First i thought this is a problem with my target DB, but the connection seems to be fine. So I have no idea what is going wrong here.

Maybe someone has an idea?

Thanks for your help!

Benny


All times are GMT. The time now is 07:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete