歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 24, 2024, 10:45:00 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1] 2 3
1  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 25, 2006, 02:00:40 下午
http://forums.lifetype.net/viewtopic.php?t=4081

I think I have upload them well. And the category_id table is missing. But I still don't know how to solve it, please see the above link, and give me more detailed way to deal with it. thanks.
2  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 12:40:58 下午
1. Take a look at the questions I asked very carefully ...., you did not answer the 1,2 question...
2. About the questions 3, are you sure return $row["total"] is the line 20, it seems $row = $result->FetchRow(); is the line 20. Add a new line print_r($result) in line 19 ... and let me know the results ...

Mark

  </div>
  <p>
   <?php if (count($_from = (array)$this->_tpl_vars['archives'])):
    foreach ($_from as $this->_tpl_vars['month']):
?>
  <a href="<?php echo $this->_tpl_vars['month']->getUrl(); ?>
"><?php echo $this->_tpl_vars['month']->getName(); ?>
</a><br/>
   <?php endforeach; unset($_from); endif; ?>
  </p>
  <div class="Sidetitle">


This is part taken from that file and the red line is No. 33. I am  sorry to miss this part before.

I have also tried to use all fresh 1.0.3 files. still same problem , no matter in line 22 in admin setting, or line 33 in this file. Thank you

 
3  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 12:18:04 下午
Parse error: parse error, unexpected T_VARIABLE in /hsphere/local/home/madhfor/xinyuan.us/blog/class/dao/sitestatistics.class.php on line 20


The above is the result after I add the sentence in line 19.

4  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 11:44:24 上午
lss, you mean delete all files under /tmp folder? I am not sure it is template problems, since same template appied to different blog can produce different result.

I am thinking of try to use the whole new set files of 1.0.3. while correct config files to fit database setting, will that be helpful?

Thanks.

I have use lots of different template, so not really sure the template problem, or the way it has been treated.


Thank you, anyway.
5  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 11:37:51 上午


            return $row["total"];    Is the line 20

I think I have used the new version 1.0.3 and try to replace all old files except some config files.

In the following is parts of the  files for your reference

<?php

   /**
     * This class provides some statistics about the site.
    *
    * \ingroup DAO
     */
   class SiteStatistics extends Model
   {

       function SiteStatistics()
        {
           $this->Model();
        }

        function getTotalFromQuery( $query )
        {
            $result = $this->Execute( $query );

            $row = $result->FetchRow();

            return $row["total"];
        }

        function getNumberOfBlogs()
6  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 07:13:59 上午
这个文章分类的bug具体应该修改哪一个文件?

可以找到这文章的联接吗?
7  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 24, 2006, 07:12:49 上午
确实, 分类已经不存在了。 我把1。0。3的升级包全部上传覆盖。 还是出现类似问题。


我怀疑是不同的模板造成的原因, 会在寻找tmp/里面的文件时寻找不到.

可是即使那些可以正常显示的博客, 在后台发贴, 仍然没有提交的图标。 只有发贴框, 然后下面就什么都没有了。

有的模板会出现寻找不到http address 的错误提示。 请指教
8  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 23, 2006, 02:47:09 下午
pls help me  傷心
9  支援 / 使用與操作 / Re: 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 23, 2006, 03:48:07 上午
Fatal error: Call to a member function on a non-object in /hsphere/local/home/madhfor/xinyuan.us/blog/class/dao/sitestatistics.class.php on line 20

这是另外一个错误, 就是我在admin.php?op=adminSettings 时, 无法进入管理中心进行全局操作。 不知什么原因?

谢谢。
10  支援 / 使用與操作 / Re: 请问有什么快捷的方式修改语言乱码问题? 於: 一月 23, 2006, 03:38:21 上午
原来的有一部分是GB2312, 还有一部分已经修改为UTF-8

CONVERTZ在英文安装的window环境下也可以顺利转换吗?

11  支援 / 使用與操作 / 最近升级至lifetype1.0.2版本, 结果出现这个错误,怎么办? 於: 一月 23, 2006, 03:25:51 上午
http://xinyuan.us/blog/index.php?blogId=3


834815294^footer.template.php on line 33的语句好像是下面这段。

   <a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}"><img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/>


我是升级以后, 然后用新版本的文件包把原来的全部覆盖, 当然config的除外。 结果就出现有的博客可以打开, 有的打不开。

然后我在后台发表新主题时, 在最后没有提交发送的按钮, 晕。 请帮助!
12  支援 / 使用與操作 / 请问有什么快捷的方式修改语言乱码问题? 於: 一月 21, 2006, 08:11:15 上午
我的博客以前是简体支持, 后来决定采用utf-8支持。 可是这样修改以后, 许多以前显示正常的, 现在出现乱码。 我想知道有什么软件可以对数据进行直接处理。 对数据从简体中文正常显示转换到在utf-8下, 也可以正常显示。 谢谢。
13  支援 / 使用與操作 / 请问如何修改注册后发送的Email内容?在哪个地方修改? 於: 一月 21, 2006, 07:26:03 上午
如果问的问题有重复, 请原谅。 谢谢先。 害羞
14  支援 / 使用與操作 / Re: 大家知道plog1.0.2里面的资料中心是如何正确使用的吗? 於: 十一月 10, 2005, 07:58:13 上午
在 LifeType 中的 文件夾 可以代表人任何東西,你可以當成文章整理的目錄、你可以當成相簿,你可以當成音樂的專輯,就看你怎麼用。

Mark
谢谢mark, 不过到底该怎样正确使用哪? 如果我想把它作为相册, 该怎么操作哪? 谢谢你的回复。 看见很多人整合别的相册系统, plog1.0.2本身有相册吗?
15  開發 / 外掛程式 / Re: [原文的外掛]整合plog與gallery2 於: 十一月 08, 2005, 08:40:24 上午
谢谢你的回复, 可是PLOG原本的相册如何使用, 我还是没有什么概念, 可以教授一些吗? 谢谢奥
頁: [1] 2 3