Severity: Notice
Message: Undefined variable: count
Filename: core/Common.php
Line Number: 531
if ( ! function_exists('remove_invisible_characters'))
{
function remove_invisible_characters($str, $url_encoded = TRUE)
{
$n>
// every control character except newline (dec 10)
// carriage return (dec 13), and horizontal tab (dec 09)
if ($url_encoded)
{
$non_displayables[] = '/%0[0-8bcef]/'; // url encoded 00-08, 11, 12, 14, 15
$non_displayables[] = '/%1[0-9a-f]/'; // url encoded 16-31
}
$non_displayables[] = '/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S'; // 00-08, 11, 12, 14-31, 127
do
{
$str = preg_replace($non_displayables, '', $str, -1, $count);
}
while ($count);
return $str;
}
}
IIS + CI 2.2.0 설치하자마자 index.php 콜 하니 아래와 같은 메시지가 보여서..여기저기 자료 찾가다 찾은 자료 공유합니다.
[ㅁㅔㅅㅣ지]
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
[해결방법]
이전: return $_config[0] =& $config;
변경: $_config[0] =& $config;
return $_config[0];
참고:https://ellislab.com/forums/viewthread/244510/#1066558
milan.petrak
iis + php 로 사용하고 있는데요 코드이그나이터 콘트롤러 규칙이 적용이 안됩니다.
따로 설정할 php 문서가 있나요?
.htaccess 파일은 다음과 같습니다.