Can't find the file attachment.php issue

This topic has 11 replies, 2 voices, and was last updated 6 years, 3 months ago ago by Rose Tyler

  • Avatar: Carlo88
    Carlo88
    Participant
    January 21, 2018 at 20:15

    Hello!

    My issue is this:

    When I upload any image into “Media–>Upload” and I upload an image, the image can’t be visualized if I click “View” and this shows up:

    can’t find the file attachment.php

    In private you have my WP and FTP credentials.

    Thanks! Carlo

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 09:08

    Hello,

    Please provide screenshots of the problem so we could try to recreate the issue on our side.
    Thanks in advance.

    Regards

    Avatar: Carlo88
    Carlo88
    Participant
    January 22, 2018 at 10:00

    Hello!

    Can’t you see the same on your side?

    Here you are screenshots as attachment.

    When I click on “View” (hovering on cat image it appears “View”) I see “can’t find the file attachment.php”.

    I think it is an issue of the theme, because (you can try) – when u change theme, it is fixed.

    https://drive.google.com/open?id=1XtqmtWAaKUwFwElV8lTdmYS5wO9twmhD
    https://drive.google.com/open?id=1vuBmvjgLS7A_uiLNztYu1VtgB-CqLOYV

    Thanks! Carlo

    Avatar: Carlo88
    Carlo88
    Participant
    January 22, 2018 at 10:04

    Moreover,

    I think (maybe) it is a problem of paths.

    I did this. test.manifatturecotoniere1946.it it is a clone o manifatturecotoniere1946.it.

    On FTP (via FileZilla) of test.manifatturecotoniere1946.it I moved some images around so that I had them in the same folder. Since them, it crashed.

    Maybe it is ok to clean everything of the them and reinstall it.

    Be CAREFUL! manifatturecotoniere1946.it it is the production site, don’t touch it 🙂
    Thanks! Carlo

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 10:18

    Hello,

    Fixed. Please check.

    Regards

    Avatar: Carlo88
    Carlo88
    Participant
    January 22, 2018 at 11:34

    Wohoooooooo!!!!

    Great you are a wizard!
    Thanks a lot! 🙂

    If it is easy so solve please write me the methods so that I could repeat it in case in the future if necessary.

    If it is complicated or “risky”, let it go 🙂
    I tried hard for 2 days to solve it, no luck!

    Thanks a lot!
    Carlo

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 11:45

    You’re welcome!
    It was our bug with attachment.php file. We uploaded the file for you to fix the problem. Also, this will be included in next theme update.
    Sorry for the inconvenience.
    Have a nice day.

    Regards

    Avatar: Carlo88
    Carlo88
    Participant
    January 22, 2018 at 12:01

    Ok!
    Many thanks and worry, now it is working perfectly!
    Thanks! Have a nice day !

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 12:04

    Feel free to ask if you have any other questions.

    Regards

    Avatar: Carlo88
    Carlo88
    Participant
    January 22, 2018 at 12:08

    Ah, a question!

    Is it safe to upload images directly via FTP in Upload folder?
    Or should I upload them via WordPress?

    Thanks! Carlo

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 13:01

    Hello,

    You need to upload images via Media Library (WordPress).

    Regards

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.