Thread Starter
Chekki
(@chekki)
This message you find also at the end of each page:
Warning: Unknown: open(/home/www/__USER__/phptmp//sess_c6fu8utl2idmuhg892nkn03ib3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/www/__USER__/phptmp/) in Unknown on line 0
The problem only appears when AMP for WP – Accelerated Mobile Pages ist activated.
-
This reply was modified 8 years, 6 months ago by
Chekki.
Hi @chekki
Make sure you are on the latest version of the plugin. Then deactivate it and activate it again. If it doesn’t fix the issue, turn Mobile Redirect to OFF and save and then on again.
That might fix the issue.
I think it’s coming because the mobile redirection was enabled on 5.6 and the php session was initiated through “phptmp//sess_iuab33pqd0p0boghqj7fn5o246, O_RDWR”
but after the PHP upgrade the phptmp folder isn’t there but your browser or server is still looking for that folder.
Can you try that and let me know if that fixes?
Thread Starter
Chekki
(@chekki)
Hi @ahmedkaludi
thanks for your reply.
All of this doesn´t work. Please see this issue while PHP 7 is activated:
https://handangeln.de/
I would appreciate if you could have a look as soon as possible.
Best regards
Chekki
-
This reply was modified 8 years, 6 months ago by
Chekki.
Thread Starter
Chekki
(@chekki)
Update: After I have deactivated Mobile redirection (and keep it deactivated) it works. But is there a solution to get it activated without getting trouble?
Thread Starter
Chekki
(@chekki)
@ahmedkaludi
I need mobile redirection. Do you see any solution?
Best regards
Chekki
Hi @chekki
Does the issue still presist on your website?
Can you please let me know?
I apologise for the late reply
Thread Starter
Chekki
(@chekki)
@mohammed_kaludi
the problem still presist on the website when I enable mobile redirection with php 7:
Warning: session_start(): open(/home/www/__USER__/phptmp//sess_5q7jsu92ofejgu6cg4t1j689u4, O_RDWR) failed: No such file or directory (2) in /var/www/vhosts/th7855w23.vorschauseite.eu/httpdocs/handangeln/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 93
Hope you can help.
Best regards
Chekki
@chekki
Can you please contact us directly on team@magazine3.com?
I will make sure that I get in touch with development team
@chekki
If you have access to a WHM, disable PHP-FPM. This worked for me and now it works perfectly.
Thank you @europeangaming for the suggestion, I have updated the https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1576
@chekki have you tried this?
We want to include this compatibility but have you responded our email?
Thread Starter
Chekki
(@chekki)
I have updated server and installed php 7.0.24.
Now I have no error warning anymore. Thanks for your support.
Best regards
Chekki