歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 24, 2024, 07:58:37 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  測試 / LifeType 1.0 測試 / 各位的運行環境如何?有沒有用Linux的 於: 三月 21, 2005, 09:29:12 上午
能否說明一下
Linux,PHP,apache,GD,ZEND的情況版本
2  測試 / LifeType 1.0 測試 / 中文问题 於: 三月 18, 2005, 12:34:27 下午
感謝各位的幫助,最後用了 lss
的第二種辦法
3  測試 / LifeType 1.0 測試 / 中文问题 於: 三月 18, 2005, 09:19:01 上午
是這樣的,我要用PLOG與一個論壇( Discuz! 2.5)整合起來,共用用戶數據庫,
改論壇數據庫中的用戶名字段是中文,例如: 小鳥
這樣的話我用PLOG就無法登陸,應爲登陸框中輸入 小鳥後提交到
user.class.php中的
 function authenticateUser( $user, $pass )
時,$user 的值變爲了 灏忛偿

如此一來:
$query = "SELECT * FROM ".$this->DB_USER."
       WHERE username = '".Db::qstr($user)."' AND password = '".md5($pass)."'                 AND status = '".USER_STATUS_ACTIVE."'"

該語句就找不到正確的記錄
4  測試 / LifeType 1.0 測試 / 中文问题 於: 三月 18, 2005, 09:04:59 上午
爲何輸入字段值爲 小鳥
數據庫中卻爲  灏忛偿

有什麽辦法將  灏忛偿 還原爲 小鳥
5  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 03:24:15 下午
存在的
6  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 02:38:23 下午
找到了,最終跟蹤到的問題語句:

getid3.lib.php的1089行
if (@include_once($filename))

$filename=/var/www/html/blog/class/gallery/getid3/module.tag.id3v2.php


但不知爲何出錯,不明白,
該PHP環境下運行其它程式都正常,應該不會有問題的
7  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 02:22:06 下午
引用自: andywang
把temp_folder
pLog系統執行某些操作時要用到的臨時文件夾路徑。
設置爲絕對路徑,例如/www/blog/tmp

resources_folder
存儲資源文件的文件夾
設置爲絕對路徑,例如/www/blog/gallery
我也曾經遇見不能上傳問題這麽解決的。



更改過了,問題沒有解決,
而且未安裝Orcle

我的是Red-Hat 9.0
8  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 02:08:48 下午
如果:
echo 'aaaaaaa';exit;
$metadata = $getId3->analyze($upload->getTmpName());
echo 'bbbbbb';exit;

則結果爲 aaaaaaa

如果:
echo 'aaaaaaa';
$metadata = $getId3->analyze($upload->getTmpName());
echo 'bbbbbb';exit;

則跳轉到管理面板,無任何提升,
9  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 01:30:13 下午
这个是 httpd/logs/error_log

[Wed Mar 16 09:03:49 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 16 09:03:49 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 16 09:03:49 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Wed Mar 16 09:03:51 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Wed Mar 16 09:40:23 2005] [error] [client 192.168.0.200] Directory index forbidden by rule: /var/www/html/
[Wed Mar 16 10:23:43 2005] [warn] child process 886 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 887 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 888 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 889 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 890 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 891 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 892 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 893 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [notice] caught SIGTERM, shutting down
[Wed Mar 16 10:28:17 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 16 10:28:17 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 16 10:28:17 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Wed Mar 16 10:28:19 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Wed Mar 16 10:38:11 2005] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Wed Mar 16 10:38:19 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/plog/wizard.phjp
[Thu Mar 17 10:01:56 2005] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 10:07:30 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:22:12 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 10:22:12 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 10:22:12 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 10:22:15 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:02:38 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:38 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:42 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:42 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:07:11 2005] [notice] child pid 722 exit signal Segmentation fault (11)
[Thu Mar 17 13:11:35 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:14:28 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:15:22 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 1239 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 726 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 728 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 1239 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 726 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 728 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:23 2005] [notice] caught SIGTERM, shutting down
[Thu Mar 17 13:16:30 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 13:16:30 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 13:16:30 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 13:16:31 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:16:33 2005] [notice] caught SIGTERM, shutting down
[Thu Mar 17 13:16:35 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 13:16:35 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 13:16:35 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 13:16:36 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:18:19 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:18:42 2005] [notice] child pid 1712 exit signal Segmentation fault (11)
[Thu Mar 17 13:28:04 2005] [notice] child pid 1705 exit signal Segmentation fault (11)
[Thu Mar 17 13:35:27 2005] [notice] child pid 1711 exit signal Segmentation fault (11)
[Thu Mar 17 13:38:47 2005] [notice] child pid 1708 exit signal Segmentation fault (11)
[Thu Mar 17 13:39:09 2005] [notice] child pid 1710 exit signal Segmentation fault (11)
[Thu Mar 17 13:40:00 2005] [notice] child pid 1707 exit signal Segmentation fault (11)
[Thu Mar 17 13:42:04 2005] [notice] child pid 1709 exit signal Segmentation fault (11)
[Thu Mar 17 13:48:12 2005] [notice] child pid 1850 exit signal Segmentation fault (11)
[Thu Mar 17 13:48:32 2005] [notice] child pid 1851 exit signal Segmentation fault (11)
[Thu Mar 17 14:19:03 2005] [notice] child pid 1706 exit signal Segmentation fault (11)
10  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 17, 2005, 01:24:25 下午
我一步步跟蹤運行下去,問題出在:
galleryresources.class.php

$metadata = $getId3->analyze($upload->getTmpName());
11  測試 / LifeType 1.0 測試 / 新建資源 爲何在 linux下不能正常使用 於: 三月 15, 2005, 01:34:09 下午
我在window下試過了,一切都很正常,但是在linux下,

上傳任何資料都不成功,權限肯定沒有問題,我都設成是777
 
絕對路徑和相對路徑也都試過了,分別是
 ./tmp  /var/www/html/blog/tmp
./gallery  /var/www/html/blog/gallery

但點擊上傳之後,就跳轉到   管理面板  
各位有誰遇到過類似情況麽
頁: [1]