{"issue":{"created_at":"2011-11-24T12:08:47Z","state":"open","updated_at":"2011-11-24T12:08:53Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"Hi,\n\nI'm fairly new to TYPOlight and tried to install it and things almost went fine.  But when I tried to create a new folder with File manager, I couldn't create any folder.\n\nBackend didn't show any error and there was a strange line in System log.\n\n```\n[2008-09-03 10:01] Folder \"tl_files/\" has been created\n```\n\nFinally, I found the problem came from bad usage of iconv().  At function utf8_convert_encoding() in system/mbstring.php:\n\n```\n        if (function_exists('iconv'))\n                return @iconv($from, $to . '//IGNORE', $str);\n```\n\nHere uses \"//IGNORE\" which is GNU iconv own extention.  Most other implementation of iconv(3), this extention (\"//IGNORE\" and \"//TANSLIT\") aren't part of standard (such as POSIX).\n\nAs a result, utf8_convert_encoding() returns empty string.  (Unfortunately, there was no error check for this iconv() failure.)\n\nOne solution is using GNU iconv with PHP iconv module.  But it should be avoid using such none portable use of iconv() function.\n\nI don't have good idea how to avoid using \"//IGNORE\" in this case since I'm not a experienced PHP programmer.\n\nOperating System: NetBSD current (4.99.72)\nWebServer: Apache 2.2.9\nDatabase: MySQL 5.0.51b\nPHP: PHP-5.2.6\n\nBest regards.\n\n--\nTakahiro Kambe\n\nsystem/mbstring.php uses none-portable iconv() usage.\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/68.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by taca on September 7th, 2008, at 03:38am (ID 68)_","assignee":{"gravatar_id":"360d94de41513598ac4440d46a3dab1b","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/360d94de41513598ac4440d46a3dab1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2340481,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":68,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/issues/labels/backend"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/issues/labels/Defect"}],"title":"Can't create a new folder nor upload a file with File manager","closed_at":null,"html_url":"https://github.com/contao/issues/issues/68","milestone":{"created_at":"2011-11-24T11:46:51Z","state":"open","due_on":null,"closed_issues":6,"creator":{"gravatar_id":"360d94de41513598ac4440d46a3dab1b","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/360d94de41513598ac4440d46a3dab1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":4,"title":"2.6.2","description":"TYPOlight 2.6.2 (maintenance release)","url":"https://api.github.com/repos/contao/issues/milestones/4","open_issues":1},"url":"https://api.github.com/repos/contao/issues/issues/68"},"action":"created","comment":{"created_at":"2011-11-24T12:08:53Z","updated_at":"2011-11-24T12:08:53Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I don't have neither currently, but I want to continue to solve this problem.\nSo, would you please this ticket to opened status?\n\nBest regrads.\n\n--- _Originally created by taca on September 7th, 2008, at 12:45pm_","id":2862041,"url":"https://api.github.com/repos/contao/issues/issues/comments/2862041"}}