Hi There,
I'm very new to PHP. I'm getting this below error, not sure why. This module was working fine before I patched the Joomla with patch Joomla_1.0.12_to_1.0.14-Stable-Patch_Package. It had no change to this module components/com_tellfriend
Fatal error: Call to undefined function execute() in /chroot/home/buy1-give1free/components/com_tellfriend/tellfriend.php on line 221
Here is the code:
function defaulttellfriend($option)
{
global $mainframe, $database, $my;
global $mosConfig_live_site, $conn;
global $Itemid;
/* Query to retrieve all categories that belong under the contacts section and that are published. */
$result = execute("SELECT * from jos_tellfriend order by id desc",$conn); // Here is the error
$get_rows_count = get_rows_count($result);
if($get_rows_count > 0)
{
while($row = get_row($result))
{
$data[] = $row;
}
}
HTML_tellfriend::defaulttellfriend($data,$option);
}
Kindly guide me in fixing it...
Arun
Joomla driven PHP Function Error Topic is solved
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida