Support jOOmla! Autoit!
 
AKOGallery2.5b在j! 1.0.x[mambo4.5.x]上的应用 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2006-04-15 | View Count View: 9821 | Digg Count 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

Shares: Google书签 Yahoo书签 雅虎收藏夹 365Key网摘 新浪ViVi 百度收藏 天极网摘 diglog 和讯网摘 POCO网摘 YouNote网摘 博拉网 天下图摘 spurl blogmarks BlinkList reddit digg Del.icio.us   |  Tags: AKO  Gallery  图库  

 
jOOmla v1.0.8常见问题   zOOm251rc1与mod_pics2b236常见问题集