Found section ‚php‘ in configuration, but corresponding extension is missing
Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
- Carson
- Člen | 35
Ahoj,
Píšu si větší projekt a po dnešním přidání nové třídy mi nette vyhazuje chybu
Found section 'php' in configuration, but corresponding extension is missing.
V boostrap jsem nic nemělnil a ani v konfiguračním souboru, netušíte co by to mohlo být? Docela mi to brzdí vývoj…
díky!
- Carson
- Člen | 35
config.neon
# WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
# https://nette.org/en/security-warning
parameters:
uri:
port_config: /****/app/Modules/CustomerModule/
snmp:
user: ****
pass:
srv:
user: ***
pass: ***
bash:
user: ***
pass: ***
php:
date.timezone: Europe/Prague
extensions:
dibi: Dibi\Bridges\Nette\DibiExtension22
dibi_dev: Dibi\Bridges\Nette\DibiExtension22
dibi_bill: Dibi\Bridges\Nette\DibiExtension22
dibi:
host: ***
username: ***
password: ***
driver: postgre
database: **_db
lazy: TRUE
autowired: false
dibi_bill:
host: *****
username: *****
password: ****
driver: postgre
database: **_dev
lazy: TRUE
autowired: false
application:
errorPresenter: Error
mapping:
*: App\Modules\*Module\Presenters\*Presenter
session:
expiration: 1 days
autoStart: yes
services:
SMSModel: App\Modules\SMSModule\Models\SMSModel(@dibi.connection)
SiteInfrastructureModel: App\Modules\SiteInfrastructureModule\Models\SiteInfrastructureModel(@dibi_bill.connection)
ServiceDepartmentModel: App\Modules\StatisticModule\Models\ServiceDepartmentModel(@dibi.connection,@dibi_bill.connection)
SalesDepartmentModel: App\Modules\StatisticModule\Models\SalesDepartmentModel(@dibi.connection,@dibi_bill.connection)
StatisticBaseModel: App\Modules\StatisticModule\Models\StatisticBaseModel(@dibi.connection,@dibi_bill.connection)
GenerateConfigurationModel: App\Modules\SiteInfrastructureModule\Models\GenerateConfigurationModel(@dibi_bill.connection)
SearchCustomerModel: App\Modules\CustomerModule\Models\SearchCustomerModel(@dibi_bill.connection)
CustomerDetailModel: App\Modules\CustomerModule\Models\CustomerDetailModel(@dibi_bill.connection,@dibi.connection)
UserManagementModel: App\Modules\ManagementModule\Models\UserManagementModel(@dibi.connection)
OrganizationPositionModel: App\Modules\ManagementModule\Models\OrganizationPositionModel(@dibi.connection)
PermissionModel: App\Modules\ManagementModule\Models\PermissionModel(@dibi.connection)
#KeyManagement
RingActionModel: App\Modules\KeyManagementModule\Models\RingActionModel(@dibi.connection)
RingSummaryModel: App\Modules\KeyManagementModule\Models\RingSummaryModel(@dibi.connection)
RingDetailModel: App\Modules\KeyManagementModule\Models\RingDetailModel(@dibi.connection)
TroubleActionModel: App\Modules\KeyManagementModule\Models\TroubleActionModel(@dibi.connection)
# BaseModel: App\Modules\MainModule\Models\BaseModel(@dibi.connection)
router: App\RouterFactory::createRouter
authenticator: App\Modules\AuthModule\Models\Auth(@dibi.connection)
# Neogate: App\libs\Neogate\CSMSConnect\CSMSConnect