Laděnka nejde zapnout, Debugger::DEVELOPMENT nepomáhá, server hlásí pořád 500

- svagi
 - Člen | 15
 
Zdravím všechny nettaře,
mám problém s laděnkou, vyzkoušel jsem všechno možné, ale laděnka nejde zapnout, server pořád hlásí jen error 500, už absolutně nevím co s tím. Mám základní skeleton ze sandboxu, ale ať nastavím co nastavím, bez úspěchů. Setkal jste se s tím někdo? Přikládám mé verze souborů, jestli v tom náhodou neuvidíte něco, co v tom já nevidím. Zkrátka jakékoliv přepnutí jako je např.: Debugger::enable(Debugger::DEVELOPMENT); nefunguje.
bootstrap.php
<?php
/**
 * My Application bootstrap file.
 */
use Nette\Application\Routers\Route;
// Load Nette Framework
require LIBS_DIR . '/Nette/loader.php';
// Configure application
$configurator = new Nette\Config\Configurator;
// Enable Nette Debugger for error visualisation & logging
//$configurator->setProductionMode($configurator::AUTO);
$configurator->enableDebugger(__DIR__ . '/../log');
// Enable RobotLoader - this will load all classes automatically
$configurator->setTempDirectory(__DIR__ . '/../temp');
$configurator->createRobotLoader()
	->addDirectory(APP_DIR)
	->addDirectory(LIBS_DIR)
	->register();
// Create Dependency Injection container from config.neon file
$configurator->addConfig(__DIR__ . '/config/config.neon');
$container = $configurator->createContainer();
// Setup router
$container->router[] = new Route('index.php', 'Homepage:default', Route::ONE_WAY);
$container->router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default');
// Configure and run the application!
$container->application->run();
config.neon
#
# SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
#
# If you don't protect this directory from direct web access, anybody will be able to see your passwords.
# https://nette.org/en/security-warning
#
common:
	parameters:
		database:
			driver: mysql
			host: localhost
			dbname: test
			user:
			password:
	php:
		date.timezone: Europe/Prague
		# session.save_path: "%tempDir%/sessions"
		# zlib.output_compression: yes
	nette:
		session:
			autoStart: smart
		database:
			default:
				dsn: '%database.driver%:host=%database.host%;dbname=%database.dbname%'
				user: %database.user%
				password: %database.password%
                application:
                    debugger: true
                    catchExceptions: true
                container:
                    debugger: true
                    catchExceptions: false
                routing:
                        debugger: true
                        routes:
                security:
                        debugger: true
                debugger:
                        strictMode: true
	services:
		database: @Nette\Database\Connection
		authenticator: Authenticator( @database::table(users) )
	factories:
production < common:
development < common:
.htaccess
# Apache configuration file (see httpd.apache.org/docs/2.2/mod/quickreference.html)
# disable directory listing
#Options -Indexes
# enable cool URL
<IfModule mod_rewrite.c>
	RewriteEngine On
	# RewriteBase /
	# front controller
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule !\.(pdf|js|ico|gif|jpg|png|css|rar|zip|tar\.gz)$ index.php [L]
</IfModule>
# enable gzip compression
<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript application/javascript application/json
</IfModule>
A pro jistotu i Requirements Checker
http://dl.dropbox.com/…2_204941.png
Budu moc vděčnej za každou radu!

- svagi
 - Člen | 15
 
gmvasek napsal(a):
$configurator->setProductionMode(FALSE); $configurator->enableDebugger(__DIR__ . '/../log');nebo zavolat
Debugger::enable(Debugger::DEVELOPMENT);až po zavolání tohoto kódu.
Výborně!!! Děkuju, konečně něco zabralo, tohle jsem už zkoušel i předtím, ale až za
$configurator->enableDebugger(__DIR__ . '/../log');
je potřeba to mít před! Díky moc mocný nette guru!
Editoval svagi (9. 3. 2012 22:20)