[fw-general] Zend_PDF: 'Object number must be positive integer'

2010-01-09 Thread Adeel
I'm getting the following exception when trying to load a PDF and read the metadata: Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'Object number must be positive integer' in /Users/adeel/Sites/j101/lib/Zend/Pdf/Element/Reference.php:95 Stack trace: #0 /Users/adeel/Sites/j101

[fw-general] Problem when the path and filename is the same as the controller and action

2010-01-09 Thread engenius
I have a controller and action named counseling and admissions-guide respectively and I also have a file named admissions-guide.pdf in a folder labeled counseling. The problem is that the url http://www.example.com/counseling/admissions-guide should be handled by the Zend Router and http://www.ex

Re: [fw-general] Faltal Error with Controller Action on ZF

2010-01-09 Thread EHaskins
I am having the same issue on my Zend Server CE. If I restart Zend Server the error goes away until I make a change to the Controller file. Here is a minified controller that is getting the errors. I see the exact same "Fatal error: Cannot redeclare class Zend_Controller_Router_Route_Abstract in

[fw-general] Doctrine Counter Behavior

2010-01-09 Thread bparise
I was wondering what's the best way to implement a "counter" sort of behavior (doesn't need to actually be a doctrine behavior, just the concept).. I have 2 models... Topics and Posts In topics there is a column Topics.post_count that I want to keep (obviously) the number of posts the topic has.