Project

General

Profile

Actions

Bug #16002

closed

Call to undefined function: char()

Added by Dirk Hoffmann over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

when $TYPO3_CONF_VARS['SYS']['systemLog'] is set to file the following error occured in t3lib/class.t3lib_div.php on line 4334:

Call to undefined function: char()

set $TYPO3_CONF_VARS['SYS']['systemLog'] to file in localconf.php.
e.g.

$TYPO3_CONF_VARS['SYS']['systemLog'] = 'file,/home/httpd/vhosts/fileadmin/logs/sys.log';

in t3lib/class.t3lib_div.php the line line 4334 should change from
fwrite($file, date('d/m/Y i:H').$msgLine.char(10));

to
fwrite($file, date('d/m/Y i:H').$msgLine.chr(10));
(issue imported from #M3174)

Actions

Also available in: Atom PDF