Shopify / Shopify/shopify-app-template-php
Could not find the current session id in the cookies
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 340
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
Issue summary
I can't install a production app to the live store due to an error "Could not find the current session id in the cookies". A couple of months ago the same app was successfully installed to another store but today I ran into the issue.
Expected behavior
Since there was no any code change the app should be installed without any errors as it was some time ago.
Actual behavior
I have build an app using npm run build command as usual, and after installation I've got an error message
Shopify\Exception\CookieNotFoundException
Could not find the current session id in the cookies
I was trying trying to clear app cache but it doesn't help anyway.
In the same time the app seems to be working fine when run in dev.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by reproducing the production installation after running npm run build and inspect the reported Shopify\Exception\CookieNotFoundException, comparing it with the working development run. Done means identifying why the current session ID cookie is missing and confirming that a production installation completes without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100