Skip to content

impossible de lancer son site #60385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aragon5956 opened this issue May 8, 2025 · 1 comment
Closed

impossible de lancer son site #60385

aragon5956 opened this issue May 8, 2025 · 1 comment

Comments

@aragon5956
Copy link

Symfony version(s) affected

6.4.Y

Description

je n'arrive pas à lancer mon serveur web ! pourquoi ?!! qu'est ce que vous avez fait ?
j'ai ceci :

alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ symfony server:start
                                                                                                                        
 [WARNING] The local web server is already running                                                                      
                                                                                                                        

Local Web Server
    Listening on http://127.0.0.1:8000
    The Web server is using PHP FPM 8.3.6 (from default version in $PATH)

Local Domains

Workers
    No Workers

Environment Variables
    None
alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ php -v
PHP 8.3.6 (cli) (built: Mar 19 2025 10:08:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ symfony console
ParseError {#494
  #message: "syntax error, unexpected floating-point number ".86", expecting "]""
  #code: 0
  #file: "./src/Controller/PiratagesIlSeFontFaitGuauleController.php"
  #line: 16
  trace: {
    ./src/Controller/PiratagesIlSeFontFaitGuauleController.php:16 {
      Composer\Autoload\{closure}
      › 
      › $rawlogs=[196.251.86.175 - - [06/May/2025:00:01:53 +0200] "GET /.env HTTP/1.1" 404 660 "-" "Mozilla/5.0 (Linux; Android 9; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.18 Mobile Safari/537.36",
      › 45.156.129.134 - - [06/May/2025:01:09:35 +0200] "GET / HTTP/1.1" 200 988 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
    }
    ./vendor/composer/ClassLoader.php:427 { …}
    ./vendor/symfony/error-handler/DebugClassLoader.php:304 { …}
    Symfony\Component\ErrorHandler\DebugClassLoader->loadClass() {}
    ./vendor/symfony/config/Resource/ClassExistenceResource.php:76 { …}
    ./vendor/symfony/dependency-injection/ContainerBuilder.php:361 { …}
    ./vendor/symfony/dependency-injection/Loader/FileLoader.php:293 { …}
    ./vendor/symfony/dependency-injection/Loader/FileLoader.php:121 { …}
    ./vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:706 { …}
    ./vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:254 { …}
    ./vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:177 { …}
    ./vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:133 { …}
    ./vendor/symfony/config/Loader/FileLoader.php:167 { …}
    ./vendor/symfony/config/Loader/FileLoader.php:98 { …}
    ./vendor/symfony/dependency-injection/Loader/FileLoader.php:70 { …}
    ./vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php:64 { …}
    ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:57 { …}
    ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:190 { …}
    ./vendor/symfony/dependency-injection/Loader/ClosureLoader.php:36 { …}
    ./vendor/symfony/config/Loader/DelegatingLoader.php:37 { …}
    ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:146 { …}
    ./vendor/symfony/http-kernel/Kernel.php:617 { …}
    ./vendor/symfony/http-kernel/Kernel.php:506 { …}
    ./vendor/symfony/http-kernel/Kernel.php:772 { …}
    ./vendor/symfony/http-kernel/Kernel.php:126 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:190 { …}
    ./vendor/symfony/framework-bundle/Console/Application.php:72 { …}
    ./vendor/symfony/console/Application.php:175 { …}
    ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …}
    ./vendor/autoload_runtime.php:29 { …}
    ./bin/console:11 { …}
  }
}
2025-05-08T18:36:26+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-05-08T18:36:26+00:00 [critical] Uncaught Error: syntax error, unexpected floating-point number ".86", expecting "]"
alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ symfony 
Symfony CLI version 5.10.6 (c) 2021-2025 Fabien Potencier (2025-01-02T13:30:55Z - stable)
Symfony CLI helps developers manage projects, from local code to remote infrastructure

These are common commands used in various situations:

Work on a project locally

  local:new                                                      Create a new Symfony project
  local:server:start                                             Run a local web server
  local:server:stop                                              Stop the local web server
  local:check:security                                           Check security issues in project dependencies
  composer                                                       Runs Composer without memory limit
  console                                                        Runs the Symfony Console (bin/console) for current project
  php, pecl, pear, php-fpm, php-cgi, php-config, phpdbg, phpize  Runs the named binary using the configured PHP version

Manage a project on Cloud

  project:init              Initialize a new project using templates
  cloud:domain:list         Get a list of all domains
  cloud:environment:branch  Branch an environment
  cloud:environment:list    Get a list of environments
  cloud:environment:push    Push code to an environment
  cloud:environment:ssh     SSH to the current environment
  cloud:project:list        Get a list of all active projects
  cloud:tunnel:open         Open SSH tunnels to an app's relationships
  cloud:user:add            Add a user to the project
  cloud:variable:list       List variables

Show all commands with symfony help,
Get help for a specific command with symfony help COMMAND.
alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ 
Capture.video.du.2025-05-08.20-34-59.webm

c'est par rapport à ce que j'ai dit la dernière fois ?

How to reproduce

commande symfony server:start

Possible Solution

mise à jour

Additional Context

No response

@aragon5956
Copy link
Author

aragon5956 commented May 8, 2025

c'est bon j'ai réussi ! il a fallu taper symfony server:stop avant ! pourquoi exactement, je sais pas !
au cas où ça intéresse quelqu'un , il aurait fallu taper : lsof -i | grep 8000 pour le savoir avant

Cordialement

@fabpot fabpot closed this as completed May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants