Support

Home Forums Event Espresso Premium Featured Image Won't Attach Dependent on Account

Featured Image Won't Attach Dependent on Account

Posted: February 18, 2013 at 11:46 am

Viewing 1 reply thread


Marc Oestreich

February 18, 2013 at 11:46 am

As requested in this thread: https://eventespresso.com/topic/no-results-92/ I am creating a new thread to track this issue.

All the details of my problem match the original poster’s problem. Upon choosing the featured image and clicking “Insert Into Post”, the AJAX GET request is sent to get the image and the image is returned properly. However, after the image is returned another GET request is sent to

[site_url]/wp-admin/undefined

And, obviously there’s a 404 response. Given the “undefined”, I’m assuming this is related to some improper variable definitions in the JS, but I’ve been unable to figure out where this bad AJAX request originates from. After this, the page attempts to add the image to the featured image box, but creates the following element:

And upon saving the event, any trace that an image tried to be added to the event is lost, except for the image in the media library. I’ve set the permissions of the wp-content directory and all subdirectories to 777, so I do not believe this to be a permissions error.

After reading further posts in the original thread, I created a new user account and can attach featured images using the new admin account, but am still unable using my old account. I’ve sent in the login details for both accounts so that they can be tested and examined independently.

The issue does not seem to be browser dependent as I’ve verified it both working and broken across 3 different browsers. (IE9, Firefox, Chrome).

  • This topic was modified 11 years, 10 months ago by Marc Oestreich.
  • This topic was modified 11 years, 10 months ago by Marc Oestreich. Reason: Formatting


Josh

  • Support Staff

February 19, 2013 at 8:32 am

Hi Marc,

This might be related to a core WordPress issue where the user option to attach file URL’s by default was removed a few versions back. There’s been some activity on this issue, and it looks like it will be fixed in a future WordPress release. I’ve seen this happen before, and usually you can click the “File URL” button that appears on the modal window after you upload the featured image.

There is also a database setting in the wp-options table that can be checked. The option name is ‘image_default_link_type’, value should be ‘file’.

Viewing 1 reply thread

The support post ‘Featured Image Won't Attach Dependent on Account’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso