This very simple script:
require_once 'Zend/Pdf.php'; $pdf = new Zend_Pdf(); $page1 = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_A4); Results in the following error: Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'Cloning Zend_Pdf_Page object using 'clone' keyword is not supported. Use 'new Zend_Pdf_Page($srcPage)' syntax' in /usr/local/ZendFramework/1_5_3/Zend/Pdf/Page.php:349 Stack trace: #0 /home/buur/domains/makelaardijfhbuurman.nl/public_html/wip/testpdf.php(6): Zend_Pdf_Page->__clone() #1 {main} thrown in /usr/local/ZendFramework/1_5_3/Zend/Pdf/Page.php on line 349 The problem is: this only happens on a production server over which i have no control. BUT, the version of ZF running on that server is the exact same version as i have on my localhost on which i don't have this problem. So, i'm guessing it's a server setting. Does anyone have any idea ???? ----- http://devshed.excudo.net http://devshed.excudo.net -- View this message in context: http://www.nabble.com/strange-Zend_Pdf_Exception-%28clone%29-tp20629716p20629716.html Sent from the Zend Framework mailing list archive at Nabble.com.