Project

General

Profile

Actions

Bug #16274

closed

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

Added by Franz Holzinger over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-06-23
Due date:
% Done:

0%

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

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 <br />
<b>Warning</b>
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 <b>/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)


Files

class.tx_impexp.php.diff (1.63 KB) class.tx_impexp.php.diff Administrator Admin, 2006-06-23 12:54
error-impexp-1.png (24.8 KB) error-impexp-1.png Administrator Admin, 2006-06-23 12:56
class.tx_impexp-2.diff (1.64 KB) class.tx_impexp-2.diff Administrator Admin, 2006-06-23 13:04
error-impexp-2.png (42.1 KB) error-impexp-2.png Administrator Admin, 2006-06-23 13:04
class.tx_impexp-3.diff (1.65 KB) class.tx_impexp-3.diff Administrator Admin, 2006-06-23 16:16
class.t3lib_flexformtools.diff (487 Bytes) class.t3lib_flexformtools.diff Administrator Admin, 2006-06-23 16:48
Actions

Also available in: Atom PDF