歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 23, 2024, 05:24:02 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1] 2 3 ... 6
1  支援 / 安裝與設定 / lf1.1原先都在運行的,機器重裝后把原來備份的lf1.1放回去,就出現問題了, 於: 二月 14, 2007, 08:21:07 上午
機器重裝后把原來備份的lf1.1放回去,就出現問題了,好像是還存的問題,大家幫忙看看,哪裏需要修改
http://web.dobest.com/blog/summary.php
程式碼:
Exception message: is_dir(): Stat failed for ./tmp/cache_0/cache_08 (errno=13 - Permission denied)
Error code: 2
-- Backtrace --
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(703): is_dir
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(737): cache_lite._write
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(373): cache_lite._writeandcontrol
/home/dobest/blog/class/cache/cache.class.php(60): cache_lite.save
/home/dobest/blog/class/config/configdbstorage.class.php(63): cache.setdata
/home/dobest/blog/class/config/configdbstorage.class.php(138): configdbstorage._loadallvaluesfromdatabase
/home/dobest/blog/summary.php(28): configdbstorage.getvalue

Exception message: is_dir(): Stat failed for ./tmp/cache_0/cache_08/ (errno=13 - Permission denied)
Error code: 2
-- Backtrace --
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(708): is_dir
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(737): cache_lite._write
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(373): cache_lite._writeandcontrol
/home/dobest/blog/class/cache/cache.class.php(60): cache_lite.save
/home/dobest/blog/class/config/configdbstorage.class.php(63): cache.setdata
/home/dobest/blog/class/config/configdbstorage.class.php(138): configdbstorage._loadallvaluesfromdatabase
/home/dobest/blog/summary.php(28): configdbstorage.getvalue

Exception message: mkdir(./tmp/cache_0/cache_08/): Permission denied
Error code: 2
-- Backtrace --
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(708): mkdir
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(737): cache_lite._write
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(373): cache_lite._writeandcontrol
/home/dobest/blog/class/cache/cache.class.php(60): cache_lite.save
/home/dobest/blog/class/config/configdbstorage.class.php(63): cache.setdata
/home/dobest/blog/class/config/configdbstorage.class.php(138): configdbstorage._loadallvaluesfromdatabase
/home/dobest/blog/summary.php(28): configdbstorage.getvalue

Exception message: fopen(./tmp/cache_0/cache_08/cache_c20193f16aa4c1c9d747b49a92839c83_8d5fd0bb70cc2faba38ceae7ba7b4ab9): failed to open stream: Permission denied
Error code: 2
-- Backtrace --
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(712): fopen
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(737): cache_lite._write
/home/dobest/blog/class/cache/Cache_Lite/Lite.php(373): cache_lite._writeandcontrol
/home/dobest/blog/class/cache/cache.class.php(60): cache_lite.save
/home/dobest/blog/class/config/configdbstorage.class.php(63): cache.setdata
/home/dobest/blog/class/config/configdbstorage.class.php(138): configdbstorage._loadallvaluesfromdatabase
/home/dobest/blog/summary.php(28): configdbstorage.getvalue

Fatal error: Call to a member function on a non-object in /home/dobest/blog/class/cache/Cache_Lite/Lite.php on line 724

2  支援 / 使用與操作 / Re: 後臺發表文章的輸入框css哪裏控制的 我想改的大點看起來正常一點,現 於: 一月 26, 2007, 05:47:54 下午
收到 謝謝
3  支援 / 使用與操作 / 後臺發表文章的輸入框css哪裏控制的 我想改的大點看起來正常一點,現在太 於: 一月 26, 2007, 03:31:07 下午
我用的是LifeType 1.1.4 維護版本,後臺發表文章的文章輸入框textarea 顯示的字體哪裏可以控制 我在admin.css加入css控制不了,在tinymce里有font-size的地方我也幾乎都改成了12px,可是字體還是沒有變化,
4  支援 / 安裝與設定 / Re: 網誌內容和標題都變成"??????????" 於: 一月 24, 2007, 08:59:48 下午
如果你的MySQL 文字編碼已经是UTF-8 那么应该是你的config.properties.php文件里设置了
$config['db_character_set'] = 'utf8';
只要清空应该就可以解决了,改成:
$config['db_character_set'] = '';
5  測試 / LifeType 1.1 測試 / 全局设置->常规设置里的default_global_article_category_id无效 於: 九月 13, 2006, 10:54:31 上午
全局设置->常规设置里的default_global_article_category_id无效
6  測試 / LifeType 1.1 測試 / Re: 检验lt注册的第一步创建用户里的电子邮件的文件是哪个 於: 八月 30, 2006, 04:25:46 下午
收到 谢谢Mark
7  測試 / LifeType 1.1 測試 / Re: 检验lt注册的第一步创建用户里的电子邮件的文件是哪个 於: 八月 29, 2006, 09:24:05 上午
怎么没有人知道吗,知道的请告知一下,这个文件在哪里
8  測試 / LifeType 1.1 測試 / Re: 检验lt注册的第一步创建用户里的电子邮件的文件是哪个 於: 八月 24, 2006, 08:10:19 上午
最好在后台将这个功能关闭,否则连gmail都不认识。关闭后何用邮箱验证激活blog的方法进行管理。

你误解了,我说的是注册的时候检验电子邮件格式的合法性跟你说的用户注册后使用电子邮件进行认证激活是两回事
9  測試 / LifeType 1.1 測試 / 检验lt注册的第一步创建用户里的电子邮件的文件是哪个 於: 八月 23, 2006, 03:02:34 下午
LifeType 1.1-beta 2中检验第一步创建用户里的电子邮件是否正确的文件是哪个啊,居然不支持纯数字域名的电子邮件,比如:@163.com、@263.com 等 所以我得改改,请问匹配的文件是哪个,我找了n久都没找到
10  支援 / 使用與操作 / 怎么判断来源字符类型是gb2312 还是utf-8? 於: 七月 27, 2006, 09:11:56 下午
php有没有办法判断来源字符类型是gb2312 还是utf-8? 怎么判断?
11  支援 / 使用與操作 / Re: 在模板中怎麽判斷該blog用戶是否已登陸,如果已登陸則輸出該用戶名 於: 七月 11, 2006, 03:55:22 下午
用js写 我也不会啊
12  開發 / 模版設計 / Re: Dreamweaver、模版與smarty語法 於: 七月 11, 2006, 12:23:19 下午
在Dreamweaver的 文件类型/编辑器 中增加.template文件后缀名 就可以打开了
13  測試 / LifeType 1.1 測試 / Re: lt1.1的外部整合接口中,authenticateUser不支持中文用户名,哪里修改使之支 於: 七月 11, 2006, 09:32:51 上午
我也查找了一下 是没有限制中英文 我估计的编码不同引起的 我再调试看看

问题已解决,是由于外部数据不是UTF-8编码引起的
14  支援 / 安裝與設定 / Re: userid與部落格的網址不同 於: 七月 10, 2006, 04:34:40 下午
引用
他的userid=18但他的網址卻是http://ip/plog/19
网址里的19应该是blogid吧
15  測試 / LifeType 1.1 測試 / lt1.1的外部整合接口中,authenticateUser不支持中文用户名,哪里修改使之支持 於: 七月 09, 2006, 10:53:40 下午
这个接口文件:class\dao\userdata\simplepostnukeuserdataprovider.class.php中的authenticateUser( $username, $pass )不支持中文名,请问修改哪里让它可以支持中文用户名,谢谢
引用
        function authenticateUser( $username, $pass )
        {
           // Check if we find the user in the LifeType DB
            $user = $this->getUserInfoFromUsername( $username );         
           if( $user ) {
                return( $user->getPassword() == md5($pass));
           }
          
            // Check if the user is available in the PostNuke database...
            else {
              $query = "SELECT * FROM ".$this->_postnukedbprefix."users WHERE pn_uname = '".Db::qstr( $username )."' AND pn_pass = '".md5( $pass )."'";
                $result = $this->_dbc->Execute( $query );
               
                if( (!$result) || ($result == false) ) {         
                    return false;
                }
                // let's add the user to the lt userbase
                elseif ( $result->RecordCount() == 1 ) {
                    $result->Close();
                    $pnUserdata = $this->getUserInfoFromPostNukeUser( $username );

                    $user = new UserInfo( $pnUserdata["pn_uname"],
                                       $pnUserdata["pn_pass"],
                                  $pnUserdata["pn_email"],
                                  "",
                                  $pnUserdata["pn_name"],
                                  0,
                                  serialize(Array())
                                        );
                                 
                    $user->setStatus( USER_STATUS_ACTIVE );
                   
                   
                    $newUserId = $this->addUser( $user );
                    if( !$newUserId ) {
                        return false;                 
                    }

                    //add Blog
                    $this->_PostNukeAddBlog($username, $newUserId);

                    return true;
                }
                else{
                        // TODO: shouldn't ever happen?
                    $result->Close();
                }
                                       
               
                // return false if user authentication failed on both databases
                return false;
           }
        } // authenticateUser
頁: [1] 2 3 ... 6