歡迎光臨, 訪客. 請先 登入註冊一個帳號.
十一月 26, 2024, 05:09:03 上午
19595 文章 在 3865 主題 由 4579 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  測試  |  LifeType 1.0 測試  |  plog1.0_Beta版 資料夾上傳圖示無法顯示 « 上篇主題 下篇主題 »
頁: 1 [2] 3
作者 主題: plog1.0_Beta版 資料夾上傳圖示無法顯示  (閱讀 127231 次)
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #15 於: 三月 14, 2005, 10:52:34 下午 »

引用自: reic

我剛剛查了一下
http://plog1.read.org.tw/resserver.php?blogId=1&resource=C.jpg&mode=preview

完全沒有東西啊
你看一下你的 gallery/1 下面有沒有
previews/
previews-med/
我測的感覺是
med 目錄有
previews 好像不存在的樣子。

我直接去看 http://plog1.read.org.tw/gallery/1/1-2.jpg 是該圖檔,但是
http://plog1.read.org.tw/gallery/1/previews/1-2.jpg
http://plog1.read.org.tw/gallery/1/previews-med/1-2.jpg
則是不存在的。

對他的症狀很難判斷原因在那裡?! 挑眉質疑
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
king
訪客
« 回覆文章 #16 於: 三月 14, 2005, 11:17:29 下午 »

我也有遇到相同的問題
我的OS是Fedora Core 3
安裝的pLog為1.0 (2005-03-12)
我確定在設定的地方有選PHP GD但就是無法產生縮圖
依據上文把幾個log檔貼出來

access-log

192.168.1.5 - - [15/Mar/2005:00:02:17 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_03.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:17 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_03.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:18 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_05.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:18 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_05.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:19 +0800] "GET /plog/resserver.php?blogId=1&resource=DSC07255.JPG&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:19 +0800] "GET /plog/resserver.php?blogId=1&resource=DSC07255.JPG&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:18 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_06.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:18 +0800] "GET /plog/resserver.php?blogId=1&resource=gril_06.jpg&mode=preview HTTP/1.1" 200 - "http://192.168.1.2/plog/index.php?op=ViewAlbum&albumId=2&blogId=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:21 +0800] "GET /favicon.ico HTTP/1.1" 404 286 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
192.168.1.5 - - [15/Mar/2005:00:02:21 +0800] "GET /favicon.ico HTTP/1.1" 404 286 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"


error-log:
[Tue Mar 15 00:01:34 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:02:11 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:02:21 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:06:01 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:06:04 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:06:04 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:06:10 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:06:21 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:07:35 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico
[Tue Mar 15 00:07:42 2005] [error] [client 192.168.1.5] File does not exist: /var/www/html/favicon.ico



./tmp/plog.log
15-03-2005 00:06:08 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:08 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:08 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:08 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/admin/
15-03-2005 00:06:08 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/admin/
15-03-2005 00:06:08 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./adminnewresourceaction.class.php
15-03-2005 00:06:08 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/adminnewresourceaction.class.php
15-03-2005 00:06:08 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/admin/adminnewresourceaction.class.php
15-03-2005 00:06:08 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 6795768
15-03-2005 00:06:08 DEBUG - [locale.class.php:126 (logger:debug)] Freeing memory for locate zh_TW: 6753968
15-03-2005 00:06:08 DEBUG - [galleryresourcestorage.class.php:56 (logger:debug)] base folder = ./gallery
15-03-2005 00:06:08 DEBUG - [galleryresourcestorage.class.php:59 (logger:debug)] Checking if base gallery folder exists = ./gallery
15-03-2005 00:06:08 DEBUG - [galleryresourcestorage.class.php:79 (logger:debug)] Base folder exists and it is readable.
15-03-2005 00:06:09 DEBUG - [templateservice.class.php:270 (logger:debug)]  Template::secure_dir = Array
15-03-2005 00:06:09 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 7782808
15-03-2005 00:06:09 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 7861640
15-03-2005 00:06:09 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu
15-03-2005 00:06:09 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu/resourceCenter
15-03-2005 00:06:09 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu/resourceCenter/newResource
15-03-2005 00:06:09 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 7860584
15-03-2005 00:06:15 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:15 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:15 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:15 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/admin/
15-03-2005 00:06:15 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/admin/
15-03-2005 00:06:15 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./adminaddresourceaction.class.php
15-03-2005 00:06:15 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/adminaddresourceaction.class.php
15-03-2005 00:06:15 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/admin/adminaddresourceaction.class.php
15-03-2005 00:06:15 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 6855296
15-03-2005 00:06:15 DEBUG - [locale.class.php:126 (logger:debug)] Freeing memory for locate zh_TW: 6813800
15-03-2005 00:06:15 DEBUG - [locale.class.php:104 (logger:debug)] Memory used after loading locale zh_TW: 7001152
15-03-2005 00:06:15 DEBUG - [adminaddresourceaction.class.php:56 (logger:debug)] Arrary [  ]
15-03-2005 00:06:15 DEBUG - [adminaddresourceaction.class.php:60 (logger:debug)] processing DSC07279.JPG
15-03-2005 00:06:15 DEBUG - [galleryresourcequotas.class.php:70 (logger:debug)] quota for blog 1 is 0
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:422 (logger:debug)] New resource validated ok!
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:427 (logger:debug)] Resource metadata fetched!
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:255 (logger:debug)] getResourceType: Resource type = 1
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:302 (logger:debug)] Resource added to db successfully! Resource ID = 22
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:56 (logger:debug)] base folder = ./gallery
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:59 (logger:debug)] Checking if base gallery folder exists = ./gallery
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:79 (logger:debug)] Base folder exists and it is readable.
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:129 (logger:debug)] base folder = ./gallery
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:137 (logger:debug)] user folder = ./gallery/1
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:253 (logger:debug)] storeUpload: fileExt = JPG - fileName = 1-22.JPG - filePath = ./gallery/1/
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:269 (logger:debug)] moving ./tmp//tmp/phpEmJZxl to
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:283 (logger:debug)]  copying ./tmp/phpEmJZxl to ./gallery/1/1-22.JPG
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:291 (logger:debug)] chmodding file to 0777
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:447 (logger:debug)] res file = ./gallery/1/1-22.JPG
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:171 (logger:debug)] previews folder = ./gallery/1/previews
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:174 (logger:debug)] Checking if previews folder exists = ./gallery/1/previews
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:193 (logger:debug)] Previews folder checked ok!
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:348 (logger:debug)] ** generateResourceThumbnail
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:349 (logger:debug)]    outFile = ./gallery/1/previews/1-22.jpg
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:350 (logger:debug)]    resFile = ./gallery/1/1-22.JPG
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:351 (logger:debug)]    fileExt = jpg
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:352 (logger:debug)]    ownerId = 1
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:353 (logger:debug)]    resourceId = 22
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:205 (logger:debug)] medium size previews folder = ./gallery/1/previews-med
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:208 (logger:debug)] Checking if medium size previews folder exists = ./gallery/1/previews-med
15-03-2005 00:06:15 DEBUG - [galleryresourcestorage.class.php:227 (logger:debug)] Previews folder checked ok!
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:387 (logger:debug)] ** generateResourceMediumSizeThumbnail
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:388 (logger:debug)]    outFile = ./gallery/1/previews-med/1-22.jpg
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:389 (logger:debug)]    resFile = ./gallery/1/1-22.JPG
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:390 (logger:debug)]    fileExt = jpg
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:391 (logger:debug)]    ownerId = 1
15-03-2005 00:06:15 DEBUG - [galleryresources.class.php:392 (logger:debug)]    resourceId = 22
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-35^%%-355208540^errormessage.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-35^%%-355208540^errormessage.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-12^%%-1267273454^validate.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-12^%%-1267273454^validate.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-84^%%-848422219^album.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-84^%%-848422219^album.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%708^%%708030875^formvalidate.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%708^%%708030875^formvalidate.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-13^%%-1328910313^header.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-13^%%-1328910313^header.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-18^%%-1874371538^adminpager.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-18^%%-1874371538^adminpager.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-22^%%-22448673^menutabs.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-22^%%-22448673^menutabs.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%102^%%1029539761^footer.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%102^%%1029539761^footer.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-97^%%-974556464^successmessage.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-97^%%-974556464^successmessage.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-20^%%-2028858592^navigation.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-20^%%-2028858592^navigation.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%203^%%2037404597^footer.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%203^%%2037404597^footer.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%615^%%61551791^resources.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%615^%%61551791^resources.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%144^%%1447064722^footernavigation.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%144^%%1447064722^footernavigation.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-18^%%-186145773^header.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-18^%%-186145773^header.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/%%-20^%%-2091349731^newresource.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/%%-20^%%-2091349731^newresource.template.php
15-03-2005 00:06:15 DEBUG - [file.class.php:230 (logger:debug)] processing file ./tmp/1/087a928f2888e30e5ed8aa9a4f2597fd^%%-84^%%-848422219^album.template
15-03-2005 00:06:15 DEBUG - [file.class.php:233 (logger:debug)] deleting file ./tmp/1/087a928f2888e30e5ed8aa9a4f2597fd^%%-84^%%-848422219^album.template
15-03-2005 00:06:15 DEBUG - [file.class.php:239 (logger:debug)] removing top level folder ./tmp/1/087a928f2888e30e5ed8aa9a4f2597fd^%%-84^%%-848422219^album.template
15-03-2005 00:06:15 DEBUG - [file.class.php:207 (logger:debug)] file not readable, exiting...
15-03-2005 00:06:15 DEBUG - [templateservice.class.php:264 (logger:debug)] creating temporary folder ./tmp/1
15-03-2005 00:06:15 DEBUG - [templateservice.class.php:270 (logger:debug)]  Template::secure_dir = Array
15-03-2005 00:06:15 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu
15-03-2005 00:06:15 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu/resourceCenter
15-03-2005 00:06:15 DEBUG - [menurenderer.class.php:150 (logger:debug)] path = menu/resourceCenter/resources
15-03-2005 00:06:16 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:16 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:16 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:16 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:16 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:16 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:16 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:17 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:17 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:17 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:17 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:17 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:17 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:17 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:18 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:18 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:18 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:18 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:18 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:19 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:19 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:19 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:19 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:19 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:19 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:19 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:66 (logger:debug)] cookie path = /plog
15-03-2005 00:06:20 DEBUG - [sessionmanager.class.php:88 (logger:debug)] cookie domain = 192.168.1.2
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [controller.class.php:111 (logger:debug)] new folder path = /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:62 (logger:debug)] Adding new search folder: /var/www/html/plog/class/action/
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: ./resourceserveraction.class.php
15-03-2005 00:06:20 DEBUG - [resourceclassloader.class.php:102 (logger:debug)] trying to load file: /var/www/html/plog/class/action/resourceserveraction.class.php
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #17 於: 三月 14, 2005, 11:24:14 下午 »

怪了!縮圖都產生了阿?你可以看一下 ./galley/1/preview 與 ./gallery/1/preview-med 有產生縮圖檔案嗎?

Mark
已記錄

king
訪客
« 回覆文章 #18 於: 三月 14, 2005, 11:39:25 下午 »

不知markwu大大是回我還是另一位
我就臉皮厚一點先回答好了 吐舌頭
檢查過gallery/1/ 確實有preview/ 與preview-med/ 兩個目錄
但目錄裡是空的什麼檔案也沒有
 對了我也曾試過按「重新產生縮圖」的按鈕不過也沒用....繼續研究中....
已記錄
reic
LifeType 中文發展團隊
初級會員
*****
文章: 57


檢視個人資料 個人網站
« 回覆文章 #19 於: 三月 15, 2005, 01:06:04 上午 »

引用自: king
不知markwu大大是回我還是另一位
我就臉皮厚一點先回答好了 吐舌頭
檢查過gallery/1/ 確實有preview/ 與preview-med/ 兩個目錄
但目錄裡是空的什麼檔案也沒有
 對了我也曾試過按「重新產生縮圖」的按鈕不過也沒用....繼續研究中....


chmod -R 4777 gallery/ 呢?

會不會擋案沒辦法從  tmp/ 投到 gallery 中啊?
已記錄

歡迎光臨 Reic's place
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #20 於: 三月 15, 2005, 08:37:07 上午 »

引用
我也有遇到相同的問題
我的OS是Fedora Core 3
安裝的pLog為1.0 (2005-03-12)
我確定在設定的地方有選PHP GD但就是無法產生縮圖

從你提供的log來看,應該是有產生縮圖,但你說實際上沒有,所以假設不是pLog的問題,而是系統的問題。
目前猜想一下可能的問題所在(亂槍打鳥一下啦…)
1.你有安裝SELinux for Fedora Core 3嗎?試著移除或disable它再試試看。SELinux 在 FC2/3 裡可以提高系統安全性,但要懂得設定(個人也沒研究),否則會造成很多權限問題。
2.你的 PHP 是否在安全模式跑?
3.檢查一下硬碟空間夠不夠?你的apache owner的quota還有剩嗎?
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #21 於: 三月 15, 2005, 10:49:23 上午 »

mmm .... 我目前沒有 idea 了 傷心 ,真的不知為什麼!

Mark
已記錄

kochlin
新手見習
*
文章: 46


檢視個人資料
« 回覆文章 #22 於: 三月 15, 2005, 12:40:59 下午 »

引用自: reic
引用自: kochlin
引用自: markwu

2.同樣的問題也在 XP+easyphp 1.8:apache 1.3.33-php 4.3.10
   下發生。

3.小弟試過很多張圖結果都一樣。其他人有沒有這種問題???



我自己平常在試也是用 XP + easyphp 1.8 ,完全正常啊。

我剛剛查了一下
http://plog1.read.org.tw/resserver.php?blogId=1&resource=C.jpg&mode=preview

完全沒有東西啊
你看一下你的 gallery/1 下面有沒有
previews/
previews-med/
我測的感覺是
med 目錄有
previews 好像不存在的樣子。


---------------------------------------------------------------
gallery/1 有如下
/previews    但內容是空的
/previews-med  但內容是空的
1-2.jpg
1-3.jpg
1-4.jpg

請問/gallery 是777
      /gallery/1 是755 <應該沒錯吧!還是/gallery下的子目錄全要777>
已記錄
kochlin
新手見習
*
文章: 46


檢視個人資料
« 回覆文章 #23 於: 三月 15, 2005, 12:54:32 下午 »

引用自: lss
引用
我也有遇到相同的問題
我的OS是Fedora Core 3
安裝的pLog為1.0 (2005-03-12)
我確定在設定的地方有選PHP GD但就是無法產生縮圖

從你提供的log來看,應該是有產生縮圖,但你說實際上沒有,所以假設不是pLog的問題,而是系統的問題。
目前猜想一下可能的問題所在(亂槍打鳥一下啦…)
1.你有安裝SELinux for Fedora Core 3嗎?試著移除或disable它再試試看。SELinux 在 FC2/3 裡可以提高系統安全性,但要懂得設定(個人也沒研究),否則會造成很多權限問題。
2.你的 PHP 是否在安全模式跑?
3.檢查一下硬碟空間夠不夠?你的apache owner的quota還有剩嗎?


---------------------------------------------------------------------------
小弟的也是Fedora Core 3
不過為什麼在同一台主機下 0.3.2就可以看的到縮圖,而1.0就看不到呢 驚訝
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #24 於: 三月 15, 2005, 01:39:39 下午 »

引用自: kochlin

---------------------------------------------------------------
gallery/1 有如下
/previews    但內容是空的
/previews-med  但內容是空的
1-2.jpg
1-3.jpg
1-4.jpg

請問/gallery 是777
      /gallery/1 是755 <應該沒錯吧!還是/gallery下的子目錄全要777>

那倒不一定,要看 gallery/ 和其下的 子目錄的 owner 和 apache 的 owner 是不是同一個。

假設 apache 的 owner 就叫 apache吧(我對 FC3 環境不熟)!

若你的 gallery/{blogId}/(previews|previews-med) 子目錄的 owner 是 root , 那 755 只能讓 apache 具有 r-x 的權限,不能寫入,那縮圖就寫不進去了。不過,這樣 plog.log 應該會有紀錄才對,除非 logger 有問題。

若整個 gallery 含子目錄的 owner 都是 apache,則目錄只要有 700 的權限也可以正確的上傳檔案、產生縮圖。

所以我們真的不知道你的問題在那裡?難道你的 PHP 在跑的時候不是用 apache 的身份嗎?

對了,你有沒有試試註冊另一個使用者和blog,是否仍然一樣?! 挑眉質疑
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
king
訪客
« 回覆文章 #25 於: 三月 15, 2005, 02:37:35 下午 »

綜合一下各位大大所提的方式
我實際試過的有:

1.SELinux for Fedora Core 3 <== 開啟SELinux 會造成安裝pLog發生錯誤(別篇文章討論過)所以當初安裝Linux時就預設把它關掉了

2. 將 gallery/ 及其下所有檔案、目錄權限改成777 <== 結果仍然無法產生縮圖

3. chmod -R 4777 gallery/ <== 仍然無法產生縮圖,而且連圖片也無法上傳了(=_=a)

我在想會與我安裝的路徑有關嗎
我是裝在 /var/www/html/plog/
我找另一台電腦灌 redhat9 來試試看
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #26 於: 三月 15, 2005, 08:37:43 下午 »

Hi king:

能請你私下跟 lss 聯絡(pm) 一下嗎?他的lunix 比較熟。如果可以給他 ssh 的帳好讓他有辦法看一下。

hi lss:

不好意思。幫你約了個不情之請。因為我 linux 不熟,可是這個問題又不少人問。真的很棘手,我也不知如何解。傷腦筋。如果你有空,請你看一下。如果沒空,我在找人幫忙看 ...謝謝!

Mark
已記錄

lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #27 於: 三月 15, 2005, 11:34:53 下午 »

引用自: markwu
Hi king:

能請你私下跟 lss 聯絡(pm) 一下嗎?他的lunix 比較熟。如果可以給他 ssh 的帳好讓他有辦法看一下。

hi lss:

不好意思。幫你約了個不情之請。因為我 linux 不熟,可是這個問題又不少人問。真的很棘手,我也不知如何解。傷腦筋。如果你有空,請你看一下。如果沒空,我在找人幫忙看 ...謝謝!

Mark

mark:
別這樣說,我也很好奇他的問題原因是什麼?!只是我也是做學校網管的,知道把 ssh 帳號交給別人(尤其是有足夠權限)是什麼感覺 眨眼睛 所以我不好意思跟他要而已。如果king兄願意,我當然樂意幫忙試試看。
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
king
訪客
« 回覆文章 #28 於: 三月 16, 2005, 07:51:52 上午 »

先說聲抱歉這麼晚才回覆
如果lss大大願意協助我很樂意提供環境
絕對讓你有足夠的權限
相信也可以造福站上不少人^^
又要再抱歉一次因為要等我下班後才能把環境整理出來
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #29 於: 三月 16, 2005, 08:59:22 下午 »

hi king:
剛剛去你的主機上看過了,請收私人信息。
目前的診斷是你的 PHP 對 GD 的支援有問題。
可能得看看 FC3 的 PHP 是否有新版,要更新一下,看能不能解決這個問題。
祝好運!
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
頁: 1 [2] 3
LifeType 中文開發論壇  |  測試  |  LifeType 1.0 測試  |  plog1.0_Beta版 資料夾上傳圖示無法顯示 « 上篇主題 下篇主題 »
    前往: