首頁
新聞
功能
下載
開發
支援
論壇
文件
搜尋
關於我們
歡迎光臨,
訪客
. 請先
登入
或
註冊一個帳號
.
十一月 23, 2024, 09:47:07 上午
19595
文章 在
3865
主題 由
4579
會員
最新註冊會員:
aa123aa1
首頁
說明
搜尋
登入
註冊
LifeType 中文開發論壇
|
支援
|
安裝與設定
|
圖片上傳之後,發生錯誤訊息!
« 上篇主題
下篇主題 »
頁:
[
1
]
列印
作者
主題: 圖片上傳之後,發生錯誤訊息! (閱讀 11443 次)
tinanu
新手見習
文章: 6
圖片上傳之後,發生錯誤訊息!
«
於:
六月 06, 2007, 05:48:52 下午 »
系統環境
作業系統:window 2003 Server
Web Service:IIS 6.0
PHP:PHP Version 4.4.4
LifeType:lifetype-1.1.5
問題如下:
當我上傳一張圖片時,系統就會出現下面的錯誤!
不過雖然有出現錯誤但在檔案清單中有出現該筆記錄,只是此筆資料的圖片連結都會找不到圖片!
我有到我的檔案總管去看過,在特定的資料夾中看到我所上傳的圖片;
但是圖片的名字都被更掉掉了!
請大家幫忙我看一下這是什麼原因!非常感謝!
錯誤訊息如下:
Exception message: filesize() [function.filesize]: Stat failed for C:\WINDOWS\TEMP\php625.tmp (errno=2 - No such file or directory)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\getid3.php(212): filesize
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(435): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: fread() [function.fread]: Length parameter must be greater than 0.
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\module.graphic.jpg.php(30): fread
D:\info\????e\blog\class\gallery\getid3\getid3.php(356): getid3_jpg.getid3_jpg
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(435): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: getimagesize() [function.getimagesize]: Read error!
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\getid3.lib.php(1176): getimagesize
D:\info\????e\blog\class\gallery\getid3\module.graphic.jpg.php(30): getid3_lib.getdataimagesize
D:\info\????e\blog\class\gallery\getid3\getid3.php(356): getid3_jpg.getid3_jpg
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(435): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Division by zero
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(333): calcthumbformat
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(52): gallerygdresizer.calcthumbformat
D:\info\????e\blog\class\gallery\resizers\galleryresizer.class.php(144): gallerygdresizer.generate
D:\info\????e\blog\class\gallery\resizers\gallerythumbnailgenerator.class.php(39): galleryresizer.generate
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(486): gallerythumbnailgenerator.generateresourcethumbnail
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(292): imagecreatetruecolor
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(55): gallerygdresizer.save
D:\info\????e\blog\class\gallery\resizers\galleryresizer.class.php(144): gallerygdresizer.generate
D:\info\????e\blog\class\gallery\resizers\gallerythumbnailgenerator.class.php(39): galleryresizer.generate
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(486): gallerythumbnailgenerator.generateresourcethumbnail
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Division by zero
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(333): calcthumbformat
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(52): gallerygdresizer.calcthumbformat
D:\info\????e\blog\class\gallery\resizers\galleryresizer.class.php(144): gallerygdresizer.generate
D:\info\????e\blog\class\gallery\resizers\gallerythumbnailgenerator.class.php(77): galleryresizer.generate
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(492): gallerythumbnailgenerator.generateresourcemediumsizethumbnail
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(292): imagecreatetruecolor
D:\info\????e\blog\class\gallery\resizers\gallerygdresizer.class.php(55): gallerygdresizer.save
D:\info\????e\blog\class\gallery\resizers\galleryresizer.class.php(144): gallerygdresizer.generate
D:\info\????e\blog\class\gallery\resizers\gallerythumbnailgenerator.class.php(77): galleryresizer.generate
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(492): gallerythumbnailgenerator.generateresourcemediumsizethumbnail
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(323): header
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(323): header
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(323): header
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(323): header
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(323): header
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at D:\info\????e\blog\class\object\exception.class.php:51)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\view\view.class.php(175): header
D:\info\????e\blog\class\view\view.class.php(325): adminresourceslistview.sendcontenttype
D:\info\????e\blog\class\view\admin\adminview.class.php(112): view.render
D:\info\????e\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\info\????e\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\info\????e\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\info\????e\blog\admin.php(43): admincontroller.process
已記錄
markwu
系統管理員
超級會員
文章: 3928
Mark Wu
Re: 圖片上傳之後,發生錯誤訊息!
«
回覆文章 #1 於:
六月 06, 2007, 08:47:50 下午 »
請把他升級到 1.2.2,因為整個上傳的機制改變了。
所以如果你是新架設的網站,請直接用 LifeType 1.2.2。
Mark
已記錄
問問題前,麻煩請先參考
LifeType 中文文件計畫
與
如何在 LifeType 中文開發論壇發問
。
tinanu
新手見習
文章: 6
Re: 圖片上傳之後,發生錯誤訊息!
«
回覆文章 #2 於:
六月 07, 2007, 10:59:35 上午 »
謝謝您,問題已解決
已記錄
tinanu
新手見習
文章: 6
Re: 圖片上傳之後,發生錯誤訊息!
«
回覆文章 #3 於:
六月 07, 2007, 05:17:53 下午 »
不好意思。又來問個問題!
現在我是可以傳檔案上去了!但是發現在網頁上面都有如下面的程式碼!
我所上傳的檔案都很小,都是十幾kb~幾百kb
是不是我哪個權限沒有開到呢?
我有搜尋過討論區,但是有找到類似的問題,但找不到答案!
在麻煩大家幫忙看一下原因!謝謝大家了!
系統環境
作業系統:window 2003 Server
Web Service:IIS 6.0
PHP:PHP Version 4.4.4
LifeType:lifetype-1.2.2
錯誤Code
-----------------------------
Exception message: filesize() [function.filesize]: Stat failed for C:\WINDOWS\TEMP\php6F3.tmp (errno=2 - No such file or directory)
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\getid3.php(212): filesize
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(432): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(114): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(347): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: fread() [function.fread]: Length parameter must be greater than 0.
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\module.graphic.jpg.php(30): fread
D:\info\????e\blog\class\gallery\getid3\getid3.php(356): getid3_jpg.getid3_jpg
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(432): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(114): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(347): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
Exception message: getimagesize() [function.getimagesize]: Read error!
Error code: 2
-- Backtrace --
D:\info\????e\blog\class\gallery\getid3\getid3.lib.php(1176): getimagesize
D:\info\????e\blog\class\gallery\getid3\module.graphic.jpg.php(30): getid3_lib.getdataimagesize
D:\info\????e\blog\class\gallery\getid3\getid3.php(356): getid3_jpg.getid3_jpg
D:\info\????e\blog\class\gallery\dao\galleryresources.class.php(432): getid3.analyze
D:\info\????e\blog\class\action\admin\adminaddresourceaction.class.php(114): galleryresources.addresource
D:\info\????e\blog\class\controller\controller.class.php(347): adminaddresourceaction.perform
D:\info\????e\blog\admin.php(43): admincontroller.process
已記錄
tinanu
新手見習
文章: 6
Re: 圖片上傳之後,發生錯誤訊息!
«
回覆文章 #4 於:
六月 07, 2007, 05:41:40 下午 »
Sorry;問題已解決了!是權限沒開!^^
感謝大家的幫忙
已記錄
頁:
[
1
]
列印
LifeType 中文開發論壇
|
支援
|
安裝與設定
|
圖片上傳之後,發生錯誤訊息!
« 上篇主題
下篇主題 »
前往:
請選擇目的地:
-----------------------------
站務
-----------------------------
=> 站務公告
=> 站務建議
=> 帳號與文章刪除
-----------------------------
支援
-----------------------------
=> 安裝與設定
=> 使用與操作
=> 虛擬主機討論
=> Instant LifeType 專區
===> 安裝與設定精華區
===> 使用與操作精華區
===> 虛擬主機討論精華區
===> 虛擬主機商自我推薦區
===> Instant LifeType 精華區
-----------------------------
開發
-----------------------------
=> 外掛程式
=> 模版設計
=> 核心補強
=> 手冊文件
=> 中文相關
===> 外掛程式精華區
===> 模版發表
===> 模版設計精華區
===> 核心補強精華區
===> 手冊文件精華區
===> 中文相關精華區
-----------------------------
測試
-----------------------------
=> LifeType 1.0 測試
=> LifeType 1.1 測試
-----------------------------
部落格應用
-----------------------------
=> 教育部落格
-----------------------------
建議
-----------------------------
=> 要求與建議
=> 發表與交流
=> 網誌文化與業界動態
Powered by SMF 1.1.6
|
SMF © 2006-2008, Simple Machines LLC
載入...