This error (or 3) randomly appeared a week or 2 ago now and has me confused.
Opening the session.php it shows: (Which I have never opened or edited before)Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13) in /shop/system/library/session/native.php on line 29
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /shop/system/library/session/native.php:29) in /shop/system/library/session.php on line 30
Warning: Cannot modify header information - headers already sent by (output started at /shop/system/library/session/native.php:29) in /shop/system/library/session.php on line 50
<?php
namespace Session;
class Native extends \SessionHandler {
public function create_sid() {
return parent::create_sid();
}
public function open($path, $name) {
return parent::open($path, $name);
}
public function close() {
return parent::close();
}
public function read($session_id) {
return parent::read($session_id);
}
public function write($session_id, $data) {
return parent::write($session_id, $data);
}
public function destroy($session_id) {
return parent::destroy($session_id);
}
public function gc($maxlifetime) {
return parent::gc($maxlifetime);
}
}
As per the forum rules: (To make it easier to support)
- I am running opencart V2.3.0.2 and using the Simpleone Boxed Theme.
- This appeared after installing the SEO Backpack Extension however the developer looked into this and said it was not conflicting with the extension.
- Website is www.coffeepug.com
This tends to appear backend mainly on the dashboard at the top but also can appear at the top of the main page on the front end and also when testing the checkout it appeared under step 4 delivery method.
The file permissions for the session.php are Owner = Read / Write, Group = None, Public = Read
Do I need to enable Execute permission for the owner? Would this be the reason why?
Any help appreciated. Thanks for your time.