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

Session Data Not Being Stored in the Server Database Upon App Installation #525

Open
arpitZehntech opened this issue Dec 17, 2024 · 1 comment

Comments

@arpitZehntech
Copy link

arpitZehntech commented Dec 17, 2024

I have updated my .env file and configured the DB_CONNECTION as follows:

APP_NAME="Essential Trust Badges & Icons Dev"
APP_ENV=production
APP_KEY=**********
APP_DEBUG=true

LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=sqlite

DB_CONNECTION=mysql
DB_HOST=************
DB_PORT=****
DB_DATABASE=************
DB_USERNAME=************
DB_PASSWORD=************

The path to the database file should be absolute; ensure it is updated accordingly.

DB_DATABASE=storage/db.sqlite

DB_FOREIGN_KEYS=true
SESSION_DRIVER=database

SHOPIFY_API_KEY=""
SHOPIFY_API_SECRET="
****"

However, after deploying the application on the server and installing it in my store, the session data is not being stored in the session table in the server database.
Could you please assist me in identifying the issue and provide potential solutions?

@arpitZehntech arpitZehntech changed the title Session is not string on app installation on server Session Data Not Being Stored in the Server Database Upon App Installation Dec 17, 2024
@arpitZehntech

This comment has been minimized.

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

1 participant