Skip to content

First 15 Minutes tutorial fails. The key [WO] does not exist. #2773

Description

@teleotic

Describe the bug
Fresh installation of Wheels 4.0.1. Following the "Your First 15 Minutes Tutorial" results in an error on the first page after server start: "The key [WO] does not exist."

Error page indicates the error occurs in the onError function itself:

The Error Occurred in
/home/tim/Projects/hello/public/Application.cfc: line 277
275: }
276:
277: local.requestTimeout = application.wo.$getRequestTimeout() + 30;
278: if (StructKeyExists(application, "wheels") && StructKeyExists(application.wheels, "onErrorRequestTimeout")) {
279: local.requestTimeout = application.wheels.onErrorRequestTimeout;

Commenting out onError to try and figure out what the underlying issue is, got another error related to dependency injection: could not find component or class with name [wheels.Injector].

The Error Occurred in
/home/tim/Projects/hello/public/Application.cfc: line 93
91: function onApplicationStart() {
92: application.env = duplicate(this.env);
93: application.wheelsdi = new wheels.Injector("wheels.Bindings");
94:
95: /* wheels/global object */

To Reproduce

  1. Install wheels following tutorial instructions for Linux
  2. Follow "Your First 15 minutes" step 1 to create a new Wheels app
  3. wheels start
  4. Browser loads page with error

Expected behavior
Per tutorial, a welcome page with the message: “Welcome to hello. Your Wheels application is running.”

Desktop (please complete the following information):

  • OS: Ubuntu Linux 26.04 LTS
  • Browser: Chrome 148.0.7778.167, Firefox 150.0.3
  • wheels version 4.0.1
  • Lucee Express 7.0.0.395

Additional context
This is my first github bug report. I read the guidelines before writing up this submission, but please let me know if I missed anything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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