• I work for a company that is trying to off the ground with a new knowledge base. We use WordPress to create how to and help guides for our software, complete with screen shots. Everything has been working wonderfully, untill I ran the upgrade to the 2.6.2 release. At first nothing appeared wrong, until I went to insert a screen shot I had already uploaded for a previous article by clicking on the Media Library Tab add image flash tool.

    What I found was a list of all my uploads, with the proper name and description, but all the thumbnails displayed as blank white pages. I can click the show link for each image, and it does insert a block of HTML code into the post for the page (I don’t use the visual editor). However the block that it inserts is only partially complete and looks like this:
    <a href="pathtodefaultuploaddirandfile"><img class="alignnone size-medium wp-image-666" title="Do Not Save Changes" alt="Do Not Save Changes" /></a>

    The default image link I used to get was formatted as:
    <a href="urltoimatefile"><img class="size-medium wp-image-post#" title="nameofimage" src="urltoimagefile" alt="nameofimage" width="300" height="147" /></a>

    Notice how almost all the code that shows the post is no longer posted like it used to be, and the name of the image is completely lost? Any ideas on what would have caused this to happen?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tdavislaserapp

    (@tdavislaserapp)

    To see screen shots of this issue, vist my personal blog where I put of the screen shots. I though it would be easier to understand if people could see what was happening.

    http://trinity777.wordpress.com/2008/09/09/issues-with-upgrade-to-wordpress-262/

    Thread Starter tdavislaserapp

    (@tdavislaserapp)

    Found the fix in the following forum post:
    http://wordpress.org/support/topic/164999?replies=1

    The post addressed the problem in question 8, answer b). This is a know issue that was supposed to be fixed in 2.6.1 and required me to grab an updated version of the “functions.php” file and upload it to my “wp-includes” folder. File can be downloaded here.

    I hope someone catches this little slip up, the post I found says that this functions.php file was supposed to be included in the 2.6.1 release, but it was not included the release that upgraded to. I know that I completely deleted the old wordpress directory I was using, uploaded the whole new set of files for 2.6.2, then copied my “wp-content” folder as well as my “wp-config.php” file from the old wordpres back up I had. So I know that entire “wp-includes” dir was from the new distribution. I could have save a lot of trouble if I had just downloaded the file from the get to, instead of assuming that the file has been rolled into the distribution.

    I hope this thread helps anyone else out with similar issues.

    Thread Starter tdavislaserapp

    (@tdavislaserapp)

    I must be completely in competent, because the same issue resurfaced for me and I’m not sure why. I tried uploading the functions.php file that fixed the issue before, but nothing changed this time. I still have no thumbnails displayed in my media library, and my images are being inserted into posts with no source designated for the <img src=”> tag.

    Here is what I have tried so far to get back up and running.

    1. Deleted wordpress install dir, and unziped a fresh download of 2.6.2
    2. Copied my /wp-content folder, as well as my wp-config.php file to the new install folder
    (Result was that Blog came back up just fine, but if I clicked on Manage->Media Library, I still no thumbnails displaying, but all 241 images still listed correctly. If I clicked on the white place holder that was inserted instead of my thumbnail, I took me to the correct image just like it should have.)

    3. Just to be sure, removed all the tables from the SQL database (Via MyPhpAdmin) and re-imported from a back up file.
    (Same result as stated above)

    4. Uploaded the functions.php to my /wp-includes folder, this is the step that fixed the issue before.
    (No change)

    5. Explicitly set the full URL path to the /wp-contents/uploads folder, even though I am using the default location.
    (No Change).

    6. Deleted all the contents of my /wp-contents/uploads/js_cache folder, and reset my browser cache and cookies (twice just to be sure).

    7. All plugins are disabled

    Did I miss anything? Is there something else I should be looking at? I really don’t want to have to upload all 241 images back into my blog manually.

    yeah, hi, i’m getting this too. no luck solving it yet

    🙁

    oh FFS, i was still suffering from another (well known) podpress issue – thought i’d got them all 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upgrade to 2.6.2 caused Media Library to break’ is closed to new replies.