CodeIgniter Forums
pdf error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: pdf error (/showthread.php?tid=36549)



pdf error - El Forum - 12-05-2010

[eluser]diasansley[/eluser]
Hello i have used tcpdf to generate a pdf when i download the pdf the size is 2kb but adoeb says it could not open the file as coz its corrupt! now when i said view the pdf file as a wordpad i got the following errors listed!


Quote:<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: include() [<a href='function.include'>function.include</a>]: http:// wrapper is disabled in the server configuration by allow_url_include=0</p>
<p>Filename: libraries/WC_Controller.php</p>
<p>Line Number: 290</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: include(http://localhost/front_end/system/application/views/shared/_pdf_creation.php?content=<div+id="news_detail_container">
++++<h3+style="float:left;">asdsd</h3>+
++++<p+id="news_description"></p>
++++<p+id="news_date">News+Date+:+10.09.2003</p>
</div>
) [<a href='function.include'>function.include</a>]: failed to open stream: no suitable wrapper could be found</p>
<p>Filename: libraries/WC_Controller.php</p>
<p>Line Number: 290</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: include() [<a href='function.include'>function.include</a>]: Failed opening 'http://localhost/front_end/system/application/views/shared/_pdf_creation.php?content=<div+id="news_detail_container">
++++<h3+style="float:left;">asdsd</h3>+
++++<p+id="news_description"></p>
++++<p+id="news_date">News+Date+:+10.09.2003</p>
</div>
' for inclusion (include_path='.;C:\xampp\php\PEAR')</p>
<p>Filename: libraries/WC_Controller.php</p>
<p>Line Number: 290</p>

</div>



pdf error - El Forum - 12-06-2010

[eluser]Lupin[/eluser]
Hi,
Could you post your code and maybe give a link to your script?