your getting a blank page with debug set to 2? have you got access to error logs
- S On 15 February 2011 21:33, cake-learner <[email protected]> wrote: > I debug and removed all errors, but now it doesn't show any thing but > a blank page. > > <?php > /* SVN FILE: $Id$ */ > /** > * Short description for file. > * > * Long description for file > * > * PHP versions 4 and 5 > * > * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) > * Copyright 2005-2010, Cake Software Foundation, Inc. (http:// > cakefoundation.org) > * > * Licensed under The MIT License > * Redistributions of files must retain the above copyright notice. > * > * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. > (http://cakefoundation.org) > * @link http://cakephp.org CakePHP(tm) Project > * @package cake > * @subpackage cake.app.webroot > * @since CakePHP(tm) v 0.2.9 > * @version $Revision$ > * @modifiedby $LastChangedBy$ > * @lastmodified $Date$ > * @license http://www.opensource.org/licenses/mit-license.php > The MIT License > */ > /** > * Use the DS to separate the directories in other defines > */ > > /** > * Editing below this line should NOT be necessary. > * Change at your own risk. > * > */ > > > > > if (!defined('DS')) { > define('DS', DIRECTORY_SEPARATOR); > } > > if (!defined('ROOT')) { > define('ROOT', dirname(dirname(__FILE__))); > } > > if (!defined('CAKE_CORE_INCLUDE_PATH')) { > define('CAKE_CORE_INCLUDE_PATH', ROOT); > } > > if (!defined('APP_DIR')) { > define('APP_DIR', "" ); > } > > define( 'CORE_PATH', "/home/gowerk/public_html/dev/" ); > > > if (!defined('WEBROOT_DIR')) { > define('WEBROOT_DIR', basename(dirname(__FILE__))); > } > if (!defined('WWW_ROOT')) { > define('WWW_ROOT', dirname(__FILE__) . DS); > } > > if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { > trigger_error("CakePHP core could not be found. Check the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to > the directory containing your " . DS . "cake core directory and your > " . DS . "vendors root directory.", E_USER_ERROR); > } > if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { > return; > } else { > //echo Configure::version(); > > $Dispatcher = new Dispatcher(); > $Dispatcher->dispatch($url); > > } > if (Configure::read() > 0) { > echo "<!-- " . round(getMicrotime() - $TIME_START, 4) . "s -->"; > } > ?> > > -- > 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 > -- 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
