Issue Bug Closed

#16274Import of T3D leads to Warning: Length parameter must be greater than 0

Franz Holzinger 06/23/06, 12:31 updated 08/12/06, 14:15

Description

I am just importing a T3D file 20 MByte with class.tx_impexp.php 1.13.2.4

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php on line 2271
Call Stack
  1. Function Location
    1 {main}() /var/www/html/TYPO3core/typo3/sysext/impexp/app/index.php:0
    2 SC_mod_tools_log_index->main() /var/www/html/TYPO3core/typo3/sysext/impexp/app/index.php:1707
    3 SC_mod_tools_log_index->importData() /var/www/html/TYPO3core/typo3/sysext/impexp/app/index.php:345
    4 tx_impexp->loadFile() /var/www/html/TYPO3core/typo3/sysext/impexp/app/index.php:1243
    5 tx_impexp->getNextFilePart() /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php:2238
    6 fread () /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php:2271

The following debug info describes that this comes from the line 2271.
Due to some error the variable $initStrDat contains an error string and no data.

Debug Info gives.

[debug] in /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php on line 2269
user variable debug
==> Variable scope report
Array (3)
$initStrDat
String (45) 0

Warning
String (16) 1 array_unique()
String (7) 2 The ar

[debug] in /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php on line 2269
user variable debug
==> Variable scope report
Array (1)
$initStrDat
String (52) 0 ument should be an array in /home/kunden/we

(3) prev | next
[2006-06-23 12:26:24]
[debug] in /var/www/html/TYPO3core/typo3/sysext/impexp/class.tx_impexp.php on line 2269
user variable debug
==> Variable scope report
Array (1)
$initStrDat
String (46) 0 s/kevin-tarte/typo3/cms/typo3_src-4.0/t3lib/cl

(issue imported from #M3725)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.