When I try to upgrade from watcher 6.x-1.0-alpha1 to 6.x-1.0-alpha2 I get the following message:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/vhosts/schrijvenonline.org/subdomains/beta/httpdocs/sites/all/modules/watcher/watcher.install on line 52
Or is this something in my server config? I've never seen it on other modules updates.
Comments
Comment #1
dries arnoldsI found out the error also appears after uninstalling and deleteing DB tables. So it's probably not an upgrading issue, but more an install issue.
Comment #2
solipsist commentedI've tested the update script and it seemed to work. Running 6.8 or 6.9?
Comment #3
dries arnoldsI'm running 6.8. I'll test on 6.9 later today.
Comment #4
solipsist commentedCool, cheers!
Comment #5
solipsist commentedI cannot recreate this problem, I've attempted installs and uninstalls. Updates seem to work too. Did you try this on a clean Drupal 6.9 install?
Comment #6
dries arnoldsI haven't had the chance to retest it. I'll do it in the next few days...
Comment #7
solipsist commentedCool! Keep me posted!
Comment #8
dries arnoldsOkay, I upgraded to Drupal 6.9 and Alpha 3. This problem disappeared, but the other problem (http://drupal.org/node/358709) still exists.
Comment #9
solipsist commentedI think the problem you refer to above is caused by a field that's never being created. I've fixed that now, will make a new release.
Comment #10
solipsist commentedComment #11
desiree commentedI got the same error as Pixelstyle when updating watcher Alpha 2 to Alpha 3 and then from Alpha 3 to Alpha 4 on a clean install of Drupal 6.9.
Here are the errors from the webserver's log file
[19-Jan-2009 12:31:59] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 52
[19-Jan-2009 12:31:59] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_add_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 53
[19-Jan-2009 14:57:41] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 52
[19-Jan-2009 14:57:41] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_add_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 53
[19-Jan-2009 14:57:47] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 52
[19-Jan-2009 14:57:47] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_add_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 53
Now every time I use update.php, on top of the page, I have the following error noted:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 56 Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_add_primary_key(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/hsphere/local/home/eapprais/new.dast2dast.org/modules/watcher/watcher.install on line 57
Also, watcher does not seem to email users watching posts. So far, I have not received a single notification on nodes update/comments for the nodes I'm watching. The site is http://www.new.dast2dast.org.
Thank you in advance
Comment #12
solipsist commentedThank you for your report regarding the db issue. I'll investigate this as soon as I can.
As for the email issue, did you try the Testing tools on the module's settings page?
Please open a new issue for the email problem! Thanks.
Comment #13
desiree commentedThank you solipsist. I will open a new issue for the email problem and will check back here about the db issue.
Comment #14
solipsist commentedThis bug should be fixed by now. Fix will be included in next alpha release.
Comment #15
solipsist commented