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

XF 1.2 Images Missing

Discussion in 'Troubleshooting and Problems' started by wickedstangs, Aug 6, 2013.

  1. wickedstangs

    wickedstangs Well-Known Member

    all, my images are missing after the move, I can see them in the data / internal data folder and they are permissioned to 777 and still can't see them on my site?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. wickedstangs

    wickedstangs Well-Known Member

  4. wickedstangs

    wickedstangs Well-Known Member

  5. Mike

    Mike XenForo Developer Staff Member

    The error occurs in these situations:
    Code:
            $filePath = $attachmentModel->getAttachmentDataFilePath($attachment);
            if (!file_exists($filePath) || !is_readable($filePath))
    So the things to check:
    1. That you haven't specified any alternative paths in your config.php.
    2. That the attachment files are in the internal_data directory in the correct directory structure.
    3. That the attachment files themselves (and all parent directories) are readable by PHP. You mention the folder permissions, but you want to make sure the correct permissions are on the files as well. (You'll want 0666 or 0777.)
     
  6. Mike

    Mike XenForo Developer Staff Member

    As a side note, does it work if you upload a new attachment?
     
  7. wickedstangs

    wickedstangs Well-Known Member

    attaching works..

    Not sure where my config.php is located to check my data file and all look to be in there..

    All files are 777
     
  8. wickedstangs

    wickedstangs Well-Known Member

    @Mike if I go and search for that file and download it, it works..
     
  9. Mike

    Mike XenForo Developer Staff Member

    Search for what file? I'm confused...
     
  10. wickedstangs

    wickedstangs Well-Known Member

    sorry about that, When, I go and look for the image that is missing, its in the attachament folder, when I download it, its the correct picture that should be in that location...
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

  12. Mike

    Mike XenForo Developer Staff Member

    Can you disable all add-ons and confirm that it still happens?

    If so, submit a ticket with FTP details and I'll have a look.
     
  13. wickedstangs

    wickedstangs Well-Known Member

    all, add-on remove and still same issue.. Submitting ticket now..
     

Share This Page