sulu / SuluProductBundle

Sulu product bundle
MIT License
7 stars 8 forks source link

fsockopen(): unable to connect to 127.0.0.1:8000 #379

Open betorcs opened 5 years ago

betorcs commented 5 years ago
Q A
Bug? Yes
New Feature? no
Version 0.17.6
Browser Version Google Chrome 74.0.3729.169 (Official Build) (64-bit)

Actual Behavior

Getting error 500 after install sulu/product-bundle

Steps to Reproduce

  1. Setup new project like described here http://docs.sulu.io/en/latest/book/getting-started.html
  2. Removes caches rm -rf var/cache
  3. Add "sulu/product-bundle": "0.17.6", to composer.json
  4. Run composer update
  5. Finally run bin/console server:run

Additional information

Log : var/logs/admin/dev.log

[2019-06-06 13:57:16] php.INFO: The Symfony\Bridge\Twig\Extension\FormExtension class implements Twig\Extension\InitRuntimeInterface that is deprecated since Twig 2.7, to be removed in 3.0 {"type":16384,"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":238,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":238,"function":"trigger_error"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"function":"spl_autoload_call"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php","line":47,"function":"__construct","class":"ReflectionClass","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php","line":102,"function":"process","class":"Symfony\\Bundle\\TwigBundle\\DependencyInjection\\Compiler\\ExtensionPass","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php","line":587,"function":"compile","class":"Symfony\\Component\\DependencyInjection\\Compiler\\Compiler","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":508,"function":"compile","class":"Symfony\\Component\\DependencyInjection\\ContainerBuilder","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":131,"function":"initializeContainer","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php","line":62,"function":"boot","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"},{"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":117,"function":"doRun","class":"Symfony\\Bundle\\FrameworkBundle\\Console\\Application","type":"->"},{"file":"/Users/.../bin/console.php","line":23,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/Users/.../bin/console","line":21,"args":["/Users/.../bin/console.php"],"function":"include"}]} []
[2019-06-06 13:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
[2019-06-06 13:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DumpListener::configure". [] []
[2019-06-06 13:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand". [] []
[2019-06-06 13:57:16] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand". [] []
[2019-06-06 13:57:16] php.DEBUG: fsockopen(): unable to connect to 127.0.0.1:8000 (Connection refused) {"type":2,"file":"/Users/.../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/ServerCommand.php","line":61,"level":28928} []
$ composer info

aferrandini/urlizer                  1.0.0              Library for urlizer
alchemy/binary-driver                1.6.0              A set of tools to build binary drivers
behat/transliterator                 v1.2.0             String transliterator
cboden/ratchet                       v0.3.6             PHP WebSocket library
composer/ca-bundle                   1.1.4              Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
dantleech/glob-finder                1.0.0              Library offering object location from hierarchrical persistent storage systems using globs
dantleech/phpcr-migrations-bundle    1.1.0              PHPCR migrations bundle
doctrine/annotations                 v1.6.1             Docblock Annotations Parser
doctrine/cache                       v1.8.0             Caching library offering an object-oriented API for many cache backends
doctrine/collections                 v1.6.1             PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common                      v2.8.1             Common Library for Doctrine projects
doctrine/data-fixtures               v1.3.1             Data Fixtures for all Doctrine Object Managers
doctrine/dbal                        v2.6.3             Database Abstraction Layer
doctrine/doctrine-bundle             1.10.3             Symfony DoctrineBundle
doctrine/doctrine-cache-bundle       1.3.5              Symfony Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle    v2.4.1             Symfony DoctrineFixturesBundle
doctrine/inflector                   v1.3.0             Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                1.2.0              A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                       v1.0.1             Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm                         v2.5.14            Object-Relational-Mapper for PHP
doctrine/phpcr-bundle                1.3.9              Symfony DoctrinePHPCRBundle
evenement/evenement                  v2.1.0             Événement is a very simple event dispatching library for PHP
friendsofsymfony/http-cache          1.4.5              Tools to manage cache invalidation
friendsofsymfony/rest-bundle         1.7.7              This Bundle provides various tools to rapidly develop RESTful API's with Symfony
gedmo/doctrine-extensions            v2.4.37            Doctrine2 behavioral extensions
goodby/csv                           1.3.0              CSV import/export library
guzzle/guzzle                        v3.9.3             PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle
guzzlehttp/guzzle                    6.3.3              Guzzle is a PHP HTTP client library
guzzlehttp/promises                  v1.3.1             Guzzle promises library
guzzlehttp/psr7                      1.5.2              PSR-7 message implementation that also provides common utility methods
imagine/imagine                      v0.7.1             Image processing for PHP 5.3
incenteev/composer-parameter-handler v2.1.3             Composer script handling your ignored parameter file
ircmaxell/password-compat            v1.0.4             A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password_hash
jackalope/jackalope                  1.2.9              Jackalope PHPCR library
jackalope/jackalope-doctrine-dbal    1.2.8              Jackalope Transport library for Doctrine DBAL
jackalope/jackalope-jackrabbit       1.2.2              Jackalope Transport library for Jackrabbit
jdorn/sql-formatter                  v1.2.17            a PHP SQL highlighting library
jms/metadata                         1.7.0              Class/method/property metadata management in PHP
jms/parser-lib                       1.0.0              A library for easily creating recursive-descent parsers.
jms/serializer                       1.14.0             Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.
jms/serializer-bundle                1.5.0              Allows you to easily serialize, and deserialize data of any complexity
justinrainbow/json-schema            4.1.0              A library to validate a json schema.
layershifter/tld-database            1.0.68             Database abstraction for Public Suffix List
layershifter/tld-extract             1.2.7              TLDExtract, library for extracting parts of domain, e.q. domain parser
layershifter/tld-support             1.1.1              Support package for TLDDatabase and TLDExtract
massive/build-bundle                 0.3.1              Massive Art Build Bundle
massive/search-bundle                0.17.1             Massive Search Bundle
monolog/monolog                      1.24.0             Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/cron-expression            v1.2.1             CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
mustangostang/spyc                   0.6.2              A simple YAML loader/dumper class for PHP
neutron/temporary-filesystem         2.3.0              Symfony filesystem extension to handle temporary files
ocramius/package-versions            1.4.0              Composer plugin that provides efficient querying for installed package versions (no runtime IO)
ocramius/proxy-manager               2.1.1              A library providing utilities to generate, instantiate and generally operate with Object Proxies
oro/doctrine-extensions              1.0.15             Doctrine Extensions for MySQL and PostgreSQL.
pagerfanta/pagerfanta                v1.1.0             Pagination for PHP 5.3
paragonie/random_compat              v9.99.99           PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
php-ffmpeg/php-ffmpeg                0.6.1              FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg
phpcollection/phpcollection          0.5.0              General-Purpose Collection Library for PHP
phpcr/phpcr                          2.1.4              PHP Content Repository interfaces
phpcr/phpcr-migrations               1.1.0              Migrations for PHPCR
phpcr/phpcr-shell                    1.1.1              Shell for PHPCR
phpcr/phpcr-utils                    1.4.0              PHP Content Repository implementation independant utilities
phpoption/phpoption                  1.5.0              Option Type for PHP
piwik/device-detector                3.11.7             The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, media p...
psr/http-message                     1.0.1              Common interface for HTTP messages
psr/log                              1.1.0              Common interface for logging libraries
pulse00/ffmpeg-bundle                0.6.0              Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/alchemy-fr/PHP-FFmpeg)
ralouphie/getallheaders              2.0.5              A polyfill for getallheaders.
ramsey/uuid                          3.8.0              Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
react/event-loop                     v0.4.3             Event loop abstraction layer that libraries can use for evented I/O.
react/promise                        v2.7.1             A lightweight implementation of CommonJS Promises/A for PHP
react/socket                         v0.4.6             Async, streaming plaintext TCP/IP and secure TLS socket server for React PHP
react/stream                         v0.4.6             Basic readable and writable stream interfaces that support piping.
sensio/distribution-bundle           v5.0.24            Base bundle for Symfony Distributions
sensio/framework-extra-bundle        v3.0.29            This bundle provides a way to configure your controllers with annotations
sensio/generator-bundle              v3.1.7             This bundle generates code for you
sensiolabs/security-checker          v5.0.3             A security checker for your composer.lock
stof/doctrine-extensions-bundle      v1.3.0             Integration of the gedmo/doctrine-extensions with Symfony2
sulu/document-manager                0.10.1             Sulu Document Manager
sulu/product-bundle                  0.17.6             The Sulu Bundle for managing products
sulu/sulu                            1.6.27             Sulu core distribution
sulu/validation-bundle               0.3.0              This bundle is for validation of schemas
swiftmailer/swiftmailer              v5.4.12            Swiftmailer, free feature-rich PHP mailer
symfony-cmf/routing                  1.2.0              Extends the Symfony2 routing component for dynamic routes and chaining several routers
symfony-cmf/routing-bundle           1.2.0              Symfony RoutingBundle
symfony-cmf/slugifier-api            1.0.0              Provides a basic slugifier interface to transform text into strings suitable for URLs
symfony/monolog-bundle               v3.3.1             Symfony MonologBundle
symfony/phpunit-bridge               v3.4.28            Symfony PHPUnit Bridge
symfony/polyfill-apcu                v1.11.0            Symfony polyfill backporting apcu_* functions to lower PHP versions
symfony/polyfill-ctype               v1.11.0            Symfony polyfill for ctype functions
symfony/polyfill-intl-icu            v1.11.0            Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring            v1.11.0            Symfony polyfill for the Mbstring extension
symfony/polyfill-php54               v1.11.0            Symfony polyfill backporting some PHP 5.4+ features to lower PHP versions
symfony/polyfill-php55               v1.11.0            Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions
symfony/polyfill-php56               v1.11.0            Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php70               v1.11.0            Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-util                v1.11.0            Symfony utilities for portability of PHP codes
symfony/security-acl                 v3.0.2             Symfony Security Component - ACL (Access Control List)
symfony/swiftmailer-bundle           v2.6.7             Symfony SwiftmailerBundle
symfony/symfony                      v2.8.51            The Symfony PHP framework
true/punycode                        v2.1.1             A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)
twig/extensions                      v1.5.4             Common additional features for Twig that do not directly belong in core
twig/twig                            v2.11.2            Twig, the flexible, fast, and secure template language for PHP
willdurand/hateoas                   2.12.0             A PHP library to support implementing representations for HATEOAS REST web services
willdurand/hateoas-bundle            1.4.0              Integration of Hateoas into Symfony2.
willdurand/jsonp-callback-validator  v1.1.0             JSONP callback validator.
willdurand/negotiation               1.5.0              Content Negotiation tools for PHP provided as a standalone library.
zendframework/zend-code              3.3.1              provides facilities to generate arbitrary code using an object oriented interface
zendframework/zend-eventmanager      3.2.1              Trigger and listen to events within a PHP application
zendframework/zend-hydrator          1.1.0             
zendframework/zend-stdlib            2.7.7             
zendframework/zendsearch             dev-master 274a542 a general purpose text search engine written entirely in PHP 5
alexander-schranz commented 5 years ago

The server bundle (server:run) itself normally know nothing about bundles so this is maybe more a problem that some process blocking your port. Try different port or try to update your symfony/symfony version to 3.4 (which would search for a available port).

alexander-schranz commented 5 years ago

@betorcs also want to mention that this bundle and the other sales bundles are not actively developed anymore.