Issue information
-
#024873
-
Not a Bug
-
3.2.2
-
-
-
0 - None Assigned
Issue Confirmations
-
Yes (0)No (0)
I'm running IPB 3.1.2 and Gallery 3.2.2.
I have a bunch of albums and sub-albums in the default Members Gallery category.
When I try to move an image from one album to another I get the following errors:
Note: The image is in a sub-album and I'm trying to move it to its parent album using the Mod Options on the image.
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php on line 606
Warning: implode() [function.implode]: Invalid arguments passed in /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php on line 606
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 120
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 129
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 130
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 134
I have a bunch of albums and sub-albums in the default Members Gallery category.
When I try to move an image from one album to another I get the following errors:
Note: The image is in a sub-album and I'm trying to move it to its parent album using the Mod Options on the image.
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php on line 606
Warning: implode() [function.implode]: Invalid arguments passed in /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php on line 606
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 120
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 129
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 130
Warning: Cannot modify header information - headers already sent by (output started at /home/fischero/www/www/admin/applications_addon/ips/gallery/modules_public/post/mod.php:606) in /home/fischero/www/www/admin/sources/classes/output/formats/html/htmlOutput.php on line 134
Need to put this in here so I can find it again. I did some work on this over the weekend, and have a plausible patch..
I am assuming that you are likely trying to move an image into a category using the multi-mod options, where you check the images you want to move.
The SINGLE move works fine.. Where, if you go into an image, select Mod Options and move an image it works. It's when you try to move mutliple images (or even one image) using the multi-features, where you check an image.
This is already reported, just no fix for it.. My quickie fix was /admin/applications_addon/ips/gallery/modules_public/post/mod.php
Change that to
Use at your own risk, but seems to be happy.
I am assuming that you are likely trying to move an image into a category using the multi-mod options, where you check the images you want to move.
The SINGLE move works fine.. Where, if you go into an image, select Mod Options and move an image it works. It's when you try to move mutliple images (or even one image) using the multi-features, where you check an image.
This is already reported, just no fix for it.. My quickie fix was /admin/applications_addon/ips/gallery/modules_public/post/mod.php
else
{
$destination_type = 'cat';
$destination_id = intval( $destination );
}
Change that to
else
{
$destination_type = 'cat';
$destination_id = intval( $this->request['move'] );
}
Use at your own risk, but seems to be happy.
Updating status to: Not a Bug
Attaching a file that seems to fix all problems with this.. Because I don't want to write this again.
Just in case.
Just in case.
Attached Files
0 user(s) are reading this issue
0 members, 0 guests, 0 anonymous users













