• Since upgrading to 3.5 I seem to have been having “set fetaured image” in the editor damage file naming (though perhaps some ealy ones have got through without the problem I cant be sure as my record keeping has let me down).

    Rendering an image on my home page is producing an error (below), the message I have supressed but the the effect persists. Whilst the consequence of the issue has occured in Theme processing as you can see the filename has no extension.

    Warning: getimagesize(/home/andyseab/public_html/adventurebods.com/wp-content/uploads/thumb-cache/38055753-8be999a389adeaa86955ee64d426f638-150×150-75-crop.) [function.getimagesize]: failed to open stream: No such file or directory in /home/andyseab/public_html/adventurebods.com/wp-content/themes/suffusion/functions/media.php on line 442

    The following has all been undertaken on the test server – note the domain name is singular rather than plural. (annoyingly similar but it will have to do for now)
    to get to the test server home page if you want to see the effect in the flesh: adventurebod.com/home

    I discovered there were several “extention-missing” media files that have occured since the new year started.

    I dumped the post, trashed it, emptied the trash and reentered it – still the extension is missing which is how it appears now online:
    /public_html/adventurebod.com/wp-content/uploads/2013/01/3805575

    if I simply add the .jpg extension manually the file is not corrupted – it can be displayed in the browser:
    adventurebod.com/wp-content/uploads/2013/01/3805575.jpg

    Similarly thumb-cache had no file extension – I manually added the extension using ftp client and they can be displayed in the browser (not sure why there is two):
    adventurebod.com/wp-content/uploads/thumb-cache/3805575-63d21b7bb20b50246227e561920473ed-150×150-75-crop.jpg
    adventurebod.com/wp-content/uploads/thumb-cache/3805575-2b4d3a31fa4e69e7bf2e76960dc4fb53-150×150-75-crop.jpg

    The thumbnail still does not display on the home page, as the code shows that the excerpt is formatted with this: <img src=”https://adventurebod.com/wp-content/uploads/2013/01/3805575″…&gt;

    It seems the damage is being done during the “post publishing” process or other save process –

    Not sure if this is how it should be but the media asset shows:
    Permalink: https://adventurebod.com/blog/india-trav … 2/3805575/

    Of course the permalink is editable but presumably I need to alter the associated filename and filetype – database directly?

    Any other ideas? Is my thinking leading me off course?
    Do I take it this is one for the WordPress forums?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter CallMeAndy

    (@callmeandy)

    Gone completely basic.
    Twenty Eleven – no plugins at all.
    Featured Image – not displaying, (tried various)

    I have reinstalled by the way since the problem surfaced, either yesterday or day before.

    Anyone?

    Thread Starter CallMeAndy

    (@callmeandy)

    Yes I have already followed the suggestion therein thanks!

    Hey Esmi,

    The message you are given its link above is too long to read and includes also the othe subjects, issues etc. Also it has technical jargon, so not easy to understand. Please, can you write just the clear answer/solution in a short way to here?

    PS: I have the same problem (not fixed yet):

    https://www.ads-software.com/support/topic/featured-images-dont-squeeze-in-thumbnails-and-theme-pictures-anymore?replies=6#post-3712253

    @callmeandy: Is there anything in your site’s error logs that might help?

    @zihniacik: It is impolite to interrupt another poster’s ongoing thread with a question of your own. It causes significant problems for the forum’s volunteers and prevents us from being able to track issues by topic. Please stick to your own topic.

    Thread Starter CallMeAndy

    (@callmeandy)

    @esmi well to be frank. This is the first I have looked at them in some time and certainly in relation to this problem.

    And amongst other things I see I have many unrelated errors to do with a huge number of sql statements. But I wonder if this is perhaps a clue because for whatever reason the table name has been dropped from many of them. Ending up with something like this “SELECT * FROM WHERE a=b” many of these queries are ones I recognise. And have been working perfectly well in the past. And most of them will have been constructed in code.

    Perhaps a red herring but I wonder if some functions relating to database manipulation have changed causing this. Although this seems unlikely because for many it is working OK (thinking aloud)

    To get a clearer review of the error logs though I will need to perform some actions in the site, after a clean sheet with the error log, as there is just two much in there to be sure if there is anything of relevance.

    Will let you know what I find. Thanks.

    I see I have many unrelated errors to do with a huge number of sql statements

    It might be worth repairing all of your database tables in case a problem is building up. Whether these are related to your main problem is impossible to say atm.

    Thread Starter CallMeAndy

    (@callmeandy)

    Repairing in what way?

    I wasn’t saying there are database problems, the errors point to script issues. Although I wonder if there were redesigned databases where tables have been dropped… I wonder. Do you know what the policy is regarding core architectural changes on the database. Do tables get dropped for instance?

    I wasn’t saying there are database problems, the errors point to script issues.

    Any time you start seeing sql errors, it’s always worth repairing your db tables using something Phpmyadmin. I had a similar set of errors only 24 hours ago in one of my sites. The site was apparently running perfectly but the error log begged to differ. Seems to have been some very minor problem with the wp_options table which was fixed by running a table repair. The point here is to try and fix these issues before they start affecting the site noticeable – otherwise the damage could be too great to repair.

    Again, I’m not saying that these errors are definitely part of your current problem but it’s just possible they are a contributing factor. Keeping your db healthy is always a good idea, anyway. ??

    With regard to db architecture, WP is pretty good about maintaining backwards compatibility as much as possible. I don’t recall ever seeing tables being dropped – although over the years, new ones have been created and existing ones extended. What version of WP were you running before this last upgrade?

    Set featured image not working for me, either. Things I’ve tried:
    Deactivating all plugins
    Reinstalling WordPress
    Reinstaling Theme
    Clearing cache & cookies
    Reviewed https://www.ads-software.com/support/topic/troubleshooting-wordpress-35-master-list and did the things I could understand …

    Any suggestions (no expert lingo, please)?

    @cdmpta

    This thread is outdated – please start your own and include a link to your site.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Media – set featured image not working properly.’ is closed to new replies.