After that I moved site www.forniture-alberghiere.net from www.versaweb.com to www.dreamhost.com when I do update.php I get this error:
Warning: Call-time pass-by-reference has been deprecated in /sites/all/modules/user_quota/user_quota.install on line 108
Warning: Call-time pass-by-reference has been deprecated in ..../sites/all/modules/user_quota/user_quota.install on line 109

Updating

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Proseguire alla pagina di errore
An error occurred. ...../update.php?id=245&op=do
Warning: Call-time pass-by-reference has been deprecated in ..../sites/all/modules/user_quota/user_quota.install on line 108

Warning: Call-time pass-by-reference has been deprecated in ..../sites/all/modules/user_quota/user_quota.install on line 109
{ "status": true, "percentage": 100, "message": "Rimangono 0 di 1.\x3cbr/\x3eUpdating site_verify module" }
--------------
Deleting module the it is all right instead

CommentFileSizeAuthor
#10 user_quota-deprecated.jpg81.49 KBmatteoraggi

Comments

matteoraggi’s picture

I get the same error also after deleting this module from modules, how it is possible?

matteoraggi’s picture

and under I get also this error:
An error occurred. http://www.forniture-alberghiere.net/update.php?id=249&op=do
Warning: Call-time pass-by-reference has been deprecated in .........../sites/all/modules/user_quota/user_quota.install on line 108

Warning: Call-time pass-by-reference has been deprecated in .........../sites/all/modules/user_quota/user_quota.install on line 109
{ "status": true, "percentage": 100, "message": "Rimangono 0 di 0.\x3cbr/\x3e\x26nbsp" }

matteoraggi’s picture

On php.ini I have added this line of code and added max memory to 512m:
allow_call_time_pass_reference = On ;

but I continue to get the same error trying to update

matteoraggi’s picture

I have overwritten the code about updates, but continue to not go:

* Implementation of hook_update().
*
* Add some columns for auditing information.
*/
function user_quota_update_1() {
$ret = array();
db_add_field($ret, 'user_quota_history', 'message', array('type' => 'text', 'size' => 'big', 'not null' => TRUE, 'default' => ''));
db_add_field($ret, 'user_quota_history', 'altering_uid', array('type' => 'int'), array('uqh_uid'));

return $ret;
}

greggles’s picture

Status: Active » Closed (duplicate)

This was fixed in #379020: user quota accidentally trying to pass by reference at call time.

I just created a new beta release at http://drupal.org/node/545058 which includes this fix. Thanks for reminding me.

matteoraggi’s picture

Thanks, I uploaded the new beta 2, but when going to update.php I continue to get the same error:
Warning: Call-time pass-by-reference has been deprecated in ................/sites/all/modules/user_quota/user_quota.install on line 108

Warning: Call-time pass-by-reference has been deprecated in ........../sites/all/modules/user_quota/user_quota.install on line 109

An error occurred. http://www.forniture-alberghiere.net/update.php?id=262&op=do
Warning: Call-time pass-by-reference has been deprecated in /-------/sites/all/modules/user_quota/user_quota.install on line 108

Warning: Call-time pass-by-reference has been deprecated in /home/correre/forniture-alberghiere.net/sites/all/modules/user_quota/user_quota.install on line 109
{ "status": true, "percentage": 100, "message": "Rimangono 0 di 0.\x3cbr/\x3e\x26nbsp" }

----------
How I can delete it in db?

greggles’s picture

Just delete all the user_quota files. If the problem doesn't go away then it is likely you have it installed in two places.

matteoraggi’s picture

I don't find it in other places, plus the erro give this path: /sites/all/modules/user_quota/user_quota.install
maybe it could be because versaweb is using php with apache instead dreamhost is using php with cgi ?

matteoraggi’s picture

the error is located here: /sites/all/modules/user_quota/user_quota.install
anyway webftp search donìt find user_quota in other places
the error could come from the fact that old server is using apache for php and new server is using cgi?

matteoraggi’s picture

StatusFileSize
new81.49 KB

here attachment with my devil persisten error

greggles’s picture

How I can delete it in db?

Just delete all the files off of your server and you won't have the error anymore.

If you clear away the error, try beta2 and hopefully that will work.

matteoraggi’s picture

It could be that this module is half installed into some other modules because it is in connection with many others? How I could find it in db?

matteoraggi’s picture

I have uploaded user_quota into site/modules instead of site/sites/all/modules and uninstalled it from drupal uninstall and module is being uninstalled completely, making the error to disappear.

I have also changed memory dedicated to php sctips from 1024 to 150mb.

but now I have again thewse 2 problems:
1) also after reboot of dreamhost server , remain the error of the modules list page not opening:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 1815816 bytes) in sitoweb/includes/database.mysql-common.inc on line 41
2) admin/reports/updates don't see that I have upgraded some modules via ftp and update.php, (for example pathologic, seo checker, phplist) and continue to suggest me to upgrade them.