- 10
- 十一月
-
从装WP来,总是找插件和安装配置,一直没有找到一个好的WP相册插件,真是遗憾,没有办法自己水平又底,不懂PHP,所以就装一个分离的相册程序了“singapore”
安装:
- /galleries –>777
- /data –>777
- /data/user.csv.php –>777
- /data/logs –>777
- /data/cache –>777
/data/logs –>777 與 /data/cache –>777
無法使用ftp或ssh的方式修改權限,必須用root登入修改才行
如果是虚拟主机请联系管理员帮你修改文件夹属性
安裝singapore v0.9.11後,瀏覽網頁上方出現以下訊息:
- Warning: fopen(data/logs/views..log): failed to open stream: No such file or directory in C:\apache\singapore\includes\io_csv.class.php on line 246
- Warning: Cannot modify header information - headers already sent by (output started at C:\apache\singapore\includes\io_csv.class.php:246) in C:\apache\singapore\index.php on line 32
singapore 中文语言設定
singapore v0.9.11时就支持了中文语言
支持 BIG5 跟 UTF-8 编码
只要編輯 singapore.ini ,依照 Apache 的編碼來做設定即可。
Big5 的設定:
- language = "en" 改為 language = "zh_big5"
- default_charset = "iso-8859-1" 改為 default_charset= "big5"
UTF-8 的設定:
- language = "en" 改為 language = "zh_utf8"
- default_charset = "iso-8859-1" 改為 default_charset= "utf-8"
