我有一個奇怪的問題,phpmyadmin 4.0.10。首先我運行這個版本,因爲我的mysql版本是5.1.57。phpMyAdmin配置存儲錯誤
我有phpmyadmin設置和除存儲設置以外的所有配置。我創建了phpmyadmin數據庫和必要的表格。我也創建了pma用戶並確保它的所有權限都是正確的。在我的配置文件中,我添加了此用戶的設置並通過密碼進行了複製。
如果我現在保存我的配置而不實際設置存儲數據庫和表,那麼一切正常。但是,如果我啓用這些表格,則每當我嘗試將列添加到表結構中時,都會在我的日誌中看到以下錯誤500消息。
PHP Fatal error: Call to undefined function ._Application_Octetstream_Download_getInfo() in /htdocs/phpmyadmin/libraries/transformations.lib.php on line 153
任何想法這裏發生了什麼?我刪除並重新創建了我的phpmyadmin數據庫。我已刪除並重新創建了pma用戶。我刪除並重新創建了我的配置文件,這就是我最終將這個錯誤追蹤到存儲表的原因。
如果有幫助,這是導致該問題的transformations.lib.php文件中的一段代碼:
/**
* Returns the description of the transformation
*
* @param string $file transformation file
* @param boolean $html_formatted whether the description should be formatted
* as HTML
*
* @return String the description of the transformation
*/
function PMA_getTransformationDescription($file, $html_formatted = true)
{
// get the transformation class name
$class_name = explode(".class.php", $file);
$class_name = $class_name[0];
// include and instantiate the class
include_once 'libraries/plugins/transformations/' . $file;
return $class_name::getInfo();
}
這已經在phpmyadmin中得到修復,並且應該很快使它成爲發佈渠道的方式。 – Cloudkiller