• I can’t edit some of my posts with wp 2.6.
    I get this message when I try to use the edit page:

    —–
    Warning: main(Text/Diff/Renderer.php) [function.main]: failed to open stream: No such file or directory in [path to my site]/wp-includes/Text/Diff/Renderer/inline.php on line 17

    Fatal error: main() [function.require]: Failed opening required ‘Text/Diff/Renderer.php’ (include_path=[path to my site]/include:.:/usr/php4/lib/php’) in [path to my site]wp-includes/Text/Diff/Renderer/inline.php on line 17
    —–

    It seems to happen only when I’ve added an image to the post via the media uploader. I haven’t modified any of the wp files, and it didn’t happen with 2.5. I’ve done the upgrade by the book, but maybe I’ve done something wrong?
    Thanks for any help you can give me.

Viewing 15 replies - 1 through 15 (of 20 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    You failed to upload all of the WordPress files.

    Reupload. Especially the wp-includes directory.

    Hi,
    I’ve the same problem as frpeneaud and a re-upload of all the WP 2.6 files didn’t change anything. We are some french users with this problem. (I try to ask here if a solution is found before the french board ^^).

    Edit : Strange thing, I can edit a Page, but not a post…

    Thread Starter frpeneaud

    (@frpeneaud)

    Otto, thanks for your answer, but re-uploading doesn’t seem to work.
    Any other idea?

    Walien, is your site on free.fr?
    I’m asking because I know there has been some specific problems with wp on free.fr.

    Yes I’m on Free.fr (Baaaaad ^^).

    Strange thing (again ^^). The blog I was working on is a new blog. So there was only one post. I’ve deleted it and now I can edit the others.

    Thread Starter frpeneaud

    (@frpeneaud)

    I can always edit the others, but not the one where I’ve put the image, even when I go to the mysql db and delete the image coding.

    So, anyone else can help us?

    Thread Starter frpeneaud

    (@frpeneaud)

    Bump.
    Nobody can help us?

    I have exactly the same problem. I can edit some posts, but othe rpost give me: Warning: require(Text/Diff.php) [function.require]: failed to open stream: No such file or directory in /domains/xxxx.xxxx.dk/www/wp-includes/wp-diff.php on line 4

    Some of the post I cant edit does contain images and some don’t.

    I really would love som response from WordPress ??

    As Otto42 said, you are missing files – you need to check each and every folder to see whats in them or do a clean fresh upload.

    Sorry – I just found out! My upload changed from capitalized to lower case – e.g. “Diff.php” was renamed to “diff.php”.

    Changing every letter back to the original – and everything works! Maybe this might help others.

    i cant edit either…

    please rosenstand could you specify what files and dirs have to be changed?…
    thx

    It worked for me, I had to check all files in the wp-includes / text folder, these included the following:

    Folder
    wp-includes / text
    Changed to: wp-includes / Text

    File
    wp-includes / Text / diff.php
    Changed to: wp-includes / Text / Diff.php

    Folder
    wp-includes / Text / diff /
    Changed to: wp-includes / Text / Diff /

    File
    wp-includes / Text / Diff / renderer.php
    Changed to: wp-includes / Text / Diff / Renderer.php

    Folder
    wp-includes / Text / Diff / renderer /
    Changed to: wp-includes / Text / Diff / Renderer /

    Folder
    wp-includes / Text / Diff / engine /
    Changed to: wp-includes / Text / Diff / Engine /

    After that it seems to be a ok… Hope it works for you guys too.

    Redbyte

    Perfect Redbyte, after renaming, works properly.

    thx

    There are still hard problems remaining, if your provider has disabled the ini_set() function for security reasons. You will get a fatal error and won’t be able to edit any longer. I wrote an article: https://www.code-styling.de/english/wordpress-26-and-the-textdiff-fatal-errors
    and also a patch therefore. It has been submitted at WP Bug Trac too.

    I sincerely hope this solution works.

    Why on Earth would they code with forced uppercase folder and file names?

    Hopefully this will be fixed in 2.6.1! Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘edit problem with 2.6’ is closed to new replies.