gallery2 installation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Debian) |
Fix Committed
|
Unknown
|
|||
php5 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Lucid |
Confirmed
|
High
|
Unassigned |
Bug Description
Binary package hint: gallery2
Step 8 of the gallery2 web installation fails due to deprecation errors:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/
errors like these continue for another couple of hundred lines, the installation of gallery2 stops there without a working gallery.
As can be seen on http://
Changed in php5 (Debian): | |
status: | Unknown → Fix Committed |
Hey Teun :)
Correct that this is an annoying issue, but it's not the actual problem. I'm installing on Lucid, I assume you are too? gallery. menalto. com/node/ 95098
Some googling got me here:
http://
And sure enough once I changed
mysqli_ options( $this-> _connectionID, $arr[0] ,$arr[1] );
to
mysqli_ options( $this-> _connectionID, $arr[0] ,$arr[1] [0]);
in /usr/share/ php/adodb/ drivers/ adodb-mysqli. inc.php (line 98)
it went ok. I did restart the whole procedure after changing this line.
Now the question: in this a bug in Gallery2 or in libphp-adodb where this file is from? And did I break other stuff with this modification??
Regards,
Guus