Editing a Page Broken: Displays Old Source [fixed]
Forum » Wikidot features and bugs / Bugs and problems » Editing a Page Broken: Displays Old Source [fixed]
started by: ErichSteinboeckErichSteinboeck
on: 1195297172|%e %b %Y, %H:%M %Z|agohover
number of posts: 7
rss icon RSS: new posts
summary:
Editing (or displaying via "view source") a page shows old source code (from prior revisions)
Editing a Page Broken: Displays Old Source
ErichSteinboeckErichSteinboeck 1195297172|%e %b %Y, %H:%M %Z|agohover

As of today editing a page does not work correctly anymore.

When you click on Edit (or display it via “+options”, “view source”) old code (outdated, from a prior revision) is shown.

For an example see http://evdonaucity.wikidot.com — last news on the page are from Nov 15. Next click on “+options”, “view source” — last news are shown starting on Oct 24.

last edited on 1195329304|%e %b %Y, %H:%M %Z|agohover by ErichSteinboeck + show more
unfold Editing a Page Broken: Displays Old Source by ErichSteinboeckErichSteinboeck, 1195297172|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
michal frackowiakmichal frackowiak 1195298664|%e %b %Y, %H:%M %Z|agohover

I am looking into this as quickly as possible!

unfold Re: Editing a Page Broken: Displays Old Source by michal frackowiakmichal frackowiak, 1195298664|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
ErichSteinboeckErichSteinboeck 1195299252|%e %b %Y, %H:%M %Z|agohover

Thanks!

The bug is not restricted to the single wiki referred to in my post. It might actually affect each wikidot wiki — you might want to post a warning that users should not do any editing (as they might lose valuable changes that were done lately) until the problem is fixed.

Erich

unfold Re: Editing a Page Broken: Displays Old Source by ErichSteinboeckErichSteinboeck, 1195299252|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
michal frackowiakmichal frackowiak 1195304015|%e %b %Y, %H:%M %Z|agohover

I think I have fixed this, it is not a permanent fix but should work. There is serious problem with one of the libraries we depend on (pecl-xdiff) and I will try trace the bug.

The good thing is that:

  • the bug did not cause database corruption
  • no data has been lost
  • you should be able to edit pages safely now, but the history (comparing versions) is still broken

I am working on it. Sorry about the issues!!!

unfold Re: Editing a Page Broken: Displays Old Source by michal frackowiakmichal frackowiak, 1195304015|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
pieterhpieterh 1195303969|%e %b %Y, %H:%M %Z|agohover

Perhaps a related problem, the history diff between current and previous versions shows just a completely deleted page.

unfold Re: Editing a Page Broken: Displays Old Source by pieterhpieterh, 1195303969|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
michal frackowiakmichal frackowiak 1195308527|%e %b %Y, %H:%M %Z|agohover

Now everything should be "back to normal". Sorry again about the issues - we have been trying really hard to make it smooth, but this time we missed a bug in a library that we depend on.

Anyway, we will be preparing a fix to pecl-xdiff so that it can properly parse arguments. It is really strange that the bug revealed only on this machine… We have been using xdiff on several servers without any problem, exactly the same version.

Probably listening to stories about software bugs is not what you would like to hear, so I will check a few more things and have some rest!

thanks for your patience and good luck!!!

Michal

unfold Re: Editing a Page Broken: Displays Old Source by michal frackowiakmichal frackowiak, 1195308527|%e %b %Y, %H:%M %Z|agohover
Re: Editing a Page Broken: Displays Old Source
ParentLinkParentLink 1195572998|%e %b %Y, %H:%M %Z|agohover

I am not sure this is the right thread for this question, so i'm apologising in advance. When I edit a page in my wiki, I get a pop-up window with the following message "the page at http://parentlink.wikidot.com says !". When I press ok to exit this screen the page does not save, and the cursor simply spins however long I wait. This has been going on for 24 hours. It's the longest page on the site. Is this simply a problem with the page length?

last edited on 1195658256|%e %b %Y, %H:%M %Z|agohover by Helmuti_pdorf + show more
unfold Re: Editing a Page Broken: Displays Old Source by ParentLinkParentLink, 1195572998|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.