WordPress.org

Ready to get started?Download WordPress

Forums

get warning (6 posts)

  1. Eduardo Barrento
    Member
    Posted 4 years ago #

    hi
    I am new to WP: I installed WP and a new theme. I created categories and did some post tests. Everything seems ok, until I click to home page where, at "latest post" and "recente posts" apears that kind of warnings, like the one you could see at the bottom..
    Could this be related with the fact that I did not achieved to create "Custom Fields"? How can I do that?
    Help please, thank you

    Warning: imagepng() [function.imagepng]: Unable to open '/home/barrento/public_html/magazine//home/barrento/public_html/magazine/wp-content/uploads/pth/recent_default64x64.png' for writing: No such file or directory in /home/barrento/public_html/magazine/wp-content/plugins/post-thumb/lib/post-thumb-image-editor.php on line 442

  2. Michael Fields
    Themer
    Posted 4 years ago #

    It looks like either your theme or a plugin is trying to use GD Library to generate a post thumbnail on-the-fly, but for some reason, it is generating an incorrect path:

    /home/barrento/public_html/magazine//home/barrento/public_html/magazine/wp-content/uploads/pth/recent_default64x64.png

    The bold parts of the above url are most likely causing the issue - which theme are you using? Which Plugins?

  3. Eduardo Barrento
    Member
    Posted 4 years ago #

    Hi, mfields, thank you.
    My theme was "The Morning After" (but I've already change it) and I dont have that problem anymore. But I do want a theme that generates the thubms of the posts. Now I am thinking in "Chic" theme from http://www.themewars.com, but, do you know what?...they donĀ“t answer my questions... something that is very commum in the internet. Are those people to be trusted?

  4. s_ha_dum
    Member
    Posted 4 years ago #

    The bold parts of the above url are most likely causing the issue - which theme are you using? Which Plugins

    There is nothing wrong with that path, assuming the plugin is properly creating the directory. I've written plugins that create and write to subdirectories of 'uploads' and it works fine. media_handle_upload and the upload_dir filter makes it pretty easy to do actually. This is also assuming that permissions on the server allow creating and writing to the directory.

    @Eduardo Barrento

    I don't know if the themewars people are to be trusted or not. I've never dealt with them or with any of their themes. But I'd be hesitant to pay for a theme if the people selling it wouldn't answer my questions. That's your call, though.

  5. Michael Fields
    Themer
    Posted 4 years ago #

    But I do want a theme that generates the thubms of the posts.

    This will be a feature in WordPress 2.9 which should be out pretty soon... which means that it should be easy enough to convert any theme to have post thumbnails. Although it might mean waiting a week or two, I think that it would be well worth it.

  6. Eduardo Barrento
    Member
    Posted 4 years ago #

    Thank you both

Topic Closed

This topic has been closed to new replies.

About this Topic