Features / Usability

Features / Usability

Assertion failed ... Diff.php

posts: 25 United States

Greetings all.

I've run into a new one today. I was updating a page on my recently updated wiki and I ran into the following errors:

Warning: assert() [function.assert]: Assertion failed in /sda01/www/tikiwiki/lib/diff/Diff.php on line 493

I looked at the code and it appears to be a part of the _diag function in that Diff.php. I am not quite sure I understand how that particular sequence is supposed to work. I understand the concept of chunking the contents and then doing a chunk by chunk comparison and then marking for differences but that particular sequence has me a bit stumped.

I checked my php error log and it showed me:

[19-Nov-2007 06:08:30] PHP Warning: assert() [function.assert]: Assertion failed in /sda01/www/tikiwiki/lib/diff/Diff.php on line 493

I checked to make sure that there were no database issues on this particular error and there did not appear to be any. Also this does not always happen... On this particular page it just happens to:


Can anyone shed some light?

Much appreciated.

posts: 8

Also on my installation, yesterday everything was working fine, now today this problem with the DIFF history function.

PHP Warning: assert() function.assert: Assertion failed in ...Diff.php on line 493