NEXT Problem is the header:
the original view file (index.ctp) begins at the " <!-- File .... "
comment not before, but it seems that cake adds its (i am sorry, but
this is stupid in "production mode" (debug = 0)) Link(s) etc..... and
takes the default.css file, which i could not find.
<div id="container">
<div id="header">
<h1><a href="http://cakephp.org">CakePHP: the rapid
development php
framework</a></h1>
</div>
<div id="content">
<!-- File: /app/views/posts/index.ctp -->
On 14 Aug., 22:47, JamesF <[email protected]> wrote:
> you are correct. your debug needs to be set to 0 or 1 i believe.
>
> On Aug 14, 4:46 pm, anders als <[email protected]> wrote:
>
> > Hi there,
>
> > first, i love CakePHP, but i got a little problem with my 1.3 Cake....
> > it is no real problem because i think i just have to turn OFF the
> > "debug" mode, but the following footer (code) was never written into
> > the view and the header (code) (which isn't posted here) was also not
> > written into the view, does Cake add some Links of itselfs
> > automatically?
>
> > </html><!-- 0.15s --><table class="cake-sql-log"
> > id="cakeSqlLog_12502824964a85cc00132a85_34572335" summary="Cake SQL
> > Log" cellspacing="0" border = "0">
> > <caption>(default) 2 queries took 2 ms</caption>
> > <thead>
>
> > <tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num.
> > rows</th><th>Took (ms)</th></tr>
> > </thead>
> > <tbody>
> > <tr><td>1</td><td>DESCRIBE `posts`</td><td></td><td style = "text-
> > align: right">5</td><td style = "text-align: right">5</td><td style =
> > "text-align: right">1</td></tr>
> > <tr><td>2</td><td>SELECT `Post`.`id`, `Post`.`title`, `Post`.`body`,
> > `Post`.`created`, `Post`.`modified` FROM `posts` AS `Post` WHERE 1 =
> > 1 </td><td></td><td style = "text-align: right">3</td><td style =
> > "text-align: right">3</td><td style = "text-align: right">1</td></tr>
>
> > </tbody></table>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---