For reservation developer

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
abulafia

For reservation developer

Post by abulafia »

Hi, The module reservation gives back a fatal error to me to line 754.

Moreover I would advise of giving you a glance to web site www.ballaro.org to the module of reservation made with feedback form.

I have studied the reservations for various customers, and that one is the method more works them.   

Hello and it compliments!!
newclear

Re: For reservation developer

Post by newclear »

Hello abulafia
I am the developer of the reservation module and i would like to help you resolve the bug.
The 754 line is in the method edit room type and I know that it works for me. Can you be more specific with the error. Do you have the module online to see whats happening.
I saw the site you suggest. The only thing that the Reservation module can do more than this one is that you can reserve multiple rooms with only one reservation e.g. dont need to add another one if you want more rooms.

Svilen Sabev
newclear

Re: For reservation developer

Post by newclear »

The 754 line show a error message if the name of the room type already exist.
I did not add a language string to this message.
abulafia

Re: For reservation developer

Post by abulafia »

Fatal error: Call to a member function on a non-object in /web/htdocs/www.ballaro.org/home/modules/Reservatio ... module.php on line 534

This is error!!!
newclear

Re: For reservation developer

Post by newclear »

Hmm,
There is something i cant get.
The line is in method DisplayReservations with bold
function DisplayReservations($action, $id, &$params, $return_id, $message='')
    {
    $db = $this->cms->db;
    $rowarray = array();
    $rooms = array();
    $dbresult = '';
   
    $query = "SELECT * FROM ".cms_db_prefix()."module_reservations";
    $dbresult = $db->Execute( $query );
    $rowclass = 'row1';

    global $gCms;
   
    while( $row = $dbresult->FetchRow() )
      {


It collect the array from database and should not be a error if the global $db is set.
Also if you havent any reservations maded from front this page should display zero of them.

Is your frontend works well?
Can i see it online?

Actually i write this section at last. Its not so cool the way how it display the reservations.
For future versions I should put the template how the reservation is displayed somewhere in preferences
newclear

Re: For reservation developer

Post by newclear »

Please post for any experiences with Reservation module here:
http://forum.cmsmadesimple.org/index.ph ... 429.0.html
Locked

Return to “Modules/Add-Ons”