Just a further note: When I add a echo "buh"; into the contact index(); I get the output just before all the error lines. If I call the echo $this->MathCaptcha->generateEquation(); I also get the output...
So for some reason my templates are not getting parsed... But I don't understand why. here is my default.ctp <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php echo $this->Html->charset(); ?> <title><?php echo $title_for_layout; ?></title> <?php echo $this->Html->meta('icon'); echo $this->Html->css('style'); echo $this->Html->css('jquery.lightbox-0.5.css'); echo $this->Html->css('http://fonts.googleapis.com/css? family=Cabin:regular,bold'); echo $this->Html->script(array('jquery', 'jqueryactions', 'jquery.lightbox-0.5')); echo $scripts_for_layout; ?> </head> <body> <div class="mainouterdiv"> <!--Head part start--> <div class="headdiv"> <?php echo $this->element('flags'); ?> <div class="clr"></div> <div class="logo"><?php echo $html->link($html- >image('logo.jpg'), array(), array('escape' => false));?></div> <!-- <div class="logoheading"><img src="img/heading.jpg" / ></div>--> <div class="logoheading"><?php __('Böden, Verschlüsse & Sonderpressteile'); ?></div> <div class="clr"></div> </div> <div class="clr"></div> <!--Head part end---> <!--Body Part Start--> <div class="bodydiv"> <?php echo $this->element('navigation'); ?> <div class="content_area"> <div class="content"> <div id="block1" style="height: 0px"/></div> <span id="Cindex"> <?php echo $this->Session->flash(); ?> <?php echo $content_for_layout; ?> </span> <div class="clr"></div> <div id="spacer"></div> <div class="clr"></div> <div id="block2" style="height: 0px"/></div> <div class="clr"></div> </div> <div class="clr"></div> <?php echo $this->element('footer'); ?> </div> <div class="rightside_nav"> <?php echo $this->element('mainnavigation'); ?> <?php echo $this->element('addresses'); ?> </div> </div> <!--Body Part End --> </div> <?php echo $this->element('sql_dump'); ?> </body> </html> -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
