Laravel-Backpack / LogManager

An interface to preview, download and delete Laravel log files, using Backpack.
http://backpackforlaravel.com
Other
275 stars 56 forks source link

Logs have not been working for months "The payload is invalid." #30

Closed 666lampshadesOG closed 5 years ago

666lampshadesOG commented 5 years ago

Bug report

What I did:

Tried following this answer but no luck: https://github.com/Laravel-Backpack/LogManager/issues/28#issuecomment-494299732 ( i have the correct blade files )

I get errors when I view the logs.

I deleted the logmanager folder and reinstalled with composer with the following settings

        "backpack/base": "^1.0",
        "backpack/crud": "^3.5",
        "backpack/logmanager": "^2.3",

What I expected to happen:

I expected I could view my logs.

What happened:

When I view log, I get error

domain.co/admin/log/preview/bGFyYXRlbC0yMEE5LTA4LTMxLmxvZw==

 Illuminate \ Contracts \ Encryption \ DecryptException
The payload is invalid.
vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php
        if (! $this->validPayload($payload)) {
            throw new DecryptException('The payload is invalid.');
        }

What I've already tried to fix it:

Tried deleting the logmanager folder and reinstalling with composer.

Tried deleting all log files

Backpack, Laravel, PHP, DB version:

"backpack/base": "^1.0",
"backpack/crud": "^3.5",
"backpack/logmanager": "^2.3",
"laravel/framework": "5.7.*",
"php": "^7.1.3",
welcome[bot] commented 5 years ago

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

-- Justin Case The Backpack Robot

tabacitu commented 5 years ago

Hi @666lampshadesOG ,

I think it's the same issue here https://github.com/Laravel-Backpack/LogManager/issues/28#issuecomment-494299732 - and the same solution should work for you: I suspect your have the LogManager blade files published in your resources/views/vendor/backpack/crud/logmanager folder. Delete that folder if you haven't manually edited those files.

Let me know if this doesn't fix it for you. I'm pretty sure it will.

Cheers!