Hello there,
I experienced 2 crashes when using impexp two transfer 15.000 files from one typo3 to another.
First Problem: The "publisher" String of a PDF was longer than 45 chars, which is the database limit.
My solution: Truncating the string.
In SimpleString I added:
/**
* Truncates String to 45 letters max.
* @param string $str
* @return string
*/
public static function maxLength45($str)
{
$str = SimpleString::trim($str);
return substr($str, 0, 45);
}
Hello there, I experienced 2 crashes when using impexp two transfer 15.000 files from one typo3 to another.
First Problem: The "publisher" String of a PDF was longer than 45 chars, which is the database limit. My solution: Truncating the string. In SimpleString I added:
And in the PDF Jason:
Second problem: One timestamp was signed negative (Really no clue why...) My solution: returning 'null':
I changed the end of utility function DateTime::timestamp to:
Maybe it helps, maybe you find better solutions.