LifeType 中文開發論壇

支援 => 使用與操作 => 主題作者是: toni 於 十月 21, 2007, 03:56:39 下午



主題: 资源上传时出错
作者: toni十月 21, 2007, 03:56:39 下午
不知道谁重装过php ,恢复以后就出问题了~,但是文件能正常上传。
再就是选择上传资源到文章中,弹出的页面有脚本错误~
版本1.1
Exception message: filesize(): Stat failed for C:\WINDOWS\TEMP\php517.tmp (errno=2 - No such file or directory)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\gallery\getid3\getid3.php(212): filesize
D:\hbird\myweb\blog\class\gallery\dao\galleryresources.class.php(430): getid3.analyze
D:\hbird\myweb\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\hbird\myweb\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: getimagesize(): Read error!
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\gallery\getid3\getid3.lib.php(1176): getimagesize
D:\hbird\myweb\blog\class\gallery\getid3\module.graphic.jpg.php(30): getid3_lib.getdataimagesize
D:\hbird\myweb\blog\class\gallery\getid3\getid3.php(356): getid3_jpg.getid3_jpg
D:\hbird\myweb\blog\class\gallery\dao\galleryresources.class.php(430): getid3.analyze
D:\hbird\myweb\blog\class\action\admin\adminaddresourceaction.class.php(101): galleryresources.addresource
D:\hbird\myweb\blog\class\controller\controller.class.php(310): adminaddresourceaction.perform
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(323): header
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(323): header
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(323): header
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(323): header
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(323): header
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at D:\hbird\myweb\blog\class\object\exception.class.php:39)
Error code: 2
-- Backtrace --
D:\hbird\myweb\blog\class\view\view.class.php(175): header
D:\hbird\myweb\blog\class\view\view.class.php(325): adminresourceslistview.sendcontenttype
D:\hbird\myweb\blog\class\view\admin\adminview.class.php(111): view.render
D:\hbird\myweb\blog\class\view\admin\admintemplatedview.class.php(36): adminview.render
D:\hbird\myweb\blog\class\view\admin\adminresourceslistview.class.php(147): admintemplatedview.render
D:\hbird\myweb\blog\class\controller\controller.class.php(330): adminresourceslistview.render
D:\hbird\myweb\blog\admin.php(43): admincontroller.process