主題: LifeType 1.0.6版 升級到 1.1正式版後,發現無法上傳檔案,出現以下訊息: 作者: shian 於 十月 18, 2006, 12:00:19 上午 LifeType 1.0.6版 升級到 1.1正式版後,發現無法上傳檔案,上傳檔案會出現以下訊息:
Exception message: copy(./gallery/1/1-89.jpg): failed to open stream: ?ڵ????Ņv?????ާ@ Error code: 2 -- Backtrace -- /var/www/html/plog/class/file/file.class.php(382): copy /var/www/html/plog/class/gallery/dao/galleryresourcestorage.class.php(259): file.rename /var/www/html/plog/class/gallery/dao/galleryresources.class.php(454): galleryresourcestorage.storeupload /var/www/html/plog/class/action/admin/adminaddresourceaction.class.php(101): galleryresources.addresource /var/www/html/plog/class/controller/controller.class.php(310): adminaddresourceaction.perform /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(323): header /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(323): header /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(323): header /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(323): header /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(323): header /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:39) Error code: 2 -- Backtrace -- /var/www/html/plog/class/view/view.class.php(175): header /var/www/html/plog/class/view/view.class.php(325): adminresourceslistview.sendcontenttype /var/www/html/plog/class/view/admin/adminview.class.php(111): view.render /var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render /var/www/html/plog/class/view/admin/adminresourceslistview.class.php(147): admintemplatedview.render /var/www/html/plog/class/controller/controller.class.php(330): adminresourceslistview.render /var/www/html/plog/admin.php(43): admincontroller.process 我的主機是fedora c1 ,升級過程也有按照 LifeType 1.1 Upgradehttp://wiki.lifetype.org.tw/index.php?title=LifeType_1.1_Upgrade 升級 LifeType 1.1 beta1 的小撇步http://blog.nlhs.tyc.edu.tw/post/2/153 懇請協助!謝謝! 主題: Re: LifeType 1.0.6版 升級到 1.1正式版後,發現無法上傳檔案,出現以下訊息: 作者: shian 於 十月 18, 2006, 12:29:55 上午 Sorry!已經自行解決
將gallery下的所有資料夾權限為apache使用者(web可以寫入)即可解決。 主題: Re: LifeType 1.0.6版 升級到 1.1正式版後,發現無法上傳檔案,出現以下訊息: 作者: bigjj 於 十月 18, 2006, 02:48:35 下午 去官方下1.11,解决了这个问题
|