Hi,
when I installed plugin then site cannot start.
I found solution:
In media-plus\system\admin.php I modified
56 public function __construct() {57 if(!Session::started()) {58 Session::start();59 }
to
56 public function __construct() {57 global $site;58 if(!Session::started()) {59 Session::start($site->urlPath(), $site->isHTTPS());60 }
2nd problem:
Changing plugin settings->advanced->Root Settings to other option as default plugin cannot access selected path
I change in media-plus\system\manager.php
Thanks for the solutions, that helps me a lot.
It's a pity that the obvious errors are not fixed. So everyone who downloads the plugin will be confronted with these bugs.
Hi, when I installed plugin then site cannot start.
I found solution: In media-plus\system\admin.php I modified
56 public function __construct() {
57 if(!Session::started()) {
58 Session::start();
59 }
to
56 public function __construct() {
57 global $site;
58 if(!Session::started()) {
59 Session::start($site->urlPath(), $site->isHTTPS());
60 }
2nd problem: Changing plugin settings->advanced->Root Settings to other option as default plugin cannot access selected path I change in media-plus\system\manager.php
216 $root = str_replace("root", PATH_UPLOADS, $media_plugin->getValue("root_directory"));
to
216 $root = str_replace("root", rtrim(PATH_UPLOADS, "/"), $media_plugin->getValue("root_directory"));
maybe it help