• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]object not found

#11
[eluser]diasansley[/eluser]
removed all.. can u please see that error again it says some tcpdf/tcpdf.php



thanks

#12
[eluser]smilie[/eluser]
Please post complete error here Smile

Cheers,
Smilie

#13
[eluser]diasansley[/eluser]
here it is

Quote:A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\CodeIgniter\system\application\models\your_model.php:23)

Filename: tcpdf/tcpdf.php

Line Number: 7996

TCPDF ERROR: Some data has already been output to browser, can’t send PDF file

#14
[eluser]smilie[/eluser]
Hi,

Well, error means that somewhere - before the line:

$this->pdf->Cell(0, 12, $pdf_data, 1, 1, 'C');

you are already sending data to the screen. Also, it still says that you are sending output in your_model.php on line 23... So error is somewhere in your model Smile

Try to add this to your model (and see if you get results):
instead of return $result;
do:
print_r($result); exit;

Cheers,
Smilie


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.