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

Admin login and register forms not working on server #7

Closed
Nesma-Hamdy opened this issue Sep 27, 2021 · 3 comments
Closed

Admin login and register forms not working on server #7

Nesma-Hamdy opened this issue Sep 27, 2021 · 3 comments

Comments

@Nesma-Hamdy
Copy link

Nesma-Hamdy commented Sep 27, 2021

I have installed It package locally and it is working fine but after uploading the files to the host login and register forms didn't work it keeps resulting the error
419 Page Expired
I have changed the permissions for storage and bootstrap cache but with no luck
and the language links always redirects me to the default language (ar) it didn't work either.
is there any configs missing ? I have set the APP_URL and ASSET_URL in the .env file

@arabnewscms
Copy link
Owner

laravel session not persisting
in public/index.php add this on first line
ob_start();
session_start();

<?php
ob_start();
session_start();

use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));

...
your host maybe not initialize session driver
go to storage/session delete all files on this folder and test your application again
tell me if you facing same error again

@arabnewscms arabnewscms pinned this issue Sep 28, 2021
@Nesma-Hamdy
Copy link
Author

It's working now, thanks a lot

@arabnewscms
Copy link
Owner

good job
have a nice day

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