| Server API | lsapi V8.3 CloudLinux 1.3 |
Verwalten
LiteSpeed Web Server API (LSAPI)
phpinfo 看是
有設定根目錄為 public
但就放在 public 裡的檔案可以用,要安裝 install 直接提示
看錯誤是
Not installed. Please run the installation first. / 未安装,请先初始化站点。 | {"exception":"Framework\\Exception\\Infra\\SiteNotInstalledException","file":"app/Bootstrap.php","line":2,"trace":[{"file":"public/index.php","line":62,"function":"init","class":"App\\Bootstrap","type":"::"}]}
不知道暫時不支援 LiteSpeed Web Server ?還是有哪邊需要修改?謝謝大家
Antworten 9 / 27
Etage 4
虛擬主機 PostgreSQL 是 127.0.0.200
PostgreSQL 10.23 運作於 127.0.0.200: 5432
但測試 127 被寫死 127.0.0.1
PostgreSQL 10.23 運作於 127.0.0.200: 5432
但測試 127 被寫死 127.0.0.1

燃烧的冰
1vor einem Tag
Etage 5
虚拟主机老老实实用MySQL吧,PostgreSQL 需要设置权限。
那个报错里的 host "127.0.0.1" 不是指用户填写的目标主机,而是 PostgreSQL 服务端看到的客户端源 IP。当从本机通过 127.x.x.x 任意地址连接时,操作系统的源地址通常是 127.0.0.1,所以 pg_hba.conf 需要匹配 127.0.0.1,而不是 127.0.0.200。
这跟程序没有关系,跟你的服务器配置有关系。
Etage 6
改用 mysql 安裝完畢, 根目录设置 public 之後連線
500 Internal Server Error
[24-Jun-2026 14:47:11 UTC] Not installed. Please run the installation first. / 未安装,请先初始化站点。 | {"exception":"Framework\\Exception\\Infra\\SiteNotInstalledException","file":"app/Bootstrap.php","line":2,"trace":[{"file":"public/index.php","line":62,"function":"init","class":"App\\Bootstrap","type":"::"}]}
[24-Jun-2026 14:47:11 UTC] PHP Warning: Undefined variable $view in /xxxx/storage/tmp/views/app/views/htm/500.htm on line 1
[24-Jun-2026 14:47:11 UTC] ExceptionHandler render 500.htm failed: Call to a member function get() on null
Etage 7
保留 install.lock 的話 php.error.log 只剩這兩行
[24-Jun-2026 23:47:48 UTC] PHP Warning: Undefined variable $view in /home/wellcms/storage/tmp/views/app/views/htm/500.htm on line 1 [24-Jun-2026 23:47:48 UTC] ExceptionHandler render 500.htm failed: Call to a member function get() on null
Etage 8
/public/index.php
預設是0改成2
// DEBUG 模式:环境变量 DEBUG=0|1|2 (0=线上,1=调试,2=开发)
define('DEBUG', 2);
再連線錯誤訊息為
App Error
Message: Failed to preparse service `{App\Services\Auth\UserService}`: Scheduler requires 'redis' driver in config/cache.php
File: src/Core/Container.php : 235
#0 app/Bootstrap.php(156): Framework/Core/Container->preResolve()
#1 public/index.php(62): App/Bootstrap::init()
#2 {main}
Etage 9
下載新版本
https://github.com/wellcms/wellcmsV3/releases/tag/v3.0.1
上傳虛擬主機與解壓縮.
連結 /install/index.php 安裝
/install/bin/installer.func.php
看到有新增判斷了
但 使用者 xxxx_root 密碼填錯的話跳的是這個
✘ Error: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "127.0.0.1", user "xxxx_root", database "postgres", SSL off
應該要跳密碼錯誤才對?
但使用者密碼正確的話就通過
Success
但建立時會出現錯誤
err
Failed: SQLSTATE[42703]: Undefined column: 7 ERROR: column "well_attachment_id_seq" does not exist LINE 1: SELECT setval("well_attachment_id_seq", COALESCE((SELECT MAX... ^
Etage 10
安裝完畢後進入首頁 https://a.idv.tw
這三個檔案 404
https://a.idv.tw/views/css/tailwind.min.css?3.0
https://a.idv.tw/views/image/logo.png
https://a.idv.tw/views/js/main.js?3.0
後來不知道怎麼搞得變成 200 但檔案還是打不開
直接連線三個檔案都是提示
Throttle verification error
Bitte zuerst anmelden
Möchten Sie teilnehmen? Bitte melden Sie sich zuerst in Ihrem Konto an.
