Categories > OpenTBS with ODS >

Signature of Central Directory Header #2 (file information) expected but not found at position 2530...

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Greathector7
Date: 2016-02-10
Time: 06:41

Signature of Central Directory Header #2 (file information) expected but not found at position 25308 (h:62dc). The process is ending, unless you set NoErr property to true.

hello iam a new developer, i try  implement your library on my project ; on my desktop  with windows and xampp function very well, but in my server (debian8) tell:

TinyButStrong Error OpenTBS Plugin: Signature of Central Directory Header #2 (file information) expected but not found at position 25308 (h:62dc). The process is ending, unless you set NoErr property to true.

can help me?
and thats is only your demo of the ods.
By: Skrol29
Date: 2016-02-12
Time: 18:23

Re: Signature of Central Directory Header #2 (file information) expected but not found at position 25308 (h:62dc). The process is ending, unless you set NoErr property to true.

Hi,

It seems that you ODS file is not exactly the same on the two platforms.
Maybe the ODS on your Debian get some bad binary content at the beginning or at the end, or because of a bad FTP transfer.

The code in OpenTBS for reading  the Central Directory is platform-independant and even don't use the zip extension of PHP.