„Unexpected ‚common‘ on line 7, column 1.“ – nechápu

Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
Grelek
Člen | 233
+
0
-

Zdravím,

Nette 2.0.6, PHP 5.3.3. Hlásí mi to tuto chybu u konfigurace Facebookové aplikace. Nevím, co s tím.
Unexpected 'common' on line 7, column 1.

#
# 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:
		facebook:
			app_id: 000
			app_secret: 000
			permissions: 'offline_access,email,user_location,user_hometown,user_birthday,publish_stream,photo_upload'
			bps_app_id: 000
			namespace:
			photo_message:
			post_name:
			post_description:
			result_message:

	php:
		date.timezone: Europe/Prague
		# zlib.output_compression: yes

	nette:
		application:
			errorPresenter: Error

		database:
			dsn: 'mysql:host=;dbname='
			user:
			password:
			reflection: conventional
			setup:
				- setCacheStorage(NULL)

		session:
			expiration: 10 mins
			autoStart: true


	services:
		authenticator: Authenticator

		database: @nette.database.default

		facebook:
			class: Facebook
			arguments: [[appId: %facebook.app_id%, secret: %facebook.app_secret%]]

		model: Model( @database )


	factories:


production < common:

development < common:
Majkl578
Moderator | 1364
+
0
-