Categories > OpenTBS general LibreOffice >

Including failure

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: handbuch
Date: 2010-10-28
Time: 17:01

Including failure

hi, im getting this error: Strict Standards: Redefining already defined constructor for class clsTbsZip in path/tbs_plugin_opentbs.php on line 843.

the only thing im doing is require once the tbs_plugin_opentbs.php and tbs_class_php5.php file.

why dosnt that work?
By: Skrol29
Date: 2010-10-28
Time: 23:15

Re: Including failure

clsTbsZip is used in "tbs_plugin_opentbs.php". Do you also use clsTbsZip somewhere else in your code?
By: handbuch
Date: 2010-10-29
Time: 08:28

Re: Including failure

no, i just got a index.php with 2 lines of code. 2 require_once();
By: Skrol29
Date: 2010-10-29
Time: 09:44

Re: Including failure

I think there is a mistake in your files. Are you sure about the contents of "tbs_plugin_opentbs.php" and "tbs_class_php5.php" ?
OpenTBS need TBS to run, so your message is very strange.

If you see not problem with the contents, could you send to me the three files by email, so I'll reproduce your bug and fix it?
By: handbuch
Date: 2010-10-29
Time: 09:51

Re: Including failure

Got it. Thanks. If you cant reproduce the bug wit hthe nromal fiels, i can check again and send you what i have.
By: Skrol29
Date: 2010-10-29
Time: 10:49

Re: Including failure

Hi,

You may have this error message if your script has sent some HTML content or any other output before you do the $TBS->Show().
This can happen for example if there is some spaces or new lines before the <?php tag,
This can happen also if your script is called by another script that does some output like echo().

If you found nothing, try the debug mode by replacing OPENTBS_DOWNLOAD with OPENTBS_DOWNLOAD + OPENTBS_DEBUG_XML

By: handbuch
Date: 2010-10-29
Time: 12:35

Re: Including failure

it was the DOM.