Welcome Guest, Not a member yet? Register   Sign In
excel library problems
#1

[eluser]Unknown[/eluser]
hi..

library source : http://www.phpclasses.org/package/767-PH...files.html

I added the library system. But I got these errors.. What is the solution?

Thank you to everyone


Code:
<p>Severity: Warning</p>
<p>Message:  Missing argument 1 for Worksheet::Worksheet(), called in
C:\wamp\www\XXX\kernel\libraries\Loader.php on line 928 and
defined</p>
<p>Filename: excel/Worksheet.php</p>
<p>Line Number: 59</p>


Code:
<p>Severity: Notice</p>
<p>Message:  Undefined variable: name</p>
<p>Filename: excel/Worksheet.php</p>
<p>Line Number: 69</p>

Code:
<p>Severity: Notice</p>
<p>Message:  Undefined variable: index</p>
<p>Filename: excel/Worksheet.php</p>
<p>Line Number: 70</p>

Code:
<p>Severity: Notice</p>
<p>Message:  Object of class Format could not be converted to int</p>
<p>Filename: excel/Worksheet.php</p>
<p>Line Number: 826</p>
#2

[eluser]smilie[/eluser]
It seems you are getting this error simply by enabling the library.
My guess is that library is not written to work in CI. Meaning, on library load your library already expects some params. So - either re-write library or look at http://codeigniter.com/wiki/Simple_Excel_Plugin/

I am using this one, you simple put HTML to the plugin and off you go :-)

Cheers,
Smilie




Theme © iAndrew 2016 - Forum software by © MyBB