Skip to content
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

Error with Docker login #154

Open
DeGroote99 opened this issue Jan 2, 2021 · 3 comments
Open

Error with Docker login #154

DeGroote99 opened this issue Jan 2, 2021 · 3 comments

Comments

@DeGroote99
Copy link

Installed successfully with docker. Able to create an admin ID and practice demographics. Then logged out and got this error
on my LAN

    if (!is_resource($this->stream)) {

        if (null === $this->url || '' === $this->url) {

            throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');

        }

        $this->createDir();

        $this->errorMessage = null;

        set_error_handler([$this, 'customErrorHandler']);

        $this->stream = fopen($this->url, 'a');

        if ($this->filePermission !== null) {

            @chmod($this->url, $this->filePermission);

        }

        restore_error_handler();

        if (!is_resource($this->stream)) {

            $this->stream = null;



            throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $this->url));

        }

    }



    if ($this->useLocking) {

        // ignoring errors here, there's not much we can do about them

        flock($this->stream, LOCK_EX);

    }



    $this->streamWrite($this->stream, $record);



    if ($this->useLocking) {

        flock($this->stream, LOCK_UN);

    }

}
@shihjay2
Copy link
Owner

Can you verify if this error shows up on the browser or on the console when docker-compose is running?

@DeGroote99
Copy link
Author

DeGroote99 commented Jan 29, 2021 via email

@shihjay2
Copy link
Owner

Fixed in commit 01fb5e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants