• 10
  • 十一月



-

从装WP来,总是找插件和安装配置,一直没有找到一个好的WP相册插件,真是遗憾,没有办法自己水平又底,不懂PHP,所以就装一个分离的相册程序了“singapore

安装:

  1. /galleries –>777
  2. /data –>777
  3. /data/user.csv.php –>777
  4. /data/logs –>777
  5. /data/cache –>777

/data/logs –>777 與 /data/cache –>777

無法使用ftp或ssh的方式修改權限,必須用root登入修改才行

如果是虚拟主机请联系管理员帮你修改文件夹属性

如果属性没有设置正确

安裝singapore v0.9.11後,瀏覽網頁上方出現以下訊息:

  1. 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
  2.  
  3. 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 的設定:

  1. language = "en" 改為 language = "zh_big5"
  2. default_charset = "iso-8859-1" 改為 default_charset= "big5"

UTF-8 的設定:

  1. language = "en" 改為 language = "zh_utf8"
  2. default_charset = "iso-8859-1" 改為 default_charset= "utf-8"

WIKI记录的安装教程

,

Tag:No Tags

发表评论

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

请输入验证码,范围: 0..9A..F

  

看不清,换一张