1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ERROR [Notice]: iconv_strpos() [<a href='function.iconv-strpos'>function.iconv-strpos</a>]: Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE' is not allowed
IN POST /www/silverstripe-v2.4.0/admin/getitem?ID=17&ajax=1
Line 665 in /opt/lampp/htdocs/www/silverstripe-v2.4.0/sapphire/thirdparty/Zend/Locale/Format.php

Source
======
  656:         $options = self::_checkOptions($options) + self::$_options;
  657:         $test = array('h', 'H', 'm', 's', 'y', 'Y', 'M', 'd', 'D', 'E', 'S', 'l', 'B', 'I',
  658:                        'X', 'r', 'U', 'G', 'w', 'e', 'a', 'A', 'Z', 'z', 'v');
  659: 
  660:         $format = $options['date_format'];
  661:         $number = $date; // working copy
  662:         $result['date_format'] = $format; // save the format used to normalize $number
       (convenience)
  663:         $result['locale'] = $options['locale']; // save the locale used to normalize $number
       (convenience)
  664: 
* 665:         $day   = iconv_strpos($format, 'd');
  666:         $month = iconv_strpos($format, 'M');
  667:         $year  = iconv_strpos($format, 'y');
  668:         $hour  = iconv_strpos($format, 'H');
  669:         $min   = iconv_strpos($format, 'm');
  670:         $sec   = iconv_strpos($format, 's');
  671:         $am    = null;

Trace
=====
<ul>iconv_strpos(YYYY-MM-dd HH:mm:ss,d)
line 665 of Format.php

Zend_Locale_Format::_parseDate(2010-07-05 12:25:26,Array)
line 990 of Format.php

Zend_Locale_Format::getDate(2010-07-05 12:25:26,Array)
line 4389 of Date.php

Zend_Date::isDate(2010-07-05 12:25:26,YYYY-MM-dd HH:mm:ss,en_US)
line 66 of DatetimeField.php

DatetimeField->setValue(2010-07-05 12:25:26,BlogEntry)
line 965 of Form.php

Form->loadDataFrom(BlogEntry)
line 487 of CMSMain.php

CMSMain->getEditForm(17)
line 1023 of LeftAndMain.php

LeftAndMain->EditForm()
line 384 of LeftAndMain.php

LeftAndMain->getitem(SS_HTTPRequest)
line 193 of Controller.php

Controller->handleAction(SS_HTTPRequest)
line 134 of RequestHandler.php

RequestHandler->handleRequest(SS_HTTPRequest)
line 147 of Controller.php