This problem is related to the image's not showing up in the file manager. The images upload just fine and creating folders works too. Seems possible that creating the list of images to display doesn't work on Solaris systems because the glob_brace flag is used. normally this shouldn't be a problem, but solaris systems just don't have it. (don't know why.)
is there a way to produce the array without glob_brace? or possibly just a replacement line to look for all files to make sure I'm not missing something else?
filemanager.php (line 84)
$files = glob(rtrim($directory, '/') . '/*.{jpg,jpeg,png,gif}', GLOB_BRACE);
from: http://forum.opencart.com/viewtopic.php ... lob#p47495
Thanks Daniel (still playing around with the php here.)Daniel wrote:The braces will be fixed in the next version.neschalk wrote:Problem still exists on this end. Seems images upload just fine. getting them to display is more the issue at this point. I've traced this back to the glob_brace flag not working on solaris.
filemanager.php (line 84)
$files = glob(rtrim($directory, '/') . '/*.{jpg,jpeg,png,gif}', GLOB_BRACE);
is there a way to produce the array without glob_brace? or possibly just a replacement line to look for all files to make sure I'm not missing something else?
Who is online
Users browsing this forum: No registered users and 82 guests