Home arrow Contact Us
Beverage Component error 4.5.2 Mambo
  Welcome, Guest. Please login or register.
December 04, 2008, 05:48:52 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  Bugs Discussion  |  3rd Party Component Bugs  |  Topic: Beverage Component error 4.5.2 Mambo « previous next »
Pages: [1] Go Down Print
Author Topic: Beverage Component error 4.5.2 Mambo  (Read 2339 times)
Bruno cristovao
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Beverage Component error 4.5.2 Mambo
« on: April 08, 2005, 03:40:10 PM »

I have tried all the suggestions but I am stuck on this

Fatal error: Call to undefined function: openconnectionwithreturn() in /home/-----/public_html/mambo/components/com_beverage/sub_viewdetails.php on line 36.

I used the 4.5.2.1 database fix.zip but still no luck, here is the extract of the sub_viewspecial.php.

#############################
Quote
Quote:
# Database Query
$per_page = $ag_perpage;//nb de announcement per page

$database->setQuery($query1);

$connected = $database->query();
//$rows = $database->loadObjectList();

if(!isset($pageno))
{

$pageno = 1;
}
$prev_page = $pageno - 1;
$next_page = $pageno + 1;

// Set up specified page

$page_start = ($per_page * $pageno) - $per_page;
$num_rows = $database->getNumRows($connected);


if ($num_rows $num_pages) || ($pageno < 0)) {
echo "You have specified an invalid page number";
return false;
}

$sql_msg_per_page = $query1. " LIMIT $page_start, $per_page";

$database->setQuery($sql_msg_per_page);
$res = $database->query();


if($connected)
{
$rows = $database->loadObjectList();

$subtitle = (!isset($sorting) || $sorting == '') ? 'Viewed' : _BEVERAGE_VWS_AVG_TOTAL_USERS_VOTE;


#########################################

I need my component to work with 4.5.2.1, can someone point me to the right direction please, by the way your SMF Bridge rules and I am using to introduce SMF into my website? Thanks for developing it  Smiley

Bruno
www.ozbevnet.com
Logged
Pages: [1] Go Up Print 
Forum  |  Bugs Discussion  |  3rd Party Component Bugs  |  Topic: Beverage Component error 4.5.2 Mambo « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE