Home arrow Forum Beverage Component error 4.5.2 Mambo
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 05:46:19 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Components
| | |-+  Beverage Component error 4.5.2 Mambo
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Beverage Component error 4.5.2 Mambo  (Read 1835 times)
Bruno cristovao
Joomla 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 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login