reservation module not loading with error that crashes site

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

reservation module not loading with error that crashes site

Post by andyg »

When I install the Reservations module I get this:

Warning: include_once(/home/golfpara/public_html/lib/adodb_lite/adodbSQL_drivers//_datadict.inc) [function.include-once]: failed to open stream: No such file or directory in /home/golfpara/public_html/lib/adodb_lite/adodb.inc.php on line 158

Warning: include_once() [function.include]: Failed opening '/home/golfpara/public_html/lib/adodb_lite/adodbSQL_drivers//_datadict.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/golfpara/public_html/lib/adodb_lite/adodb.inc.php on line 158

Fatal error: Class 'ADODB2_' not found in /home/golfpara/public_html/lib/adodb_lite/adodb.inc.php on line 161

Any help would be great thanks.
PS using latest cmsms version
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

Re: reservation module not loading with error that crashes s

Post by andyg »

Thank you for this
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

Re: reservation module not loading with error that crashes s

Post by andyg »

have taken a look but can't find the two files to change. They are not in the modules/reservation folder. Is this post install?
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

Re: reservation module not loading with error that crashes s

Post by andyg »

in modules/Reservation/Reservation.module.php (which is one large file) I found the two lines mentioned and made the changes. The module now loads but when I open it I get:
Manage Reservations
Manage Room Types
Global Options

Fatal error: Call to a member function Execute() on a non-object in /home/golfpara/public_html/modules/Reservation/Reservation.module.php on line 568

This is the code from the file: line 566 to 578
$query .= " group by res.reservation_id order by res.res_date asc";

$dbresult = $db->Execute( $query );
$totalrows = $dbresult->RecordCount();

$dbresult = $db->SelectLimit( $query, $_SESSION['limit'] , (($params['page']-1)*$_SESSION['limit']));

$rowclass = 'row1';

global $gCms;

while( $row = $dbresult->FetchRow() )
Post Reply

Return to “Modules/Add-Ons”