Hello,
I'm working on a project based around "Zend_Application" and the
"guestbook" quickstart application.
Frequently, I find it hard to debug certain things within the
framework becaus I just don't get the exceptions, notices or warnings
I'm expecting.
I've set up my php.ini to a E_ALL | E_STRI
Hi,
You should make sure that throwExeptions option is enabled on your
development environment.
In your application.ini it should look like this:
resources.frontController.throwExceptions = 1
--
Pagarbiai,
Vladas Diržys
Tel.: +370 620 69020
www.dirzys.com
On Fri, Aug 7, 2009 at 13:49, Matthijs
Thank you both very much!
Maybe that's a good idea to be added to the
http://www.zendframework.com/docs/quickstart ...?
2009/8/7 Vladas Diržys :
> Hi,
> You should make sure that throwExeptions option is enabled on your
> development environment.
> In your application.ini it should look like thi
Thanks, I will.
Seems I'm building this application rather head-first without checking
the actual basics - wich makes Zend look pretty good in that
perspective ;-)
Bye,
Matthijs.
2009/8/7 Ruslan Zavackiy :
> Btw You can open
>
> Zend/Application/Resource/Frontcontroller.php and check all parame
Julien Huang wrote:
>
> If obtain this :
>
>
> While I want this :
>
>
> --
> Julien Huang
>
>
It is very useful to be able to use this syntax I agree. There are areas
where Zend Framework is over engineered and unfortunately forms is one of
them.
In this case I would drop back to proc
The initial problem is still there - changes are not rendered in the document
until it is saved, so how do I commit inline changes to stream to the
browser? This is a common problem I am sure, to stamp a document with a
watermark before rendering it to the browser, but without changing the
origin
Did you try something like this after you add your water mark?
header("Content-Disposition: inline; filename=result.pdf");
header("Content-type: application/x-pdf");
echo $pdf->render();
I'm just now getting to a point to start using Zend_PDF so i've not tested
this yet.
Terre
-Original
Quick and dirty example, that works:
// load pdf file
$pdf = Zend_Pdf::load('FILENAME');
// Create new Style
$style = new Zend_Pdf_Style();
$fontH = Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA_BOLD);
$style->setFont($fontH, 32);
// Mark page as modified
foreach ($pdf->pages as $pa
With a few tweaks, that did it! Thanks!
To answer your question, my headers and streaming were done from a separate
calling program using 'passthru', but it will work to have all within a
single file.
Not sure if it was the try/catch block, or maybe your save/restore of GS
after each page, but
Glad it works,
In my real app I have headers that also work for inline viewing, however
I've been running the Win7rc and it and adobe pdf reader + browser does not
like to play nicely. The inline viewing crashes or launches the reader then
fails with an error message and after closing, it shows t
Hi there,
How to use the standard validations classes to validate non English text?
for example, let say i want to use the validator class 'Alpha' to see if one
of my form field contains only character.
$validators = array =>array ('name'=>'Alpha');
I am trying to validate Arabic text here but
are you recommending I create the feed first and then intercept DOM to inject
the namespaces? because how would i add a thumbnail in the entry in the
first place as importArray() does not allow me to extend the syntax of the
feed.
I want to add a media:thumbnail to every entry of the rss feed.
The
I'm updating my site to take advantage of Zend_Application. The docs
say you can use XML for the application configuration, but doing so
causes a failure with the error:
Fatal error: require_once() [function.require]: Failed opening required
'APPLICATION_PATH ."/Bootstrap.php"'...
My applic
13 matches
Mail list logo