Default timezone, date.timezone local and master are "UTC".
The name of the folder "2007..." it's ok, I was confused, that name it's the date of the user creation not the file.
The problem I have detected now is that when the file is saved, the thumbs aren't created (smallthumb, largethumb and thumb), data folder has 755 permissions, but It doesn't seems to be that the problem. I keep searching.
Thanks for your answer.
I thought you would know that the data directory structure for Elgg 1.7 is based on join date when you mentioned that the files are saved with the wrong date. That's why the timezone is important because a switch of the timezone results in the user's data not getting found correctly.
If the thumbnails are not created, the problem lies somewhere else. Is it only with image entries that the entries have errors - can you download for example an uploaded pdf or textfile correctly? If the problem is only with images, the GD php extension is probably not installed or enabled on localhost. Or the post_max_size value and/or memory_limit is set too small in Elgg's htaccess.
If other type of files also have problems it could be a permission issue with the data directory. With permissions 755 it's important that the data directory (and everything in it) has the Apache user (e.g. "wwwrun") as owner and the group should be set to the Apache user's default group (e.g. "www"). Owner and group might be different on your localhost installation, so you would have to set the appropriate owner and group used on localhost. Or you could set permissions to 777.
Problem solved! It was the gd library, It wasn't installed.
Thank you very much for your help!
http://docs.elgg.org/wiki/Main_Page
http://reference.elgg.org/1.7/
The documentation for 1.7 isn't that great unfortunately
Thanks for the answer, also, from this discussion:
There are these links:
http://docs.elgg.org/w/index.php?title=Tutorials/HelloWorld&oldid=3657
http://docs.elgg.org/w/index.php?oldid=3681
http://docs.elgg.org/w/index.php?oldid=3684
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.