I tried the latest diff 7.x-2.x code, but I'm getting a 500 internal server error when viewing a specific revision. Looking at my PHP error logs, here's the error message I'm getting:

PHP Fatal error: Call to undefined function drupal_strpos() in /Users/drupal/sites/all/modules/contrib/diff/DiffEngine.php on line 1275

It pretty much makes Diff unusable for me right now.

Thoughts?

Thanks,
Ben

Comments

Hakaku’s picture

I'm not sure how this error got introduced, but you'll have to replace all instances of drupal_strpos with just strpos. There should be 4 of them in the file DiffEngine.php on lines 1243, 1253, 1275 and 1279.

mas5d2’s picture

StatusFileSize
new1.92 KB

Patch to change drupal_strpos to strpos.

mas5d2’s picture

StatusFileSize
new1.92 KB

Patch to change drupal_strpos to strpos.

realityloop’s picture

Status: Active » Fixed

Applied to dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.