CPT attachment image (featured image) won't upload

This topic contains 12 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #473112

    John Els
    Expired Member
    Post count: 65

    Hi,

    I upgraded to GD V2 yesterday and in the process of setting everything up. I believe that the upgrade completed successfully, and I followed all the setup prompts during the process.

    As part of the process, I added a new listing via the backend. When I uploaded an image for the listing, it let me select the image, the upload progress bar showed during upload, the upload completed, but the image is not shown in the upload box. The image is also not added to the Media.

    I enabled WP debug to look for clues, but there were none. I also made sure that Wordfence is set to learning mode, just in case it is blocking it. The package that I selected for this listing allows up to 5 images. The image is only 45 kb. From all that I can see, this should work.

    Can you please help?

    Thanks,
    John

    #473116

    John Els
    Expired Member
    Post count: 65
    This reply has been marked as private.
    #473143

    Alex Rollin
    Moderator
    Post count: 27815

    We had another report of this where curl calls to the same server were being blocked by the host.

    I will flag your topic for the developers. Could you query your host about that?

    #473149

    John Els
    Expired Member
    Post count: 65

    Thanks, Alex. I’ll do that right now and report back 🙂

    #473163

    John Els
    Expired Member
    Post count: 65
    This reply has been marked as private.
    #473171

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for checking, the developers will take a look!

    #473195

    John Els
    Expired Member
    Post count: 65
    This reply has been marked as private.
    #473204

    John Els
    Expired Member
    Post count: 65

    Eureka! The problem is solved! It turns out that there was an entry or entries in my .htaccess file that caused it. My host switched my .htaccess file with the standard file that they put on sites and the problem disappeared.

    If it might help you guys solve future issues, I’d be happy to paste both .htaccess files below for you to inspect.

    #473275

    Alex Rollin
    Moderator
    Post count: 27815

    I am curious what the problem entry was.
    Glad you got it working!

    #473337

    John Els
    Expired Member
    Post count: 65
    This reply has been marked as private.
    #473582

    John Els
    Expired Member
    Post count: 65

    Hi Alex,

    I ran some tests and as I suspected, this line…

    RewriteCond %{HTTP_USER_AGENT} WordPress [NC,OR]

    …in my .htaccess filed caused the problem. The moment I commented it out, all worked fine.

    John

    #473645

    Alexandre Litwinski
    Free User
    Post count: 7

    I also updated to GD V2 yesterday and the same is happening to me. The upload from wp media gallery works fine. Before the upgrade to V2 the upload was working fine. I dont no what to do.

    #473707

    Alex Rollin
    Moderator
    Post count: 27815

    We have a troubleshooter for images here: https://wpgeodirectory.com/docs-v2/integrations/images/#troubleshooting

    If you try those solutions and still have an issue please post a new topic and we will advise you about finding a solution.

Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket