救命~~我的「設定」頁掛了>"<

各位前輩們好

我是安裝TWAMP 架站包的199吃到飽的版本,架設完成後都是OK的

接著,在安裝相關模組和設定(新增)一些phpMyadmin內的資料後

現在我進入http://localhost/drupal-7.12後,點上方的「設定」頁面就無法顯示任何東西了.......

照理說網址應該要顯示出http://localhost/drupal-7.12/#overlay=admin/config

淡跑出的就是空白頁,顯示的網址是http://localhost/drupal-7.12/admin/config

請問我是不小心刪到什麼資料 or 設定錯誤嗎?

另外再問一下,有什麼方法可以"純粹"修復drupal的方法嗎?
(意思就是盡量不要重新安裝drupal......>"<)

先謝謝各位前輩的解答了

jamesliu78's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

方便說明一下你裝了什麼模組,還有在phpMyAdmin裡調整了什麼東西嗎?

試著把模組先停用(如果進的了模組頁面的話)看看是不是模組的問題,
看看apache的error log有沒有出現什麼訊息。

我是神豬~神豬的神,神豬的豬.......

renren's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

您好

模組方面我安裝了以下幾種:
http://drupal.org/project/rules
http://drupal.org/project/fb_social
http://drupal.org/project/rdfx
http://drupal.org/project/sparql
http://drupal.org/project/fbconnect
http://drupal.org/project/fb

因為有出現下面的訊息
"Drupal for Facebook (fb_canvas.module) has been enabled, but fb_settings.inc is not included in settings.php."

所以我在sites\default\settings.php最後面加上

$conf['fb_api_file'] = 'sites/all/libraries/facebook-php-sdk/src/facebook.php';
//// Code to add to settings.php:
/////////////////////////////////

/**
* Drupal for Facebook settings.
*/

if (!is_array($conf))
$conf = array();

$conf['fb_verbose'] = TRUE; // debug output
$conf['fb_verbose'] = 'extreme'; // for verbosity fetishists.

// More efficient connect session discovery.
// Required if supporting one connect app and different canvas apps.
$conf['fb_id'] = '268639XXXX46639'; // Your connect app's ID goes here.

// Enable URL rewriting (for canvas page apps).
include "sites/all/modules/fb/fb_url_rewrite.inc";
include "sites/all/modules/fb/fb_settings.inc";

// end of settings.php

這些程式碼加上去後存檔,就解決問題了

最後,我在phpMyadmin中建立一筆資料庫A
在A中建了五筆表單,裡面也建了2~3不等的欄位並insert多筆資料
也在權限部分創立新的帳密讓我寫的PHP來讀取此資料庫A

以上,大概就是我主要的動作
煩請前輩們指教>"<

jamesliu78's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

基本上看起來到settings.php這裡都可以正常的使用?

你是直接用phpMyAdmin來對資料庫新增資料跟帳號?
不是用Drupal的後台?

我是神豬~神豬的神,神豬的豬.......

renren's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

您好

目前看起來settings.php應該還算正常

我是直接用phpMyAdmin來對資料庫新增資料跟帳號

並不是使用Drupal的後台(而且我也不會用 囧)......

jamesliu78's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

呃........那你要不要先試著看看有沒有備份的資料庫,
先復原看會不會正常,
或是把你新增的資料先砍掉。

如果還是不正常的話,
你可能就要檢查一下Apache跟MySQL的error log了。

我是神豬~神豬的神,神豬的豬.......

renren's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

實在是找不到解決方法,我決定重新安裝drupal了

謝謝前輩的建議和提供的方法

jamesliu78's 的頭像

Re: 救命~~我的「設定」頁掛了>"<

嗯嗯^^"

記得在不清楚架構的狀況下,
不要去動資料庫,
危險性很高,
Drupal大部分的模組都有提供介面管理,
找一下應該就找的到了^^

我是神豬~神豬的神,神豬的豬.......