Attachments from phpBB2 2.0.19

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • owen1832
    New Member
    • Mar 2006
    • 10

    Attachments from phpBB2 2.0.19

    I have gotten everything to import nicely from my old forum to the new one except the attachments on the old forum.. I dod some searching here and haven't found the right answer so I thought I would ask. The importer seems to see the files and lists the filenames...

    Source file not found :: "filename"

    It seesm to see the filenames but then fails on the import.

    Any clues?
    www.k9forums.com
  • Jerry
    Senior Member
    • Dec 2002
    • 9137
    • 1.1.x

    #2
    Then the path you are entering to your phpBB2 attachments folder is incorrect. Double check the correct path.
    I wrote ImpEx.

    Blog | Me

    Comment

    • owen1832
      New Member
      • Mar 2006
      • 10

      #3
      then where is it pulling the file names from?

      I have done it two ways:

      /public_html/phpBB2/files

      and

      /home/owen/public_html/phpBB2/files

      When I switched from DB to file based saving on VB I had to use /home/owen/public_html/forums/files and it worked.

      when I use the same convention in the importer I get:
      Failed :: attachment not imported
      www.k9forums.com

      Comment

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

        #4
        It gets the file names from the phpBB database, with your examples :

        /home/owen/public_html/phpBB2/files

        Looks the more complete, ImpEx queries vBulletin as to where to store the attachments so that isn't an issue, its getting the correct phpBB path.
        I wrote ImpEx.

        Blog | Me

        Comment

        • owen1832
          New Member
          • Mar 2006
          • 10

          #5
          Originally posted by Jerry
          It gets the file names from the phpBB database, with your examples :

          /home/owen/public_html/phpBB2/files

          Looks the more complete, ImpEx queries vBulletin as to where to store the attachments so that isn't an issue, its getting the correct phpBB path.
          Failed :: attachment not imported

          I think I am going to start over again from scratch with the import and see if anything changes.

          Any other ideas?

          As a side note the attachments were done with an attachment mod this is not a standard feature in phpBB2 although it seems to be the gold standard for attachments. Would this have any effect on this?
          www.k9forums.com

          Comment

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

            #6
            Yea, the mod is the standard that 99% of the boards use so that's the one I wrote the importer to deal with.

            If you can ssh onto the server find the folder with the attachments and run the command pwd, assuming its a *nix box to get the path.
            I wrote ImpEx.

            Blog | Me

            Comment

            • exOptimum
              New Member
              • Jan 2003
              • 6

              #7
              Yea, I have the exact same problem actually. I know I'm supplying the correct upload directory. I am running the same version of phpBB and same attachment mod as he is too...

              Comment

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

                #8
                The attachments have to be on the same server, the path has to be absolute and PHP needs read access to the folder they are in.
                I wrote ImpEx.

                Blog | Me

                Comment

                • GasPipeJimmy
                  New Member
                  • Jun 2006
                  • 14
                  • 3.5.x

                  #9
                  Same Thing Here

                  I'm using the import attachment tool (ImpEx build version : 1.49
                  ) too and every version of the path I put in causes it to report back as "Failed" after about 4 or 5 seconds.

                  I'm migrating from from PHPbb 2.0.20 with Acyd Burn's attachment mod version (Attachment Mod Version 2.4.0).

                  That is the only "Mod" to my old forum.
                  I have tried every version of the path there is and it always fails.

                  Comment

                  • exOptimum
                    New Member
                    • Jan 2003
                    • 6

                    #10
                    got mine fixed. turns out i was using the wrong path.

                    i was using /home/users/public_html/files/
                    but i fixed it using /home/MYACCOUNTUSERNAME/public_html/files/

                    Comment

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

                      #11
                      Originally posted by GasPipeJimmy
                      I'm using the import attachment tool (ImpEx build version : 1.49
                      ) too and every version of the path I put in causes it to report back as "Failed" after about 4 or 5 seconds.

                      I'm migrating from from PHPbb 2.0.20 with Acyd Burn's attachment mod version (Attachment Mod Version 2.4.0).

                      That is the only "Mod" to my old forum.
                      I have tried every version of the path there is and it always fails.
                      Can you ssh onto the machine and run "pwd" to see the full path ?
                      I wrote ImpEx.

                      Blog | Me

                      Comment

                      • GasPipeJimmy
                        New Member
                        • Jun 2006
                        • 14
                        • 3.5.x

                        #12
                        Originally posted by Jerry
                        Can you ssh onto the machine and run "pwd" to see the full path ?
                        I have never run an SSH client in my life.
                        I can FTP to my site and that is where I'm getting the path information from.

                        Comment

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

                          #13
                          Create a file called path.php open it and put this code in it :

                          PHP Code:
                          <?php

                          echo getcwd();

                          ?>
                          FTP that file to the dir that all the phpBB attachments are in and then browse to it via a browser and it should tell you the full path.
                          I wrote ImpEx.

                          Blog | Me

                          Comment

                          • GasPipeJimmy
                            New Member
                            • Jun 2006
                            • 14
                            • 3.5.x

                            #14
                            Originally posted by Jerry
                            Create a file called path.php open it and put this code in it :

                            PHP Code:
                            <?php
                             
                            echo getcwd();
                             
                            ?>
                            FTP that file to the dir that all the phpBB attachments are in and then browse to it via a browser and it should tell you the full path.
                            Thanks Jerry!
                            That did the trick.

                            It was truncating some stuff off the front of the path.

                            Comment

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