On Wed, Sep 8, 2010 at 1:47 PM, cricket <[email protected]> wrote: > On Wed, Sep 8, 2010 at 6:27 AM, [email protected] > <[email protected]> wrote: >> I have a very strange problem with my cakePHP. I have a button for >> generating a PDF with tcpdf. >> >> At first click everything works fine, but when I try to generate >> several PDFs, suddenly shows me: >> >> Error: The requested address '/branches/createPdf' was not found on >> this server. > > Cake issues a 404 when there's an error but debug is set to 0. > Unfortunately, this may be tricky for you to sort out, as the PDF > generation may require that debug be 0. But try it at 2, anyway. > > Note that you needn't set it globally in core.php but, instead, do > this in the controller/component: > > Configure.write('debug', 2); >
Oh, and check your logs. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
