Marcus
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:
PHP:
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();
break;
PHP:
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: