joomla 2.5媒体管理器无法上传图片但没有错误

时间:2013-10-08 08:32:21

标签: php joomla joomla2.5 media-manager

我想问一下,当我点击媒体管理器中的开始上传按钮时,我得到一个空白页面,没有任何错误.... 但是当设置调试到开发模式时,我得到了一些注意

Notice: Undefined index: CONTENT_LENGTH in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 54

Notice: Undefined index: CONTENT_LENGTH in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 55

Notice: Undefined index: CONTENT_LENGTH in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 56

Notice: Undefined index: CONTENT_LENGTH in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 57

Notice: Undefined index: name in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 67

Notice: Undefined index: type in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 67

Notice: Undefined index: tmp_name in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 67

Notice: Undefined index: error in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 67

Notice: Undefined index: size in /home/content/13/11749313/html/administrator/components/com_media/controllers/file.php on line 67

请告诉我媒体经理有什么问题,它的工作正常到星期五,但是从昨天起我遇到了这个问题...我正在使用Joomla 2.5

请帮忙。

1 个答案:

答案 0 :(得分:0)

表单名称是否与/home/content/13/11749313/html/administrator/components/com_media/controllers/file.php中的名称相同?

我的意思是

<input type="file" name="file_abc" />

文件PHP上的同名参数。

$_FILES['file_abc'];