无法在Qnap NAS上安装Bolt 2.0

时间:2015-01-02 17:53:10

标签: php bolt-cms

我试图在Qnap NAS上安装Bolt 2.0,最新固件附带PHP / 5.3.29。我读过博尔特至少要求PHP / 5.3.3,所以我想我等待Qnap更新。

我想知道错误是否与过时的PHP版本有关,或者是否表明存在其他问题?

PHP Fatal Error: Vendor Library

Error: Class ' ��' not found
File: vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php
Line: 59

第59行指的是:

$attributes = $attributes ?: new AttributeBag();

以下是:

public function __construct(SessionStorageInterface $storage = null, AttributeBagInterface $attributes = null, FlashBagInterface $flashes = null)
{
    $this->storage = $storage ?: new NativeSessionStorage();

    $attributes = $attributes ?: new AttributeBag();
    $this->attributeName = $attributes->getName();
    $this->registerBag($attributes);

    $flashes = $flashes ?: new FlashBag();
    $this->flashName = $flashes->getName();
    $this->registerBag($flashes);
}

0 个答案:

没有答案