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

php7 session errors - permission denied #76

Open
danpii opened this issue Nov 18, 2017 · 1 comment
Open

php7 session errors - permission denied #76

danpii opened this issue Nov 18, 2017 · 1 comment

Comments

@danpii
Copy link

danpii commented Nov 18, 2017

Hi,

this is my current setup:
Typo3 7.6.23
CoolUri 1.1.3
php7

I recently upgraded from Typo3 7.6.15 to 7.6.23 and switched to php7.
Since then I get errors in my log file:

Core: Error handler (FE): PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown line 0 Changes in fields: header,l18n_diffsource.

Core: Error handler (FE): PHP Warning: session_start(): open(/tmp/sess_deleted, O_RDWR) failed: Permission denied (13) in /homepages/XX/XXXXXXXXXX/htdocs/XXX/htdocs/typo3conf/ext/cooluri/Classes/Integration/CoolUri.php line 41 Changes in fields: sys_language_uid,tx_flux_children,l18n_diffsource.

Core: Error handler (FE): PHP Warning: Unknown: open(/tmp/sess_deleted, O_RDWR) failed: Permission denied (13) in Unknown line 0 Changes in fields: l18n_diffsource.

After completing the typo3 update and php switch I cleared all cashes and did a "FORCE UPDATE OF ALL LINKS" of CoolUri. This led to hundreds of error messages. Now I get a few every week.

I tried to set the session.save_path manually via php.ini, but 1und1 doesn't support this.

Any idea why CoolUri suddenly can't write session data anymore? It seems all CoolUri links are still generated correctly.

Thanks
Daniel

@bednee
Copy link
Owner

bednee commented Nov 18, 2017

CoolUri starts session in order to store parsed configuration for performance reasons. Seems that the /tmp directory is not writeable for PHP user, or the directory is full (https://stackoverflow.com/questions/6821532/php-warning-permission-denied-13-on-session-start)

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