Error with PHP

Started by agharaafat, August 12, 2018, 11:46:59 AM

Previous topic - Next topic

agharaafat

Hello,
i try to transfer from Kloxo-mr 7 to cwp7pro.
now i have cwp7pro with apache+nginx+virnish and php 7.2

after uploaded wordpress backup and restore it i got this error in all wordpress websites.


Warning: session_start(): open(\\\\\\\\/sess_fd71023043d07f49877523683d5d3f00, O_RDWR) failed: No such file or directory (2) in /dir.file.php on line 62

Warning: session_start(): Failed to read session data: files (path: \\\\\\\\) in /dir.file.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at //dir.file.php on line 1219


what's correct session path dir for domain?

and what's wrong with headers?

bullten

What is the path defined here /dir.file.php on line 62

Usually it is /tmp

aidinmc

Those aren't error, those are warning, you can hide warnings by this code:
error_reporting(E_ERROR | E_PARSE);
also you can turn off wordpress debugger in wp-config.php , replace this code
define( 'WP_DEBUG', true );
with
define( 'WP_DEBUG', false );
خرید بازی دست دوم ps4
https://www.a-game.ir