Skip to content

Errors when trying to install wordpress as wellΒ #11

@joezappie

Description

@joezappie

Following the video: https://www.youtube.com/watch?v=KXpzviVosSY&list=PL6GBdOp044SHIOSCZejodwr1HcYsC43wG&index=1

Leaving all the defaults, except changing to "yes" for "Would you like to install WordPress as well?" and specifying the "127.0.0.1" db host, it gives two errors during the installation:

  • Immediately returns The syntax of the command is incorrect.
  • Later in the script it warns file_get_contents(C:\Users\Joe Jankowiak\projects/test-theme/wp-content/themes/test-theme/../../../wp-config.php): Failed to open stream:

Looking at the generated files, wp-config.php does exist, but it is empty.

tailpress -v
TailPress Installer 5.0.0
What is the name of your theme? [test-theme]:
 >


 What is the theme author name? [Jeffrey van Rossum]:
 >


 What is the theme author email? [[email protected]]:
 >


 What is the local development url of your site? [http://localhost:8000]:
 >


 Would you like to install WordPress as well? (yes/no) [no]:
 > yes


 What is the name of your database? [test_theme]:
 >


 What is the user of your database? [root]:
 >


 What is the password of your database?:
 >


 What is the host of your database? [localhost]:
 > 127.0.0.1

    The syntax of the command is incorrect.
    Creating a "tailpress/tailpress" project at "test-theme/wp-content/themes/test-theme"
    Installing tailpress/tailpress (5.0.2)
  - Installing tailpress/tailpress (5.0.2): Extracting archive
    Created project in C:\Users\Joe Jankowiak\projects/test-theme/wp-content/themes/test-theme
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 13 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing automattic/jetpack-autoloader (v2.12.0): Extracting archive
      - Installing symfony/deprecation-contracts (v3.5.1): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.5.1): Extracting archive
      - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing symfony/string (v7.2.6): Extracting archive
  - Installing symfony/console (v7.2.6): Extracting archive
  - Installing tailpress/framework (5.0.3): Extracting archive
  - Installing symfony/filesystem (v7.2.0): Extracting archive
  - Installing tailpress/cli (5.0.1): Extracting archive
      0/12 [>---------------------------]   0%
 10/12 [=======================>----]  83%
 12/12 [============================] 100%
    Generating autoload files
Deprecation Notice: Automattic\Jetpack\Autoloader\AutoloadGenerator::__construct(): Implicitly marking parameter $io as nullable is deprecated, the explicit nullable type must be used instead in C:\Users\Joe Jankowiak\projects\test-theme\wp-content\themes\test-theme\vendor\automattic\jetpack-autoloader\src\AutoloadGenerator.php:45
Generating jetpack autoloader (C:/Users/Joe Jankowiak/projects/test-theme/wp-content/themes/test-theme/vendor/jetpack-autoloader/)
  Generated: ../autoload_packages.php
  Generated: class-autoloader-handler.php
  Generated: class-autoloader-locator.php
  Generated: class-autoloader.php
  Generated: class-container.php
  Generated: class-hook-manager.php
  Generated: class-latest-autoloader-guard.php
      Generated: class-manifest-reader.php
  Generated: class-path-processor.php
  Generated: class-php-autoloader.php
  Generated: class-plugin-locator.php
  Generated: class-plugins-handler.php
  Generated: class-shutdown-handler.php
  Generated: class-version-loader.php
  Generated: class-version-selector.php
Generating jetpack autoloader manifests (C:/Users/Joe Jankowiak/projects/test-theme/wp-content/themes/test-theme/vendor/composer)
  Generated: jetpack_autoload_classmap.php
  Generated: jetpack_autoload_psr4.php
  Generated: jetpack_autoload_filemap.php
You are generating an unoptimized autoloader. If this is a production build, consider using the -o option.
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
    No security vulnerability advisories found.
PHP Warning:  file_get_contents(C:\Users\Joe Jankowiak\projects/test-theme/wp-content/themes/test-theme/../../../wp-config.php): Failed to open stream: No such file or directory in C:\Users\Joe Jankowiak\AppData\Roaming\Composer\vendor\tailpress\installer\src\Console\NewCommand.php on line 172
    The system cannot find the file specified.

🌊 Your boilerplate is ready, go create something beautiful!

πŸ—οΈ Your theme path: C:\Users\Joe Jankowiak\projects/test-theme/wp-content/themes/test-theme

πŸ“ Your WordPress path: C:\Users\Joe Jankowiak\projects/test-theme

✨ If you like TailPress, please consider starring the repo at https://github.com/tailpress/tailpress

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions