Eduardo Barrento
Member
Posted 1 month 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
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?
Eduardo Barrento
Member
Posted 1 month 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?
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.
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.
Eduardo Barrento
Member
Posted 1 month ago #