歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 20, 2024, 07:38:15 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
頁: 1 ... 6 7 [8] 9 10

 71 
 於: 十一月 13, 2008, 08:10:42 上午 
發表者 qwerqwerqwer - 最新文章 由 fujuj
一般鎖右鍵的語法好像都是放在<head></head>之間吧!(不確定,沒用過)

假如是,就修改header.template

謝謝..已解決..


如何解決可否分享一下

 72 
 於: 十一月 13, 2008, 08:05:59 上午 
發表者 fujuj - 最新文章 由 fujuj

2.模版的連結名稱(中文的)可以改嗎~~~?我都找不到~~可以自己增加嗎~~~?

這必須要改語系 , 或是直接修改模板.

以上感謝 Mark大大的解答~~~

但是第2個問題~~如何修改語系?~~~SORRY~~小弟不才

 73 
 於: 十一月 13, 2008, 12:24:44 上午 
發表者 liuangus - 最新文章 由 liuangus
放在美國主機實在太慢了,就把blog移了回來

發生了一個問題,當編輯新文章的時候,只要按下 insert album那個小按鈕

所得到是跳出一個空白視窗或者有錯誤訊息的視窗

錯誤訊息如下:
Not Acceptable

An appropriate representation of the requested resource /blog/admin.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

主機環境
linux/apache 2.0.63/mysql 5.0.51a/php4.4.9

麻煩各位網兄

 74 
 於: 十一月 05, 2008, 09:53:52 上午 
發表者 wwx840723 - 最新文章 由 wwx840723
有沒有人幫一下我啊
如果我用lifetype的登錄頁面,登錄成功后跳轉到另一個頁面,這個跳轉代碼加在那兒啊?
我按照下面加怎么不行呢,希望有人能幫助一下。謝謝了
程式碼:
            $session = HttpVars::getSession();
            $sessionInfo = $session["SessionInfo"];

            $sessionInfo->setValue( "userInfo", $userInfo );
            $session["SessionInfo"] = $sessionInfo;
            HttpVars::setSession( $session );

$pm->notifyEvent( EVENT_BLOGS_LOADED, Array( "blogs" => &$userBlogs, "from" => "Login" ));

// check if we are skipping the dashboard
if( $this->_config->getValue( "skip_dashboard" )) {
// get the first blog that came
$this->_blogInfo = $userBlogs[0];
// set it in the session
            $session = HttpVars::getSession();
            $sessionInfo->setValue( "blogInfo", $this->_blogInfo );
            $session["SessionInfo"] = $sessionInfo;
header("location: ../Management");
            HttpVars::setSession( $session );
            // and then continue...
            if( $userInfo->hasPermissionByName( "new_post", $this->_blogInfo->getId()))
AdminController::setForwardAction( "newPost" );
else
//AdminController::setForwardAction( "Manage" );
header("location: ../Management");
}
else {
$this->_view = new AdminDashboardView( $userInfo, $userBlogs );
}

 75 
 於: 十月 28, 2008, 09:30:01 上午 
發表者 wwx840723 - 最新文章 由 wwx840723
程式碼:
   $type = $_POST["op"];
   if($type=="Login")
    {
    define('PLOG_CLASS_PATH','./');
    include_once( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" );
    include_once( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
    include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
    include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
     $userName = $_POST["userName"];
     $userPassword = $_POST["userPassword"];

     // initialize the session
     SessionManager::init();
   
    // 產生一個新的 user 物件
    $users = new Users();
   
   if( $users->authenticateUser( $userName, $userPassword )) {
           
      // 取得 userInfo 物件 (透過正確的 username 與 password)
      $userInfo = $users->getUserInfo( $userName, $userPassword );
      // 取得使用者的 blog list
      $userBlogs = $users->getUsersBlogs( $userInfo->getId(), BLOG_STATUS_ACTIVE );
      // 用第一個 blog 來當作 blogID,並取得這個 blog ID 的 blogInfo
      $blogInfo = end( $userBlogs );
      // 取得 session
      //print_r($session = HttpVars::getSession());
      $session = HttpVars::getSession();
     
      $sessionInfo = $session["SessionInfo"];
      // 並且把資料寫入session
      $sessionInfo->setValue( "userInfo", $userInfo );
      $sessionInfo->setValue( "blogInfo", $blogInfo );
      $session["SessionInfo"] = $sessionInfo;
     
      HttpVars::setSession( $session );
  header("location: ../Management");     
   }else{
      header("location: login.php");
   }
 }
這個是登錄頁面的代碼,在輸入用戶名和密碼后提示錯誤:Fatal error: Call to undefined function lt_include() in D:\ftpuser\ptu\blog\class\controller\admincontroller.class.php on line 3
這該如何解決呢?

 76 
 於: 十月 24, 2008, 03:02:15 下午 
發表者 wwx840723 - 最新文章 由 ajer001
找一下 admin 模板下面的檔案?

 77 
 於: 十月 24, 2008, 01:09:55 下午 
發表者 wwx840723 - 最新文章 由 wwx840723
有人知道嗎?
 嚎啕大哭

 78 
 於: 十月 23, 2008, 06:28:10 下午 
發表者 wwx840723 - 最新文章 由 wwx840723
新手,我想把博客整合到一個系統中,所以想去掉頁面頂部部分(見附件),但找不到更改的文件,那位知道,麻煩指點一下,謝謝...

 79 
 於: 十月 17, 2008, 10:26:16 下午 
發表者 sy0215 - 最新文章 由 sy0215
本來我的lifetype是架設在mdk2008的主機上面,
用的是postfix這一個郵件程式,
所以在本機端的運作上沒有啥問題,
可以註冊,也可以寄送重設密碼的信件,
不過,
因為某些因素而購買了一台威聯通的nas 就是209 pro2 那一台,
因為裏面已經內建php和mysql的運作環境了,
所以我就把網頁的內容拷貝過去,也把mysql內的資料複製過去,修改了一些小地方,
然後登入看看,
結果運作的情形良好,沒有啥大問題,
可是現在我突然發現一個問題,
就是……
新的這一台nas 主機沒有郵件程式!
試過官網上面說的 xmail,但不行就是不行,
只好退而求其次,
登入lifetype使用smtp的功能來寄信,
我選擇了用smtp的方式來寄,但不知怎的,都沒有反應,
我試過了pchome 和gmail (這兩者都有支援smtp),但還是不行…
請問一下,是我哪裏還要修改嗎??
謝謝回答了,謝謝,真的感激不盡。

 80 
 於: 十月 17, 2008, 06:38:54 下午 
發表者 bigjj - 最新文章 由 bigjj
生成的gz文件中的网址在&后面会有加上“amp;amp;” 如
http://ken.blog.bigjj.org/index.php?op=ViewArticle&amp;amp;articleId=638

各位都是用这个外挂吗?会不会出现这样的问题

頁: 1 ... 6 7 [8] 9 10