Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

max178nn

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

max178nn's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Проблему решили. Ответ от хостера : Ошибки с подобным текстом говорят о том, что скриптам сайта не удается создать временные файлы сессий ввиду отсутствия удаленной ранее папки tmp в корневой директории аккаунта. В настоящий момент мы создали директорию вручную, сайт работает.
  2. (хостинг sprinthost ) После установки не удаётся войти в административную панель и высвечивается ошибка вверху экрана Warning: session_start(): open(/home/a0015702/tmp/sess_a1iaj7fra40bqa7n6ck6dbuja1, O_RDWR) failed: No such file or directory (2) in /home/a0015702/domains/2treadles.ru/public_html/store/system/library/session.php on line 21 <?php class Session { public $data = array(); public function __construct($session_id = '', $key = 'default') { if (!session_id()) { ini_set('session.use_only_cookies', 'Off'); ini_set('session.use_cookies', 'On'); ini_set('session.use_trans_sid', 'Off'); ini_set('session.cookie_httponly', 'On'); if (isset($_COOKIE[session_name()]) && !preg_match('/^[a-zA-Z0-9,\-]{22,40}$/', $_COOKIE[session_name()])) { exit(); } if ($session_id) { session_id($session_id); } session_set_cookie_params(0, '/'); session_start(); } if (!isset($_SESSION[$key])) { $_SESSION[$key] = array(); } $this->data =& $_SESSION[$key]; } public function getId() { return session_id(); } public function start() { return session_start(); } public function destroy() { return session_destroy(); } }
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.