baijunyao / laravel-bjyblog

Laravel v9 blog
https://baijunyao.com/docs/laravel-bjyblog
MIT License
525 stars 201 forks source link

After updating incorrect operation #129

Closed yuri25 closed 4 years ago

yuri25 commented 4 years ago

Today I performed as usual:

git pull
composer install --no-dev
php artisan bjyblog: update

After authorization by the administrator, the name does not appear in the upper right corner as before, as before, only the "login" link is visible. tag-2

Although the admin panel is available at / admin Cleared the site cache - a message about the successful clearing of the cache did not appear. I tried to write an article, it works more or less, but a new tag was not added, just a window with this tag hangs and that’s it, there is no sending a tag.

tag-1

When trying to publish an article, I received the following error: 419|Page is out of date

baijunyao commented 4 years ago

I logged in successfully. Do you try again? image

Try the following two ways:

  1. Clear cache

    php artisan cache:clear
    php artisan config:clear

    Clear browser cache. image

  2. Check .env file The APP_URL should be https://xtty.ru

If it still doesn't work, please let me know, thank you.

baijunyao commented 4 years ago

I just added a hotfix commit.
You need to pull the latest code.
If you want both xtty.ru and www.xtty.ru login in.
You need to add SESSION_DOMAIN=.xtty.ru to .env file.

yuri25 commented 4 years ago

I performed:

git pull 
composer install --no-dev
php artisan bjyblog:update

Then in the console:

php artisan cache:clear
php artisan config:clear

Logged in as administrator normally. Unfortunately, a new tag is not added to the article, the window continues to hang and nothing happens. The same thing when trying to publish an article writes this: 419|Page is out of date

baijunyao commented 4 years ago

Try clear your browser cookies?

yuri25 commented 4 years ago

Oh, sorry, after clearing the browser cache everything works fine! Thank you very much! You have solved the problem, Respect!