Hi,
im updating a drupal 6 site to drupal 7. when i update to linkchecker-7.x-1.x-dev.zip and then run update.php i get the following error:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://XXXXXXXX.COM/update.php?op=selection&token=cNjQocIxqpTjTruNEAMzn3... StatusText: OK ResponseText: Fatal error: Call to undefined function array_replace() in /is/htdocs/XXXXXXXX/drupal7folder/sites/all/modules/linkchecker/linkchecker.install on line 400
if i run update.php again, there are two operations pending
linkchecker module
7007 - Upgrade blacklisted internal filter names.
7008 - #965720: Add indexes to improve performance of views queries.
and then again i get the error.
Comments
Comment #1
Gfuber commentedUninstalling linkchecker and then reinstalling solves the problem
Comment #2
hass commentedOh bad... array_replace() seems to be PHP 5.3+ only. What PHP version are you running?
Comment #3
hass commentedhttp://drupalcode.org/project/linkchecker.git/commit/18567a9
Comment #4
Gfuber commentedIm running PHP Version 5.2.17
Comment #5
hass commentedCan you try the upgrade on a test machine again, please? I was not able to test the fix...
Comment #7
webservant316 commentedI am seeing a related error with...
linkchecker 7.x-1.2
PHP 5.4.37
Litespeed 6.7
Comment #8
hass commented@webservant316: Can You stop posting unrelated stuff to old issues you do not understand, please?
Comment #9
webservant316 commentedsorry, please forgive me. I do not understand the reason linkchecker is failing and I am not sure how to debug it. I will seek help elsewhere.
Comment #10
hass commentedThe error does not point to linkchecker. No idea why you think it is linkchecker.
Comment #11
webservant316 commentedThe error I posted above is produced when I try to linkcheck 3 particular content types on my website site. All the other content types work great, but 3 content types produce this error as soon as I enable them them for checking at /admin/config/content/linkchecker. Linkchecker also works great on 4 other websites on my server, so I know my server is capable of running Drupal and your module successfully. However, on 1 of my websites when I enable 3 particular content types your module begins to process the nodes and chokes half way through.
I am assuming there is foul play with your module and the content type structure or malformed HTML in particular nodes or something.
I'll be glad to open a new ticket with my specific error if you are willing to help me get to the bottom of it. Like you say the problem may very well not be your module, but the intended function of your module is failing for an unknown reason.
Again I apologize for posting my question at the wrong place. Let me know how to proceed.
Comment #12
hass commentedIf you run PHP module and such PHP nodes and have same function names defined than this is your fault. Check your watchdog and server logs and you will see the root cause. Quite simple.