歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 26, 2024, 04:20:41 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  支援 / 安裝與設定 / 1.1.1 安装问题 於: 十月 29, 2006, 03:40:10 下午
环境:
Linux 2.6.9-22.EL
Apache/2.2.3   PHP/5.1.6 mysql5.0.24a

mysql:
my.cnf
[client]
#password       = your_password
port            = 3306
socket          = /tmp/mysql.sock
default_character_set=utf8

[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
default_character_set=utf8

安装顺利.
1.安装时, 选择 简体中文utf-8
2.安装后,前台系统与后台系统能正常显示与操作中文.
3.用phpMyAdmin 2.7.0-pl2管理数据库,发现中文为乱码
4.在用phpMyAdmin,直接在数据表中编辑中文,能在LifeType 1.1.1正常显示,在phpMyAdmin中也正常显示,但在TypeLife1.1.1 中重新编辑在phpMyAdmin 2.7.0-pl2中查阅又成乱码
2  支援 / 安裝與設定 / Re: 新人求教:關於LT的分頁問題及建議 於: 六月 06, 2006, 07:16:53 下午

请了解的网友说一下,我也有关于插件默认打开和域名绑定的疑问。

顶一下,希望开发组的朋友们能看到。
3  站務 / 站務公告 / Re: 重要安全性修補:LifeType 1.0.5 釋出 於: 六月 05, 2006, 10:44:37 上午
报告一下:好像 1.04 - 1.05 的升级版链接有问题
4  支援 / 安裝與設定 / Re: 新人求教:關於LT的分頁問題及建議 於: 六月 05, 2006, 10:42:57 上午
请了解的网友说一下,我也有关于插件默认打开和域名绑定的疑问。
5  開發 / 核心補強 / Re: summary.php頁 rss 循環調用問題求助: 於: 十月 26, 2005, 03:23:23 下午
曾经怀疑过是PHP.INI设置的原因,但改后没有解决问题!
今天下午把PHP4.4.0 换为了:php4.3.10 就正常了.但还是没找出问题的原因!
6  開發 / 核心補強 / Re: summary.php頁 rss 循環調用問題求助: 於: 十月 26, 2005, 08:42:59 上午
1.0.2 beta 前天我测试过了,1.0.2 beta也是一样的情况!
7  開發 / 核心補強 / summary.php頁 rss 循環調用問題求助: 於: 十月 22, 2005, 12:08:55 下午
又来麻烦大家了

我在主機:測試plog1.01版本(as4,apache2.0.54,php4.4.0,mysql4.15),

summary頁面調用:

最近發表的文章: http://dabu.twbbs.org/plog/rss.php?summary=1
本周最多評論:http://dabu.twbbs.org/plog/rss.php?summary=1&type=mostcommented
本周閱讀最多的文章:http://dabu.twbbs.org/plog/rss.php?summary=1&type=mostread

都只出來:summary.php 原本頁面的內容?即內容與:http://dabu.twbbs.org/plog/summary.php 完全一樣

我察看了一下:rss.php 的內容:

13    // create our own action map
14    $actionMap = Array( "Default" => "RssAction" );
15    $controller = new Controller( $actionMap, "op" );
16   
17   $request =& HttpVars::getRequest();
18   if( isset($request["summary"])) {
19      $request["op"] = "rss";
20      include_once( PLOG_CLASS_PATH."summary.php" );
21      die();

22   }

如果把,17到22行屏蔽以後,能夠出來rss的頁面。但數據不是,所我們要求正確數據。

同样:index.template

  {$locale->tr("summary_most_read_articles")}
     {if $readestBlogs}
       <a href="{$url->getRssUrl()}?summary=1&amp;type=mostread">
         <img src="{$url->getUrl("/imgs/rss_logo_small.gif")}"
         alt="RSS" /></a>       
 {/if}
---------------------------------------------

???????????
8  開發 / 核心補強 / Re: plog的cache請教 於: 十月 20, 2005, 09:36:36 上午
我对这一块的解决办法,是在"语言包里"生成所需要的"变量",然后在模版里直接引用!
9  支援 / 安裝與設定 / as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg) 於: 九月 26, 2005, 05:30:04 下午
as4(update1 X86_64) 伺服器配置問題
下列模塊,在A3 U4下能成功配置
兄弟們,有誰成功配置過:
as4(u1 X86_64)系統,httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc.v6b,php-4.4.0,gd-2.0.28?

其中:httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc都能成功安裝

tar xzvf gd-2.0.28.tar.gz
cd gd-2.0.28
./configure
--prefix=/usr/local/modules/gd 
--with-jpeg=/usr/local/modules/jpeg6
--with-freetype=/usr/local/modules/freetype
--with-png
--with-zlib 

問題出現下:
make

錯誤提示:
*** Warning: linker path does not have real file for library -ljpeg.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libjpeg and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/local/modules/jpeg6/lib/libjpeg.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gcc -shared  gd.lo gdfx.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo  -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,--rpath -Wl,/usr/local/modules/freetype/lib  -L/usr/local/modules/freetype/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/modules/jpeg6/lib /usr/local/modules/freetype/lib/libfreetype.so -lpng12 -lz -lm  -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory `/home/test/gd-2.0.28'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/gd-2.0.28'
make: *** [all] Erro


郁悶啊!!!
10  支援 / 安裝與設定 / as4+apache2.0.54+php4.0.4+mysql4.1.14+gd(問題) 於: 九月 25, 2005, 06:27:54 下午
1.httpd-2.0.54.tar.gz
2.mysql4.1.14
都已經安裝成功

gd庫的安裝也沒有錯誤提示,詳細配置如下:

tar xzvf gd-2.0.27.tar.gz
cd gd-2.0.27
./configure
--prefix=/usr/local/modules/gd
--with-jpeg=/usr/local/modules/jpeg6
--with-png
--with-zlib
--with-freetype=/usr/local/modules/freetype
make
make install

php4.0.4.配置時,出現問題:
tar xzvf php-4.3.10.tar.gz
cd php-4.3.10
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-gd=/usr/local/modules/gd
--with-jpeg-dir=/usr/local/modules/jpeg6
--with-freetype-dir=/usr/local/modules/freetype

---------------------------------------------

錯誤提示為:
configure: error: GD build test failed. Please check the config.log for details.


如果把--with-gd=/usr/local/modules/gd
刪除,能正常編譯安裝

郁悶啊!???
11  開發 / 核心補強 / Re: plog的cache請教 於: 九月 22, 2005, 10:03:46 下午
谢谢你,已测试通过
12  開發 / 核心補強 / plog的cache請教 於: 九月 21, 2005, 03:31:51 下午
這段時間以plog1.01為基礎,自己動手增加了"分類列表",其中有最新添蓋文章.

問題:

1.如果不打開"模板全局設置裡的"template_cache_lifetime"控制,最新文章顯示正常.但網頁速度相對比較慢

我只想取消"分類列表"的"cache"機製,能否介紹一修改思路??
13  支援 / 安裝與設定 / 修改:httpd.conf 於: 七月 23, 2005, 01:30:28 下午
估计你的Apache 是2.0以上的版本
<Directory />
    Options FollowSymLinks
    AllowOverride None</Directory> 修改为:All

-------------------------------------
<Directory "你的WEB目录">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
    Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride None  改为:All

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

</Directory>
------------------------

#<Files ~ "^\.ht">
#   Order allow,deny
#    Deny from all
#</Files>

这样处理后,估计可以了
14  開發 / 核心補強 / Hi MARK 於: 七月 11, 2005, 09:10:48 上午
thank markwu :

  感谢你辛苦的工作与支持。

  非常感谢!
15  開發 / 核心補強 / 关于plog 1.0.1文章分类扩展及加密DIY问题 於: 七月 07, 2005, 12:02:39 上午
目的:
1.在新建文章分类处增加"文章大类"选项
(如:"电脑网络,原创文学....."),即:博客自定义分类,能同时单选"文章大类".
对应的单选按钮,序列号如:
101 ---  加密类
201 ---  电脑网络
202 ---  原创文学
.........

2.其中101加密类,有对应的,密码输入表单.(目的:用户访问此分类,需要输入用户指定的密码)

实施方法为:

1.数据表:articles_categories  增加:BigCategory字段,categoryPass字段

2.
class/action/admin/admineditarticlecategoryaction.class
增加:
a. getBigCategory()
b. $category->getcategoryPass()
c. $category->setBigCategory( $this->_categoryBigCategory );
d. setcategoryPass( $this->_categoryPass );

3.
class/dao/articlecategories.class
增加
a. Db::qstr($articleCategory->getsubcategory()).

4.
class/dao/articlecategory.class
增加
a. setsubcategory()
b. getsubcategory()

5.同时修改了:
templates/admin/editarticlecategory.template
templates/admin/newpostcategory.template
增加了对应的单选按钮,101加密分类的密码表单

6.
locale/
 ...........
对应的语言选项目用户提示按钮.

-------------------------------------------------
这样做了后,已经实现博客分类的归类,修改分类,大类文站分类显示
注:
我修改了 class/dao/articles.class
function buildWhere(.....)
{
.....
 //$query .= " AND c.id = l.category_id AND a.id = l.article_id AND c.in_main_page = 1";
   $query .= " AND c.id = l.category_id AND a.id = l.article_id AND c.in_main_page = 1 AND c.BigCategory != 101";(对应修改)
.....
}

问题:
   
   1.怎样实现:普通客户访问"101加密分类",输入博客指定的密码?需要修改那些模版与那些分类?


只是实现了,101类不在首页显示

由于我对plog的实施体系,不是很了解,也无插件开发系统的资料.自己动手做了修改不当之处请各位老大指正,最好能提出具体解决方法?
頁: [1]