This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

driss.chelouati27209
driss.chelouati27209

Experimenting a terrible issue that returns a 500 error on all store pages, until I remove the cart component from the markup. The system complains about invalid arguments for the cookie expiration date. Below a screenshot of the Log. What could be causing this? I ended up redoing the entire store from scratch (using the mall theme) to prevent that from happening again, but cannot confirm that it works in production since it's not deployed yet (However working on local environment). Store simply stopped working when upgraded October to build 471 from build 469. Any clue?

In the logs, the only error is:

InvalidArgumentException: The cookie expiration time is not valid. in 'home/cssninjaua/www/vendor/symfony/http-foundation/Cookie.php:120

Searched the logs, the forums and github for an answer, but couldn't find any. Some help would be truly appreciated, since Iam mostly frontend.

Thanks!

Last updated

JeffGoldblum
JeffGoldblum

Looks like it's related to https://stackoverflow.com/questions/51871739/the-cookie-expiration-time-is-not-valid, which occurs if you're running PHP on a 32bit system. Try switching to a 64bit system instead.

driss.chelouati27209
driss.chelouati27209

@LukeTowers, thanks for the quick answer. Switching to 64bit system immediately solved the issue.

JeffGoldblum
JeffGoldblum

Glad to hear it!

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.