
synthetron - 2014-05-16 16:48:56 -
In reply to message 7 from synthetron
// get directory path of rel file
$relFileDirectory = preg_replace("/(_rels)$/", "", dirname($relFilePath));
$arrPath = preg_split("//", rtrim($relFileDirectory, "/"));
// calculate path to target file
$arrTargetPath = preg_split("//", ltrim($targetPath, "/"));
gives errors
( ! ) Warning: Invalid argument supplied for foreach() in C:\wamp\www\welcome\xlsx\eiseXLSX.php on line 107
Call Stack
# Time Memory Function Location
1 0.0023 671416 {main}( ) ..\examplewrite.php:0
2 0.0262 1285768 eiseXLSX->__construct( ) ..\examplewrite.php:26
#0 eiseXLSX_Exception->__construct(can't select sheet #1) called at [C:\wamp\www\welcome\xlsx\eiseXLSX.php:374]
#1 eiseXLSX->selectSheet(1) called at [C:\wamp\www\welcome\xlsx\eiseXLSX.php:123]
#2 eiseXLSX->__construct(templates) called at [C:\wamp\www\welcome\xlsx\examplewrite.php:26]
( ! ) Fatal error: Uncaught eiseXLSX error: can't select sheet #1 thrown in C:\wamp\www\welcome\xlsx\eiseXLSX.php on line 374