跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

18.IPS論壇升級

精選回覆

發表於

------------------------------------
暫時關閉論壇
------------------------------------

論壇後台 -> 系統 -> 一般配置 -> 關閉或開啟論壇 -> X

關閉的原因 -> 可以寫些原因

儲存 ->

 

 

-----------------------------------
下載IPS最新版本
-----------------------------------

建議在Windows就先解壓縮,雖然論壇升級是直接覆蓋檔案後升級,但可以先刪除不必要的檔案

然後壓縮為 ips.zip

 

 


------------------------------------
先備份資料庫、網站目錄
------------------------------------

先備份一次資料庫、網站目錄

注意:先將今天的自動備份檔,改個檔名,再下備份指令 (不然檔名會重覆)

 

指令
bash /root/backup.sh

 

 

 

 

-------------------------
上傳到論壇根目錄
-------------------------

停止Nginx
/etc/init.d/nginx stop

 


SFTP上傳 最新版本的 ips.zip 到論壇根目錄 /var/www/域名.com


cd /var/www/域名.com


解壓縮,直接覆蓋檔案
unzip -o ips.zip


然後刪除ips.zip
rm ips.zip

 

 

-----------------------------------------------------------------------
更改網站目錄與檔案的擁有人/群組,修改為 www-data www-data
-----------------------------------------------------------------------

chown -R www-data:www-data /var/www/域名.com

cd /var/www/域名.com

 

可看到已改為 www-data www-data
ls -l

 

 

------------------------------------
Crontab 定時運行任務
------------------------------------

將IPS論壇的 task.php 權限修改為755

chmod 0755 /var/www/域名.com/applications/core/interface/task/task.php

 

 

-------------------
啟動nginx
-------------------

啟動
/etc/init.d/nginx start

 

 


------------------------
升級IPS論壇
------------------------

瀏覽器進論壇
https://域名.com/admin/upgrade/

 

 

開始升級

Upgrade Invision Community 4 -> Login -> Start Upgrade

 


Your Invision Community 4 is ready

The upgrade process is now complete and your Invision Community is now ready!


升級結束後,到論壇後台

 


------------------------
開啟論壇
------------------------

論壇後台 -> 系統 -> 一般配置 -> 關閉或開啟論壇 -> v (是) -> 儲存

 

論壇後台 -> 系統 -> 獲得支援 -> 清除系統快取


在 [獲得支援] 這裡,有些錯誤會提示你需要解決

 

 

------------------------
更新中文語言包
------------------------

如果有新版本的IPS中文包,則需要更新(覆蓋)

 

------------------------
重建網站地圖
------------------------

論壇後台 -> 系統 -> 搜尋引擎最佳化 -> 右上方的 重建網站地圖

 


------------------------
重建搜尋索引
------------------------

論壇後台 -> 系統 -> 搜尋 -> 右上方的 重建搜尋索引 -> 同意


 

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.