title: CakePHP - Blank page on navigating to page
body: <p>I have the following controller method:</p>
  
  <pre><code>function recover_password() {
          $this-&gt;layout = 'frontend';
          $this-&gt;loadModel('PasswordReset');
          $this-&gt;Fonyker-&gt;recusive = -1;
  
          if($this-&gt;data) {
              $fields = array(
                  'Fonyker.fonykid',
                  'Fonyker.username',
                  'Fonyker.name',
                  'Fonyker.email'
              );
  
              $fonyker = $this-&gt;Fonyker-&gt;find('first', array(
                  'conditions' =&gt; array(
                      'OR' =&gt; array(
                          'Fonyker.email' =&gt; $this-&gt;data['Fonyker']['field'],
                          'Fonyker.username' =&gt; $this-&gt;data['Fonyker']['field']
                      ) 
                  ),
                  'fields' =&gt; $fields
              ));
  
              if($fonyker) {
                  $this-&gt;PasswordReset-&gt;create();
  
                  $passwordReset = array();
                  $passwordReset = array(
                      'PasswordReset' =&gt; array(
                          'code' =&gt; hash('sha256', $fonyker['Fonyker']['fonykid'].StringUtils::getRandomString(20)),
                          'fonykid' =&gt; $fonyker['Fonyker']['fonykid']
                      )
                  );
  
                  $this-&gt;PasswordReset-&gt;save($passwordReset);
  
                  $data = array(
                      'username' =&gt; $fonyker['Fonyker']['username'],
                      'code' =&gt; $passwordReset['PasswordReset']['code'],
                      'name' =&gt; $fonyker['Fonyker']['name'],
                      'email' =&gt; $fonyker['Fonyker']['email']
                  );
  
                  $this-&gt;_sendPasswordResetEmail($data);
  
              } else {
  
              }
          } 
      }
  </code></pre>
  
  <p>This is the view:</p>
  
  <pre><code>&lt;div class="prepend-top span-24"&gt;
      &lt;div class="prepend-8 span-8 append-8"&gt;
          &lt;?php
  
              echo $this-&gt;Form-&gt;create('Fonyker', array('action' =&gt; 'recover_password'));
              echo $this-&gt;Form-&gt;input('email', array(
                  'div' =&gt; array(
                      'class' =&gt; 'span-8'
                  ),
                  'class' =&gt; 'input-text long',
                  'id' =&gt; 'FonykerEmail',
                  'label' =&gt; array(
                      'class' =&gt; 'inlined',
                      'text' =&gt; ''
                  ),
                  'placeholder' =&gt; 'Username or Email'
              ));
  
              echo $this-&gt;Form-&gt;submit('',array(
                  'div' =&gt; array(
                      'class' =&gt; 'span-2 last'
                  ),
              ));
  
              echo $this-&gt;Form-&gt;end();
          ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When I navigate to the page all I get is a blank page, and sometimes this error: <code>Fatal error: Maximum execution time of 60 seconds exceeded in Unknown on line 0</code></p>
  
  <p>UPDATE: The error seems to be loading my model, this is the model I have declared:</p>
  
  <pre><code>&lt;?php
  class PassswordReset extends AppModel {
      var $name = 'PasswordReset';
      var $displayField = 'id';
      var $validate = array(
          'code' =&gt; array(
              'alphanumeric' =&gt; array(
                  'rule' =&gt; array('alphanumeric'),
                  //'message' =&gt; 'Your custom message here',
                  //'allowEmpty' =&gt; false,
                  //'required' =&gt; false,
                  //'last' =&gt; false, // Stop validation after this rule
                  //'on' =&gt; 'create', // Limit validation to 'create' or 'update' operations
              ),
          ),
          'fonykid' =&gt; array(
              'alphanumeric' =&gt; array(
                  'rule' =&gt; array('alphanumeric'),
                  //'message' =&gt; 'Your custom message here',
                  //'allowEmpty' =&gt; false,
                  //'required' =&gt; false,
                  //'last' =&gt; false, // Stop validation after this rule
                  //'on' =&gt; 'create', // Limit validation to 'create' or 'update' operations
              ),
          )
      );
  }
  ?&gt;
  </code></pre>
  
  <p>If I remove the <code>loadModel()</code> call the page loads.</p>