• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Importing from phpbb3

Bionic Rooster

Well-known member
#1
I keep getting this error no matter what I try so perhaps some here who has converted phpbb to xf can help
All settings appear to be ok in the configure importer but I get this error
  • The attachments directory could not be found.
  • The avatars directory could not be found.
yet the settings are

Custom Avatar Path: images/avatars/upload
Attachment Path: files
Any ideas as to why these aren't being found?
Thanks,
 

Brogan

XenForo moderator
Staff member
#2
The path is relative.

Try using ../phpBB3/images/avatars/upload replacing phpBB3 with your actual folder name.
 

Adam Howard

Well-known member
#4
That didn't work either. I even tried using the full url with no joy.
On a few hosting providers, I have seen where you maybe required to put the full server path to the source

example:
/home/user/public_html/forum/attachment

^ Of course you want to change that to fit your needs.

Assuming you're on shared hosting..... Now the quickest way to find that path is to upload a php info file and that will show you where you are located on the server.

PHP:
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>
Name it something like check.php for example. This will tell you where you are on the server (look for where check.php is located in the display screen). And you want to adjust that path example to match where your attachments are.