On some PHP-Versions (e.g. PHP Version 5.2.0-8+etch16 - not on PHP Version 5.3.1) the file gallery tree view only shows the 1st level of galleries.
See the incorrect
No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId, id, or src.
and the correct behavior
No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId, id, or src.
the parent selection box at the edit form of galleries only shows these 1st level galleries too.
galleries of a deeper level are not shown. Thus you can not create file galleries with level 3 or deeper.
this comes from an invalid "&" character at the parameter "allIds" in the parameter list of the function _getGalleryChildrenIdsList() in line 860 of file filegals/filegallib.php.
for the first of the recursive calls of this function "allIds" have the correct list of Ids. for the second recursive call "allIds" has no values.
this is only reproducible on specific PHP-Versions (see above). on other versions the behavior seems to be correct.
the same error may be true for the function _getGalleryChildrenIdsTree() a view lines below.
--------------
Sorry. I do not think this is a good fix:
in tiki4, tiki5 with php5 everything works fine.
Perhaps it is a problem with your php
allIds are not changed in the functions so the problem is somewhere else
seems to work with 6.3
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |