Title: Dead end
Last modified: May 2, 2018

---

# Dead end

 *  [kthrall](https://wordpress.org/support/users/kthrall/)
 * (@kthrall)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/)
 * We have a tiny office space that shares an office conference room. I am using
   this plugin to allow people to schedule the conference room but I keep hitting
   a dead end on the shortcode and pages linking to each other.
    I have all the 
   information about the security key and database information entered. I have 3
   pages. 1 called Meeting Room Registrations with shortcode [showReg] 2nd page 
   Meeting Rooms shortcode [meetingRooms] I am able to see Meeting rooms to click
   on Reserve. Then my message about special instructions comes up and it takes 
   me to my 3rd page called Event Calendar. I can click on a date but nothing happens.
   I thought I followed the directions as stated. Is it my site or am I missing 
   a crucial step?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10240264)
 * I think you are speaking about the Event Calendar plugin. There are 2 plugins,
   the main plugin and the Event Calendar. THis is the help for the main plugin,
   not the Calendar. These are separate so that they can run on separate domains
   if needed.
 * In the main plugin, you should have a URL for reservations page, with a [meetingRooms]
   shortcode on that page.
 * You also have a spot for a URL for the event calendar. Use the external (if on
   a separate domain) or internal link for that.
 * —
 * In the Event Calendar plugin there are settings for security keys and DB. To 
   set up the Calendar:
 * Create a page for your main calendar. Use the shortcode [showCalendar].
 * Make another page for registration. Use the shortcode [showReg].
 * Finally, use that last page’s URL for the Events settings “Registration page 
   URL”
 *  Thread Starter [kthrall](https://wordpress.org/support/users/kthrall/)
 * (@kthrall)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10240416)
 * This plugin ROCKS, wow, now that I put the right shortcode on the right page,
   I can see how cool this is. Great work! So I think I read the tech doc wrong 
   then, I thought you had to have both plugins for the book a room to work properly.
   
   I can now schedule a room but I am getting errors that I don’t know if they are
   settings or the code. Warning: A non-numeric value encountered in /home/c101co36/
   public_html/wp-content/plugins/book-a-room/bookaroom-meetings-public.php on line
   122
 * Warning: A non-numeric value encountered in /home/c101co36/public_html/wp-content/
   plugins/book-a-room/bookaroom-meetings-public.php on line 873
 * I can see in the code that it’s related to time and cost of room amount but I
   am only just now getting curious enough about code to try to understand it a 
   bit and I am probably way off in my understanding. I don’t know what settings
   these are connected to for me to adjust them. We don’t charge for the room to
   be booked. I have $0 in the For Profit Room Deposit under meeting room settings
   as well as all 3 fields below such, when I save, it clears out those fields.
 * Finally, am I able to edit the fields required for people to fill out when they
   are reserving a room? Some of the required fields don’t apply to us or if they
   do, like phone number, that can be a privacy issue for some.
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10240436)
 * I am guessing it’s your Reserve Buffer or Base Increment.
 * Base increment is how you want do block the room. We use 30 (One reservable increment
   is 30 minutes long).
 * The reserve buffer is a number that blocks people from reserving immediately,
   so they can’t reserve on the same day (or whatever you choose).
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10240440)
 * Sorry, that wasn’t typed very well.
 * What are your Base Increment and your reserve buffer set to?
 *  Thread Starter [kthrall](https://wordpress.org/support/users/kthrall/)
 * (@kthrall)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10266977)
 * I replied last week but when I checked this, it’s not showing.
    Here is what 
   I sent.
 * Base is set to 30 and the Days buffer to Reserve is set to 1. These are the two
   lines it’s telling me are in error so my settings must not be right for base 
   or days buffer.
 * $externals[‘roomCost’] = ( ( ( ( $externals[‘endTime’] – $externals[‘startTime’])/
   60 ) / get_option( ‘bookaroom_baseIncrement’ ) ) * $costIncrement ) * $roomCount;
 * $externals[‘roomCost’] = ( ( ( ( $oldExternals[‘endTime’] – $oldExternals[‘startTime’])/
   60 ) / get_option( ‘bookaroom_baseIncrement’ ) ) * $costIncrement );
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10267052)
 * Are you using PHP 7 or above? I have only tested to the 5s.
 * I think I can add some typecasting to make it compare as an integer.
 * Can you let me know your PHP version first?
 *  Thread Starter [kthrall](https://wordpress.org/support/users/kthrall/)
 * (@kthrall)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/dead-end/#post-10267103)
 * We are on version 7
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years ago](https://wordpress.org/support/topic/dead-end/#post-10497563)
 * BOok a Room is only good on 5 although I am making changes to get it working 
   on 7 as we speak.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Dead end’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/book-a-room_f4ece6.svg)
 * [Book a Room](https://wordpress.org/plugins/book-a-room/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/book-a-room/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/book-a-room/)
 * [Active Topics](https://wordpress.org/support/plugin/book-a-room/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/book-a-room/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/book-a-room/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/dead-end/#post-10497563)
 * Status: not resolved