Re: [MRBS-general] previous time booking
Brought to you by:
jberanek
From: Ben .T.G. <ben...@gm...> - 2013-11-28 13:25:47
|
HI i restored my configuration files backup and now it got worked. now it's not allowing me to book on previous hours thank you so much for you help campbell thanks & Regards, Ben On Thu, Nov 28, 2013 at 4:21 PM, Ben .T.George <ben...@gm...>wrote: > HI > > i did the below changes > > > echo "mrbsCheckPolicy()"; > > $errors = array(); > > // The booking policies don't apply to booking admins for this room > $user = getUserName(); > if (auth_book_admin($user, $booking['room_id'])) > { > return $errors; > } > > var_dump($enable_periods); > > > after that also i am not getting any error in browser, > > one more thing is now i can able to book previous day also > > thanks & Regards, > Ben > > > > On Thu, Nov 28, 2013 at 4:15 PM, Campbell Morrison < > cam...@gm...> wrote: > >> Instead of using the error_log can you just replace those two lines I >> gave you with >> >> >> >> echo "mrbsCheckPolicy()"; >> >> >> >> and >> >> >> >> var_dump($enable_periods); >> >> >> >> The output will go to your browser when you press Save >> >> >> >> Campbell >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 12:25 >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> >> >> HI >> >> >> >> i don't have error_log file at all >> >> >> >> do i need to create that file manually? >> >> >> >> thanks & Regards, >> >> Ben >> >> On Thu, Nov 28, 2013 at 3:22 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> Do you get anything in your other error_log file? >> >> >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 12:12 >> >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> i added the below entry to mrbs_sql.inc file at line 253 >> >> >> >> now my file looks like >> >> >> >> >> >> function mrbsCheckPolicy(&$booking, $ignore, $repignore, $delete=FALSE) >> >> { >> >> global $periods, $enable_periods; >> >> global $min_book_ahead_enabled, $min_book_ahead_secs; >> >> global $max_book_ahead_enabled, $max_book_ahead_secs; >> >> global $max_booking_date_enabled, $max_booking_date; >> >> global $max_duration_enabled, $max_duration_secs, $max_duration_periods; >> >> global $max_per_interval_global_enabled, $max_per_interval_area_enabled; >> >> global $interval_types, $strftime_format; >> >> >> >> >> >> >> >> error_log("mrbsCheckPolicy()"); >> >> >> >> >> >> i didn't get error_log file under my MRBS root directory >> >> >> >> >> >> >> >> Thanks & Regards, >> >> Ben >> >> >> >> >> >> >> >> >> >> On Thu, Nov 28, 2013 at 3:06 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> Can you add the following line at line 253 >> >> >> >> error_log("mrbsCheckPolicy()"); >> >> >> >> and let me know if you get any output? >> >> >> >> Thanks, >> >> >> >> Campbell >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 12:02 >> >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> no i don't have that file on my MRBS directory >> >> >> >> Thanks & Regards, >> >> Ben >> >> On Thu, Nov 28, 2013 at 2:52 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> Is there an error_log file in your MRBS directory? >> >> >> >> Campbell >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 11:47 >> >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> I added the below line to mrbs_sql.inc file >> >> >> >> on which file the error is reporting. i tried /var/log/httpd/error_log >> >> >> >> but noting is getting to that file >> >> >> Thanks & Regards, >> >> Ben >> >> On Thu, Nov 28, 2013 at 1:33 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> Can you insert the following debugging line at line 262 of mrbs_sql,inc >> >> >> >> error_log(serialize($enable_periods)); >> >> >> >> ie just after >> >> >> >> if (auth_book_admin($user, $booking['room_id'])) >> >> { >> >> return $errors; >> >> } >> >> >> >> and let me know what the output is in your error log. >> >> >> >> Thanks, >> >> >> >> Campbell >> >> >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 09:54 >> >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> ordinary user .My authentication mechanism is LDAP >> >> >> >> >> >> thanks & Regards, >> >> Ben >> >> On Thu, Nov 28, 2013 at 12:34 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> And when you are doing your tests are you logged in as an admin or as an >> ordinary user? >> >> >> >> Campbell >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 09:13 >> >> >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> i am using latest version 1.4.10 >> >> >> >> my time zone settings: >> >> >> >> date_default_timezone_set('Asia/Kuwait'); >> >> $timezone = "Asia/Kuwait"; >> >> >> >> and i am no that same time zone (kuwait) >> >> >> >> >> >> >> >> On Thu, Nov 28, 2013 at 12:01 PM, Campbell Morrison < >> cam...@gm...> wrote: >> >> What version of MRBS are you using? What is $timezone set to? What >> time zone are you in? >> >> >> >> Campbell >> >> >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 08:01 >> *To:* ma...@ca...; General purpose list >> (support/developers/users) >> *Subject:* Re: [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> i am using time based >> >> >> >> >> >> >> >> On Thu, Nov 28, 2013 at 10:54 AM, Campbell Morrison < >> cam...@gm...> wrote: >> >> Are you using periods or times? >> >> >> >> Campbell >> >> >> >> >> >> >> >> *From:* Ben .T.George [mailto:ben...@gm...] >> *Sent:* 28 November 2013 07:24 >> *To:* mrbs-general >> *Subject:* [MRBS-general] previous time booking >> >> >> >> HI >> >> >> >> i have set *Advance booking - minimum : 0 seconds* >> >> >> >> after i made this change, i cannot able to book meeting >> on previous days.But i can able to book same day, previous hours >> >> >> >> for example; my current time is 10:30 Am, i can able to book meeting at >> 8:00 Am on same day without any error >> >> >> >> how to disable this >> >> >> >> thanks & Regards, >> >> Ben >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> mrbs-general mailing list >> mrb...@li... >> https://lists.sourceforge.net/lists/listinfo/mrbs-general >> Want to unsubscribe: mailto:mrb...@li... >> ?subject=unsubscribe >> >> > -- Yours Sincerely *#!/usr/bin/env python #Mysignature.py :)* Signature = " " " Ben.T.George \n Senior Technical Engineer \n M.H Alshaya Co. W.L.L \n kuwait \n Phone : +965 - 50629829 \n " " " Print Signature |