1

after i change my domain name... laravel is not working properly i cant login and register with no error... when i login redirect where middleware is set... even on register are same... on my previous domain name all are working with no problem...

I already try change 'domain' => 'pctiannge.com',in config/session

try to composer dump-autoload, composer update, clear laravel cache and config still no luck...

I try different broswer all are same output...

i can navigate my website...

10
  • pctiangge my website Commented May 13, 2018 at 4:09
  • what laravel version are you using? there's no url config inside config/session, did you mean config/app? Commented May 13, 2018 at 4:35
  • php artisan config:cache after changing config files Commented May 13, 2018 at 4:37
  • im using laravel 5.1 sorry 'domain' => 'pctiannge.com', @aceraven777 Commented May 13, 2018 at 5:21
  • 1
    Maybe you forgot to change some configurations in your .env file. Or check your storage\logs to find out what's happening. Commented May 13, 2018 at 5:30

1 Answer 1

1

When changing anything in any of the config files or the .env you should always run

php artisan config:cache

This will clear your current cache and cache your new settings.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.