歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 30, 2024, 08:28:55 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1] 2
1  支援 / 使用與操作 / 模版以及搜尋都會出錯 於: 三月 12, 2006, 06:29:21 下午
我新增模版時 ~

模版可以順利新增 . . 但是

目前掛上的模版有

四個都無法搜尋 ~ 都說找不到關鍵字. .

roodo-template-subway => 空白 ~ 沒有文章

FallingLeaves-randombanner => 同上 ! 文章出不來 !

FallingLeaves => 類別刪不掉 ! 刪除的文章已經清理了

andreas01 => 文章已刪 ~ 但所屬類別內文章數仍有

另外 ~ 如果改成 plog 本身的模版 ~ 文章就正常了 !

但是搜尋是空白頁

上面連結失效了 € 因為我整個 plog 重裝 ~ 一樣不能夠搜尋....

希望有人可以告知要如何修正錯誤 ! 謝謝
2  開發 / 模版發表 / Re: [LifeType 模版] green_community 於: 三月 11, 2006, 06:12:21 下午
不知為什麼

我用了這個模版後 !

我新增了一篇文章

但是在 該 blog 的首頁卻是空白的

必須要點了近期文章後才會正常顯示 !

還有似乎沒有搜尋這東西 ???

請問這是那方面的問題呢 ?

謝謝
3  支援 / 使用與操作 / PHP5 + Mysql5 會出錯 於: 二月 27, 2006, 12:48:21 上午
我是安裝在 PHP5 + Mysql 5 上

OS 是 Solaris 10

使用起來怪怪的 !

ex : 當我在後做任何修改完要更新時會出現入下訊息

程式碼:
Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php:586) in /usr/local/apache2/htdocs/plog/class/view/view.class.php on line 317

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php:586) in /usr/local/apache2/htdocs/plog/class/view/view.class.php on line 175


不知要如何解決呢 ?
4  支援 / 安裝與設定 / Re: 如何把論壇和Blog聯合起來呢? 於: 一月 27, 2006, 02:22:47 上午
1 . 1 版正在嘗試安裝中 !

不過  ~ 不知要做整合要從那步開始 ?
5  建議 / 要求與建議 / Re: plog可以整合的程序有? 於: 一月 27, 2006, 02:18:03 上午
可以整合的話 ~

那麼一方面 ~ phpbb2 可以 和 cpg 整合 !

而 plog 可以和 phpbb2 整合 !

這樣不算是 三個可以互通嗎 ?

還是 ?

不太懂 ~ 抱歉 . ..
6  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 18, 2005, 05:40:51 下午
 嚎啕大哭

唉 ~ 這幾天我前前後後試了 PHP5 和 PHP4

甚至多找了一臺新的 SPARC 的機器安裝了全新的 Solaris 10

結論是


一樣是無法顯示網頁 . . .
7  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 14, 2005, 05:49:20 下午
看樣子 !

真的要死心嘞

不止 Plog 連 CPG 要用的 ImageMagick 和 GD 都 Run 不起來

唉 ~ 難道真的要換平臺 ?

你不夠認真唷! 傷心

用 google 搜尋 parse error before "ctid_t",你會找到一堆相關的討論,主要的原因是 solaris 的 gcc 的 hearder file 有問題,你必須去update 才行(update 也不一定 comiple 的起來),建議你到 solaris 的支援網站去詢問,應該比較有機會。

參考:
http://archives.postgresql.org/pgsql-bugs/2004-12/msg00255.php
http://mail.nessus.org/pipermail/nessus/2005-March/msg00276.html
http://mail-archives.apache.org/mod_mbox/httpd-users/200505.mbox/%3C428B8B67.4060200@oryx.cc%3E

這些是我剛剛用google 找的。

Mark

 嚎啕大哭 . . 我安慰一下自己啦 !

我挺不甘願就這樣放棄的 !

不過學校資訊組的老師也說不知道是啥原因 !

但補了一句 ~ 因為 函式庫的關係有很多東西在 Solaris 上是不能 Run 的

繼續努力試 !
8  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 14, 2005, 02:51:31 上午
看樣子 !

真的要死心嘞

不止 Plog 連 CPG 要用的 ImageMagick 和 GD 都 Run 不起來

唉 ~ 難道真的要換平臺 ?
9  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 13, 2005, 03:11:59 上午
最重要的還是 error.log ,一邊裝一邊看 apache 給你什麼 error.log。

我只看過你第一次的 error.log,他是找錯了目錄。之後呢?當你改設定,後有再檢查 error.log 有給任何的訊息嗎?如果 Apache 沒有那些訊息,那很難幫你找到問題。

你說你在 RHEL 與 Feodora 都有安裝成功,能請你作個對照組嗎:
1. PHP Extension 有沒有不一樣
2. PHP.ini 設定 有沒有不一樣
3. Apache httpd.conf 有沒有不一樣

這樣一步一步抽絲剝繭才能找到原因。

Mark

已經重新上傳了 .zip 的和 .gz 的檔案 ! 然後分別執行其中的 wizard.php

Apache 的 log 檔如以下 !

程式碼:

[Tue Sep 13 02:49:24 2005] [notice] child pid 763 exit signal Segmentation Fault (11)
[Tue Sep 13 02:49:32 2005] [notice] child pid 568 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:32 2005] [notice] child pid 569 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:34 2005] [notice] child pid 760 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:36 2005] [notice] child pid 761 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:42 2005] [notice] child pid 762 exit signal Segmentation Fault (11)


至於 php的資料分別是

http://www.csie.leader.edu.tw/test.php  <= 可以正常安裝 plog 的 RHCE

http://dark-circles.us/test.php  <= 一直無法顯示網頁的 Sun Solaris 10

一看發現差很多 ~ 但不知怎改善 !

另外像在編譯如果加上 gd 時一直出現

有點怪怪的

如果我是按照小紅帽技術論壇裡 安裝完 Solaris 後的下一步做的

程式碼:

./configure --prefix=/usr/local/php \
--with-apxs=/usr/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local/gd1.3 \
--enable-track-vars \
--enable-memory-limit=yes \
--enable-debug=no



make 時會出現如下的錯誤

程式碼:
/bin/sh libtool --silent --mode=compile gcc -I/usr/local/gd1.3/ -
Iext/gd/ -I/usr/local/php-4.3.0/ext/gd/ -DPHP_ATOM_INC -
I/usr/local/php-4.3.0/include -I/usr/local/php-4.3.0/main -
I/usr/local/php-4.3.0 -I/usr/local/php-4.3.0/Zend -
I/usr/local/gd1.3/ -I/usr/local/mysql/include -I/usr/local/php-
4.3.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=2100 -
DMOD_SSL=208122 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_SO_LINGER -
DHARD_SERVER_LIMIT=2048 -DSSL_EXPERIMENTAL_PERDIRCA_IGNORE -
DSSL_EXPERIMENTAL_PROXY_IGNORE -I/usr/local/php-4.3.0/TSRM  -g -O2  -
prefer-pic -c /usr/local/php-4.3.0/ext/gd/gd.c -o ext/gd/gd.lo
In file included from /usr/include/sys/wait.h:24,
                 from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make: *** [ext/gd/gd.lo] Error 1



但是改成

程式碼:

./configure --prefix=/usr/local/php \
--with-apxs=/usr/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-memory-limit=yes \
--enable-debug=no



就又可以成功編譯

不過我真的有照上面所說的先 make gd1.3
也有出現跟文章內所說的訊息一樣

有可能是什麼原因呢 ?


謝謝

10  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 11, 2005, 10:23:53 下午
 嚎啕大哭

這下真的搞笑嘞

我已經把兩位說的都照著改嘞

結果又從 ./tmp 問題變成



無法顯示網頁



看樣子是我少編了啥進去 ~

Solaris 實在是很難用 . . .

唉 . . .

搞不懂的是怎會只有 plog 不能跑呢 ?

CPG 和 Discuz 都挺順利的 ~ 唉 . . .

但意外又發現在 Solaris 上不止 Plog 裝不上去

連縮圖用得到的 ImageMagick 和 GD 都上不去

唉 ~ ...
11  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 11, 2005, 07:33:31 下午
那我改錯嘞

他預設是 off 沒錯 !

再改一次 ~

再不行再重傳一次檔

.zip 和 .tar.gz 的都傳看看

請問是否還有啥 php 裡要注意的呢 ?
12  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 11, 2005, 07:04:00 下午
tmp 的 mode 是 777 ,但是又不能讓 apache 寫入,好熟悉…

莫非又是 safe mode 的問題?

您是指這個嗎 ? 剛剛去 php.ini 中改成下列的值了 !
程式碼:

safe_mode On On
safe_mode_exec_dir no value no value
safe_mode_gid On On
safe_mode_include_dir no value no value



但一樣是

程式碼:

Error

This wizard needs the ./tmp folder to be writable by the web server user.

Please correct that and try again.


會是我 php.ini 裡有東西還未開啟嗎 ?


13  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 11, 2005, 04:56:25 下午
重新再上傳 .zip 內的檔案

變成這樣嘞

程式碼:

Error

This wizard needs the ./tmp folder to be writable by the web server user.

Please correct that and try again.


但有 tmp 啦 ~ 也是 777 嘞 ~ 真怪 ~ 尚在摸索中
14  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 11, 2005, 03:49:30 上午
你的問題有點詭異:

1. Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration

有可能是你的 mod_rewrite 沒裝,或是沒有開啟 allowoverride。如果你懶得找問題,先把 .htaccess 刪除了。


AcceptPathInfo <= 這東西是我爬文時試著加上去的 ! 發現不行又改掉
您說的 mod_rewrite  和 allowoverride 是不是 apache 中的下面這幾行 ?
程式碼:
<Directory "/var/apache/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All

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


照上面看起來好像是開了 ! 至於  .htaccess 這個存不存在是一樣的結果

傷腦筋 ! 是 php.ini 裡面的某個東西沒開啟嗎 ?

小弟尚在研究怎樣在 Solaris 10 上修改 php.ini

唉 ~ 因為除了 plog 以外其它都可以安裝


2. http://dark-circles.us/plog-1.0.1/wizard.php 找不到?

因為 apache 是去找 /var/apache/htdocs/plog-1.0.1.tar/wizard.php。不知什麼原因你的 apache 找的是 plog-1.0.1.tar。有可能是你的 httpd.conf  設錯了,這個你必須自己查了。

Mark


我試著把資料夾改名為 plog-1.0.1.tar 一樣是無法顯示網頁 . . .是否可以指點一下怎麼查呢 ?

 嚎啕大哭
15  支援 / 安裝與設定 / Re: wizard.php 無法顯示網頁 於: 九月 10, 2005, 04:24:11 上午
嗯 ! 陸續的 Google 和修改一些東西

ex : .htaccess這檔的存在與否 ! 還有挺多的 ! 中間有變成全部頁面空白過 ! 但現在又變回無法顯示網頁了

至於 log 檔的內容則如下

程式碼:
[Sat Sep 10 04:50:22 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.0 mod_perl/1.29 configured -- resuming normal operations
[Sat Sep 10 04:50:22 2005] [notice] Accept mutex: fcntl (Default: fcntl)
[Sat Sep 10 04:50:32 2005] [notice] child pid 812 exit signal Segmentation Fault (11)
[Sat Sep 10 04:50:33 2005] [notice] child pid 811 exit signal Segmentation Fault (11)
[Sat Sep 10 04:50:34 2005] [notice] child pid 813 exit signal Segmentation Fault (11)
[Sat Sep 10 04:50:36 2005] [notice] child pid 814 exit signal Segmentation Fault (11)
[Sat Sep 10 04:51:57 2005] [notice] child pid 815 exit signal Segmentation Fault (11)
[Sat Sep 10 04:52:02 2005] [notice] child pid 816 exit signal Segmentation Fault (11)
[Sat Sep 10 04:52:31 2005] [notice] child pid 817 exit signal Segmentation Fault (11)
[Sat Sep 10 04:52:37 2005] [notice] child pid 818 exit signal Segmentation Fault (11)
[Sat Sep 10 04:59:57 2005] [alert] [client 220.134.172.18] /var/apache/htdocs/plog/.htaccess: Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration
[Sat Sep 10 05:00:03 2005] [alert] [client 220.134.172.18] /var/apache/htdocs/plog/.htaccess: Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration
[Sat Sep 10 05:00:12 2005] [error] [client 82.234.18.54] script not found or unable to stat: /var/apache/cgi-bin/openwebmail
[Sat Sep 10 05:00:14 2005] [alert] [client 220.134.172.18] /var/apache/htdocs/plog/.htaccess: Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration
[Sat Sep 10 05:00:15 2005] [alert] [client 220.134.172.18] /var/apache/htdocs/plog/.htaccess: Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration
[Sat Sep 10 05:10:52 2005] [notice] child pid 820 exit signal Segmentation Fault (11)
[Sat Sep 10 05:10:53 2005] [notice] child pid 821 exit signal Segmentation Fault (11)
[Sat Sep 10 05:10:59 2005] [notice] child pid 824 exit signal Segmentation Fault (11)
[Sat Sep 10 05:11:11 2005] [alert] [client 220.134.172.18] /var/apache/htdocs/plog/.htaccess: Invalid command 'AcceptPathInfo', perhaps mis-spelled or defined by a module not included in the server configuration
[Sat Sep 10 05:14:14 2005] [notice] child pid 829 exit signal Segmentation Fault (11)
[Sat Sep 10 05:14:15 2005] [notice] child pid 830 exit signal Segmentation Fault (11)
[Sat Sep 10 05:14:19 2005] [notice] child pid 819 exit signal Segmentation Fault (11)
[Sat Sep 10 05:14:22 2005] [notice] child pid 828 exit signal Segmentation Fault (11)
[Sat Sep 10 05:16:25 2005] [notice] child pid 825 exit signal Segmentation Fault (11)
[Sat Sep 10 05:17:48 2005] [notice] child pid 855 exit signal Segmentation Fault (11)
[Sat Sep 10 05:18:02 2005] [error] [client 220.134.172.18] File does not exist: /var/apache/htdocs/plog-1.0.1.tar/debug.php
[Sat Sep 10 05:18:03 2005] [notice] child pid 856 exit signal Segmentation Fault (11)
[Sat Sep 10 05:18:03 2005] [error] [client 220.134.172.18] File does not exist: /var/apache/htdocs/plog-1.0.1.tar/error.php
[Sat Sep 10 05:18:14 2005] [error] [client 220.134.172.18] File does not exist: /var/apache/htdocs/plog-1.0.1.tar/wizard.php
[Sat Sep 10 05:18:15 2005] [error] [client 220.134.172.18] File does not exist: /var/apache/htdocs/plog-1.0.1.tar/wizard.php
[Sat Sep 10 05:18:26 2005] [notice] child pid 857 exit signal Segmentation Fault (11)
[Sat Sep 10 05:18:27 2005] [notice] child pid 858 exit signal Segmentation Fault (11)
[Sat Sep 10 05:18:42 2005] [notice] child pid 863 exit signal Segmentation Fault (11)
[Sat Sep 10 05:18:45 2005] [notice] child pid 864 exit signal Segmentation Fault (11)

頁: [1] 2