S
S
Sergey2016-06-04 21:23:12
symfony
Sergey, 2016-06-04 21:23:12

What could be the error in parameters.yml?

InvalidArgumentException in YamlFileLoader.php line 338:
There is no extension able to load the configuration for "parameters" (in ~/app/config/parameters.yml).
What could be wrong and why you don't like parameters:

parameters:
    database_driver: pdo_mysql
    database_host: localhost
    database_port: null
    database_name: new_colornew_prod
    database_user: colornew_prod
    database_password: 7Q4f2V8e
    # mailer_transport: smtp
    # mailer_host: 127.0.0.1
    # mailer_user: null
    # mailer_password: null
    mailer_transport: gmail

The config itself is valid in terms of yaml syntax

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-06-06
@karmis

The problem was that after editing the file through ISPManager, something happened to the file name itself .. or properties. Recreating the parameters.yml file helped.

A
Artem Soshnikov, 2016-06-05
@artem90

Try to demolish the vendor folder and run composer install
I didn’t encounter such an error, but it seems that which packages were not delivered (for an unknown reason)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question