Author Topic: Error with PHP  (Read 6221 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error with PHP
« on: August 12, 2018, 11:46:59 AM »
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.

Code: [Select]
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?

Offline
***
Re: Error with PHP
« Reply #1 on: August 12, 2018, 12:29:06 PM »
What is the path defined here /dir.file.php on line 62

Usually it is /tmp

Offline
*
Re: Error with PHP
« Reply #2 on: January 12, 2019, 09:35:19 PM »
Those aren't error, those are warning, you can hide warnings by this code:
Code: [Select]
error_reporting(E_ERROR | E_PARSE);also you can turn off wordpress debugger in wp-config.php , replace this code
Code: [Select]
define( 'WP_DEBUG', true );with
Code: [Select]
define( 'WP_DEBUG', false );
خرید بازی دست دوم ps4
https://www.a-game.ir