Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8341317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:26:44+00:00 2026-06-09T05:26:44+00:00

when i am installing sonata-admin package into my symfony project. I have configured my

  • 0

when i am installing sonata-admin package into my symfony project. I have configured my yml file as follow:

sonata_block:
    default_contexts: [cms]
    blocks:
        sonata.admin.block.admin_list:
            contexts:   [admin]
        sonata.block.service.text:
        sonata.block.service.action:
        sonata.block.service.rss:

and i hve deps file as follow:

[SonataAdminBundle]
    git=git://github.com/sonata-project/SonataAdminBundle.git
    target=/bundles/Sonata/AdminBundle
    version=origin/2.0

I am getting the following error

Installing/Updating SonataAdminBundle
a25d8c0e084ed4a175b89a93e93bdea2cf5563ab
fatal: Unable to look up github.com (port 9418) (No such host is known. )

  [Symfony\Component\Config\Exception\FileLoaderLoadException]

  Cannot import resource "C:\wamp\www\Symfony\app/config\config.yml" from "C:\wa
mp\www\Symfony\app/config/config_dev.yml".




  [InvalidArgumentException]




  There is no extension able to load the configuration for "sonata_block" (in C:
\wamp\www\Symfony\app/config\config.yml). Looked for namespace "sonata_block", f
ound "framework", "security", "twig", "monolog", "swiftmailer", "doctrine", "ass
etic", "sensio_framework_extra", "jms_security_extra", "acme_hello", "acme_task"
, "ensl_jobeet", "acme_demo", "web_profiler", "sensio_distribution"











  [Symfony\Component\Config\Exception\FileLoaderLoadException]

  Cannot import resource "C:\wamp\www\Symfony\app/config\config.yml" from "C:\wa
mp\www\Symfony\app/config/config_dev.yml".











  [InvalidArgumentException]




  There is no extension able to load the configuration for "sonata_block" (in C:
\wamp\www\Symfony\app/config\config.yml). Looked for namespace "sonata_block", f
ound "framework", "security", "twig", "monolog", "swiftmailer", "doctrine", "ass
etic", "sensio_framework_extra", "jms_security_extra", "acme_hello", "acme_task"
, "ensl_jobeet", "acme_demo", "web_profiler", "sensio_distribution"

what should I do in this case

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:26:46+00:00Added an answer on June 9, 2026 at 5:26 am

    When you try to install your vendors it seems that it cannot contact with github.com with the git: protocol, that is why it is saying that it cannot contact using the 9418 port, which is the port that the git protocol uses. This may be due to some firewall blocking this port or any similar reason. Since it cannot download the SonataAdmin code that is why you get all the other errors.

    What you can do is replace the git: protocol with the http: protocol which can be used to access github as well. So just change your deps to:

    [SonataAdminBundle]
        git=http://github.com/sonata-project/SonataAdminBundle.git
        target=/bundles/Sonata/AdminBundle
        version=origin/2.0
    

    and it should work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to symfony2 and and now i have installed Sonata Admin bundle.
While installing my Application into the Android device, the Database file is storing in
After installing Monobjc and playing around with the Monobjc Application Project under C# in
Installing the RODBC package on Ubuntu is a bit of a kludge. First I
After installing the package, I enter the python environment. I am new to python
Installing roundcube webmail: I have the DB set up (win serv 2008, MS SQL
Installing redis is really easy. I have done it on several VM. But on
While installing Papyrus 0.9.0M6 to Eclipse Juno through the downloaded .Zip file, Juno says,
After installing the new server, I am facing an issue. I have lot of
Does installing Dotnet 1.1 after 4.0 give any head aches? -- I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.