RESERVATION Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

I do use firefox!...

Ok... will try all that stuff and get back to you...

Ta! :D
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

Well, I'm still getting the error... mind you, after clearing my cache and hard-refreshing my modules page, it's still showing up as V0.5, even though I uninstalled, completely deleted an re-installed the module from the V0.6 download...

When you say paste the code in the header to make the pop-up work, which template do you mean? The Reservation templates (if so, which one) or the site templates I have made? Do you also mean the 'head' of the template?

{literal}




{/literal}
newclear

Re: RESERVATION Module

Post by newclear »

I didnot change the version in the module. Just upload it.
So it will still show 0.5 ver

The js call code should stay in the header of your template between and

Can you give me details when the error appear.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

Exactly the same as before in my original post. Nothing has changed. I'm running the lastest version of CMSMS, as I only installed it a week ago on this particular site.
newclear

RESERVATION Module stupid bug fixed

Post by newclear »

The solutions for 1886 error is here. in the new 0.6.1 ver of Reservation module

I found that $params was not parsed.
The problem was that CreateFrontEndForm assigned only first 4 params without $params.
It works without parsing for me but is strange why doesn't works for others.

Maybe someone will tell us why this happened.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

Hate to have to say this... but the error's still there!!!
newclear

Re: RESERVATION Module

Post by newclear »

Ouh shit,
I told you that i did not see the error so i try to fix it blind.

Please give me a link if you can.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

Bum... I can't at the moment, as I have installed it on someone else's site to test. I have to keep deactivating the page when I'm not using it, as it shouldn't be there normally. I will see if I can install a test copy and set it up in there.
newclear

Re: RESERVATION Module

Post by newclear »

Ok.
Lets see.
You telling me that error appear in front when you try to view the 1 step. Is that right?
The problem came from the class.module. The error line is in createformstart method.
The front have CreateFrontendform method who calls createformstart.
So if the params are not assigned correctly maybe something is different from my version.
I using here 0.13 stable and it works fine.

Can you do try to var_dump($params) in DisplayReservationStep1 method?
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

What the hell does that mean???!!!

I am using 0.13 stable too...
newclear

Re: RESERVATION Module

Post by newclear »

Ouh
This is a dump of $params variable.

just tell me where the error occurs.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

I still have no idea what you mean by a dump of the $params variable, or how to do it!

If you're talking about dumping the contents of the params field in the database, there isn't one...

The oly fields there for the Reservation module are as follows :

cms_module_reservations
cms_module_reservations_rooms
cms_module_reservations_rooms_seq
cms_module_reservations_room_types
cms_module_reservations_room_types_seq
cms_module_reservations_seq
cms_module_reservations (1)
cms_module_reservations__rooms_seq
newclear

Re: RESERVATION Module

Post by newclear »

You can delete the last two tables

cms_module_reservations (1)
cms_module_reservations__rooms_seq

They was created when the installation proccess was not fixed yet.

What i need to know is when the 1886 occurs.
I mean on which page. front or admin. if is front do you see the 1 step. if the error is there. where exactly is located.

Forgot the $params. you will need a programming skills to do it.
but don't worry. we'll fix this shit.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: RESERVATION Module

Post by djkirstyjay »

Ah right. It appears on the front page, not in admin.

It in on step 1, twice on step 2, once on step three. The same as in my first post.
vielos

Re: RESERVATION Module

Post by vielos »

Hey there.

I have the same issue as "djkirstyjay".

The $params variable is an array and sent to CreateFrontendFormStart with no problem but lost in CreateFormStart.

Apparently, the call to CreateFormStart in CreateFrontendFormStart has a wrong number of parameters!

Change line 1827 in class.module.inc.php from :

Code: Select all

return $this->CreateFormStart($id,$action,$returnid,$method,$post,$enctype,$inline,$idsuffix,$params);
to

Code: Select all

return $this->CreateFormStart($id,$action,$returnid,$method,$enctype,$inline,$idsuffix,$params);

Looks like a CMSMS issue to me (what's this $post variable??)
Locked

Return to “Modules/Add-Ons”