1 頁 (共 1 頁)

[問題] 4images網路相簿安裝後出現空白網頁,是否安裝錯誤?

發表於 : 2005-08-01 16:54
shinwella
我使用4images網路相簿-全功能架設寶典(上奇出版)書中
4images_tw.zip這個檔案安裝在兩台虛擬主機空間上
---------------------------------------------
Linux虛擬主機一:
●MySQL版本 :4.0.24-standard
●PHP版本:4.3.11
●GD版本:bundled(2.0.28 compatible)
--------------------------------------------
Linux虛擬主機二:
●MySQL版本 :4.0.24
●PHP版本:4.3.11
●GD版本:2.0 or higher
--------------------------------------------
安裝到最後都要我用FTP上傳下載回來的config.php,
結果資料庫是有寫入檔案了但是網站都是空白的網頁,
也都沒有錯誤的訊息!

改了很多檔案的權限,甚至第一台虛擬主機上的權限全部開成777,
甚至也把/4images/data/database/default/mysql_default.sql導入資料庫,
還是無法成功!

請問有沒有大大安裝成功的??
可以麻煩指導一下嗎?
謝謝喔!

發表於 : 2005-08-18 23:15
joneschung
不用這麼麻煩,您只要修改/4images/config.new.php

$db_servertype = "mysql";
$db_host = "localhost"; ------>你的位置localhost
$db_name = "xxxx_mysql"; ----->你的mysql名稱\r
$db_user = "xxxx_xxx"; ------->使用者名稱\r
$db_password = "xxxx"; -------->使用者名稱\r

然後另存新檔config.php即可!!
祝您成功.......... :-)


我不在家,就在咖啡館;我不在咖啡館,就在往咖啡館的路上.

發表於 : 2005-09-02 02:03
shinwella
謝謝大大!
已經成功了!

發表於 : 2006-01-04 22:16
keits
大大您好
請問一下
我灌好了以後
我的首頁上面出現了

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\appserv\www\4images\includes\db_mysql.php on line 116


請問這是什麼意思呢???