歡迎光臨, 訪客. 請先 登入註冊一個帳號.
十一月 01, 2024, 02:31:34 下午
19595 文章 在 3865 主題 由 4579 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  上传资源出错(更换主机后) « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 上传资源出错(更换主机后)  (閱讀 6214 次)
godfrog
新手見習
*
文章: 3


檢視個人資料
« 於: 十月 14, 2005, 07:44:54 下午 »

www.u-tea.com
更换主机后,顺便升到了1.0.1,上传图片时报如下错误。但是图片还是上传了,没有缩略图生成
Exception message: imagejpeg(): Unable to open './gallery/2/previews/2-30.jpg' for writing
Error code: 2
-- Backtrace --
/home/frog/html/plog/class/gallery/resizers/gallerygdresizer.class.php(306): imagejpeg
/home/frog/html/plog/class/gallery/resizers/gallerygdresizer.class.php(56): gallerygdresizer.save
/home/frog/html/plog/class/gallery/resizers/galleryresizer.class.php(151): gallerygdresizer.generate
/home/frog/html/plog/class/gallery/dao/galleryresources.class.php(385): galleryresizer.generate
/home/frog/html/plog/class/gallery/dao/galleryresources.class.php(498): galleryresources.generateresourcethumbnail
/home/frog/html/plog/class/action/admin/adminaddresourceaction.class.php(78): galleryresources.addresource
/home/frog/html/plog/class/controller/controller.class.php(305): adminaddresourceaction.perform
/home/frog/html/plog/admin.php(39): admincontroller.process

Exception message: imagejpeg(): Unable to open './gallery/2/previews-med/2-30.jpg' for writing
Error code: 2
-- Backtrace --
/home/frog/html/plog/class/gallery/resizers/gallerygdresizer.class.php(306): imagejpeg
/home/frog/html/plog/class/gallery/resizers/gallerygdresizer.class.php(56): gallerygdresizer.save
/home/frog/html/plog/class/gallery/resizers/galleryresizer.class.php(151): gallerygdresizer.generate
/home/frog/html/plog/class/gallery/dao/galleryresources.class.php(417): galleryresizer.generate
/home/frog/html/plog/class/gallery/dao/galleryresources.class.php(499): galleryresources.generateresourcemediumsizethumbnail
/home/frog/html/plog/class/action/admin/adminaddresourceaction.class.php(78): galleryresources.addresource
/home/frog/html/plog/class/controller/controller.class.php(305): adminaddresourceaction.perform
/home/frog/html/plog/admin.php(39): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/frog/html/plog/class/object/exception.class.php:37)
Error code: 2
-- Backtrace --
/home/frog/html/plog/class/view/view.class.php(172): header
/home/frog/html/plog/class/view/view.class.php(309): adminresourceslistview.sendcontenttype
/home/frog/html/plog/class/view/admin/adminview.class.php(106): view.render
/home/frog/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/frog/html/plog/class/view/admin/adminresourceslistview.class.php(104): admintemplatedview.render
/home/frog/html/plog/class/controller/controller.class.php(325): adminresourceslistview.render
/home/frog/html/plog/admin.php(39): admincontroller.process
pLog Admin
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 十月 17, 2005, 11:36:32 上午 »

你有安裝 GD 嗎?

另外,可以檢查一下你的 /plog/gallery/2/previews 是 writable 的嗎?

Mark
已記錄

頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  上传资源出错(更换主机后) « 上篇主題 下篇主題 »
    前往: