Error's: error 500 / ... Session has been destroyed / Allowed memory size...
Permalink
I have created a website in the latest version, added a custom theme, added some pages etc. Everything went well, created a useraccount so the client can edit the site. Client tries to fill the website.
Now we get different errors:
- session_start(): Failed to decode session object. Session has been destroyed
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 144234385 bytes)
A asked the client were it went wrong. They tried to upload a image (8MB).
I have checked the function in C5 to resize (max image size 1920x1080) uploaded images that are big.
Any Idea to fix this problem and a solution to make sure something like this does not happen in the future.
Now we get different errors:
- session_start(): Failed to decode session object. Session has been destroyed
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 144234385 bytes)
A asked the client were it went wrong. They tried to upload a image (8MB).
I have checked the function in C5 to resize (max image size 1920x1080) uploaded images that are big.
Any Idea to fix this problem and a solution to make sure something like this does not happen in the future.
The session problem could be to do with aggressive caching (eg, Varnish). Changing c5 to database-based sessions might help.