• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Can not create PDF on live board, works on home install


Well-known member
This works great on my home install, but I get an error message on my live board with 1GB assigned in both config.php as well as APC:

header("Content-Disposition: inline; filename=orders.pdf");
header("Content-type: application/x-pdf");
$pdf = new Zend_Pdf();
$page1 = $pdf->newPage();
$page1->setFont(Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA), 10);
$page1->drawText('Hello World', 5, 90, 'UTF-8');
$pdf->pages[] = $page1;

echo $pdf->render();

ErrorException: Fatal Error: main(): Failed opening required 'Zend/Memory/Manager.php' (include_path='/home/nginx/domains/xxxx/public/library:.:.:/usr/local/lib/php') - library/Zend/Memory.php:23

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Last edited:


Well-known member
No its not my pdf extension from php. The PDF function is working, and I can output $pdf. However with the error mentioned in my #1 post, the saved pdf is empty whereas on my home installation the pdf is saved fine. Any ideas?