bednee / cooluri

GIT repository for TYPO3 extension CoolUri
7 stars 12 forks source link

php7 session errors - permission denied #76

Open danpii opened 6 years ago

danpii commented 6 years ago

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 commented 6 years ago

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)