Download & Extend

Call-time pass-by-reference has been deprecated

Project:Diaporama
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

First of all thanks for this great module !

1. Since I enabled Diaporama in Drupal 6.12, I get for a few microseconds a white page with the following lines before to visualize the normal pages:
Warning: Call-time pass-by-reference has been deprecated in /XXXXXXX/sites/all/modules/diaporama/diaporama.install on line 74
Warning: Call-time pass-by-reference has been deprecated in /XXXXXXX/sites/all/modules/diaporama/diaporama.install on line 75

2. When I run the update.php I get the following error message:
An error occurred. http://XXXXXXX/update.php?id=22&op=do
Warning: Call-time pass-by-reference has been deprecated in /home/www/962695bf40cc81d6697311e233b95641/XXXXXXX/sites/all/modules/diaporama/diaporama.install on line 74

Warning: Call-time pass-by-reference has been deprecated in /home/www/962695bf40cc81d6697311e233b95641/XXXXXXX/sites/all/modules/diaporama/diaporama.install on line 75
{ "status": true, "percentage": 100, "message": "Remaining 0 of 0.\x3cbr/\x3e\x26nbsp" }

3. I uninstalled the diaporama module and I do not get anymore thes bugs.

I cannot help on this issue as I am a newbie !

Best regards, Bruno

Comments

#1

I join a patch to fix it

AttachmentSize
diaporama.install.20090617.patch 5.96 KB

#2

Hi .

I have no experience at all, but I tried to upload a video website and I got the same massage , but I found the solution.
This is the line with the problem:
xml_parse_into_struct($p, $data, &$vals, $ index);

I deleted sign: & and pulled the words:
xml_parse_into_struct($p,$data,$vals,$index);

I have no problem.
I should learn this job.
:-)

Regards.