Page 2 of 5
Re: RESERVATION Module
Posted: Thu Jul 27, 2006 11:49 pm
by djkirstyjay
I do use firefox!...
Ok... will try all that stuff and get back to you...
Ta!

Re: RESERVATION Module
Posted: Fri Jul 28, 2006 8:27 am
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}
Re: RESERVATION Module
Posted: Fri Jul 28, 2006 10:30 am
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.
Re: RESERVATION Module
Posted: Fri Jul 28, 2006 10:35 am
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.
RESERVATION Module stupid bug fixed
Posted: Fri Jul 28, 2006 3:40 pm
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.
Re: RESERVATION Module
Posted: Fri Jul 28, 2006 8:12 pm
by djkirstyjay
Hate to have to say this... but the error's still there!!!
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 7:53 am
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.
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 8:10 am
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.
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 8:18 am
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?
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 8:35 am
by djkirstyjay
What the hell does that mean???!!!
I am using 0.13 stable too...
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 8:58 am
by newclear
Ouh
This is a dump of $params variable.
just tell me where the error occurs.
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 9:20 am
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
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 9:32 am
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.
Re: RESERVATION Module
Posted: Sat Jul 29, 2006 10:30 am
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.
Re: RESERVATION Module
Posted: Tue Aug 01, 2006 1:53 pm
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??)