strawz adlı üyeden alıntı: mesajı görüntüle
Herhangi bir framework kullanılarak mı yapılmış?
Tam olarak ne olduğunu bilmiyorum o frameworkların ama aynen dosyaların içinde rastlamıştım zendframework vs. klasörleri vardı.



error404.cpt isminde bir dosya buldum. Dosyanın içeriği şöyle: Tam olarak ne yapmalıyım istediğim sayfaya yönlendirmek için? @strawz;


<?php
/**
 * @var AppViewAppView $this
 */
use CakeCoreConfigure;
use CakeErrorDebugger;

$this->layout = 'error';

if (Configure::read('debug')) :
    $this->layout = 'dev_error';

    $this->assign('title', $message);
    $this->assign('templateName', 'error400.ctp');

    $this->start('file');

    ?>
    <?php if (!empty($error->queryString)) : ?>
    <p class="notice">
        <strong>SQL Query: </strong>
        <?= h($error->queryString) ?>
    </p>
<?php endif; ?>
    <?php if (!empty($error->params)) : ?>
    <strong>SQL Query Params: </strong>
    <?php Debugger::dump($error->params) ?>
<?php endif; ?>
<?= $this->element('auto_table_warning') ?>
<?php
if (extension_loaded('xdebug')) :
    xdebug_print_function_stack();
endif;

$this->end();
endif;

?>
<h2><?= h($message) ?></h2>
<p class="error">
    <strong><?= __('Error') ?>: </strong>
    <?=
    __('The requested address {0} was not found on this server.', "<strong>'{$url}'</strong>")

    ?>
</p>