select distinct s1.string from elggmetastrings s1 join elggmetadata m on (s1.id = m.value_id) join elggmetastrings s2 on (s2.id = m.name_id and s2.string ="filestore::dir_root");
this is the ouput
'/Data/elgg_data/'
'/opt/ibm/apache2.0/htdocs/uploadselgg/'
'/data/elgg/'
'/test/docroot/webdocroot/elgg_data/'
Maybe a very different reason, but I had the same issue and the problem was in a additional carriage return coming from a plugin. You could try disabling all non-core plugins and see if you get the images again.
Make sure you follow the upgrade instructions exactly--especially the part about running upgrade.php and copying htaccess_dist to .htaccess.
MRA Welkers' suggestion is also a good idea. If you edited any of the files with Notepad, you might also be encountering a BOM character problem.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.