|
AKOGallery2.5b在j! 1.0.x[mambo4.5.x]上的应用
|
|
|
|
Author: Autoit | Date:2006-04-15 | View: 9821 | Digg: 52 |
|
小巧灵活的图库,图片相册,在451的时候就停止开发, 以后版本使用中会出现: Fatal error: Call to undefined function:
openconnectionwithreturn()
in /www/users/lishabeila/components/com_akogallery/sub_viewdetails.php on line 37 解决方法: 在includes/database.php中的function getErrorNum() 的前面加上下面的两个函数: /**
* Execute a database query and returns the result
* @param string The SQL query
* @return resource Database resource identifier. Refer to the PHP manual for more information.
* @deprecated This function is included for tempoary backward compatibility
*/
function openConnectionWithReturn($query){
$result=mysql_query($query) or die("Query failed with error: ".mysql_error());
return $result;
}
/**
* Execute a database query
* @param string The SQL query
* @deprecated This function is included for temporary backward compatibility
*/
function openConnectionNoReturn($query){
mysql_query($query) or die("Query failed with error: ".mysql_error());
}也适用于joomla! AkoGally 2.5b 可以在本站点下载栏目里下载.
Permanent URL: http://www.autoit.cn/index.php/content/view/13/25.html
|