uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
2002 cannot be seen on Dec 31, 2001

Knowledge Base Lobby : uReserve Support Conference : Troubleshooting Questions
Dec-16-17 08:11 AM EST
Original Message
2002 cannot be seen on Dec 31, 2001
Author Amir on 12-31-2001 at 06:19 (EST)
I was surprised to find out that uReserve works fine in displaying and setting reservation from 2001 and 2003, but fails to do so for 2002.

The script worked fine on Dec 28 - setting reservations for 2002 as well, and I was wondering if this is because today it is Dec 31st.

We use the European version of the script.

Amir.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  2002 cannot be seen on Dec 31, 2001 Larry Wright, 2001-12-31 14:07:37 (1)
            RE: 2002 cannot be seen on Dec 31, 2001 Bill Weiner, 2002-01-01 11:54:19 (2)
                 2002 cannot be seen on Dec 31, 2001 Amir Snapir, 2002-01-02 07:31:10 (3)

Messages In This Discussion
         1. 2002 cannot be seen on Dec 31, 2001
        Author Larry Wright on 12-31-2001 at 14:07 (EST)
I am currently experiencing the exact same problem.
TABLE OF CONTENTS
                 2. RE: 2002 cannot be seen on Dec 31, 2001
                Author Bill Weiner on 01-01-2002 at 11:54 (EST)
We looked into the problem and it appears that it is being caused by an inaccurate SECONDS_PER_YEAR constant in the script.

To correct it, please follow the steps below:

STEP 1: Make a backup of your current ureserve.pl script... just in case.

STEP 2: Open the ureserve.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$SECONDS_PER_YEAR = 31622400;

STEP 4: Change that line to:

$SECONDS_PER_YEAR = 31557600;

STEP 5: Save the script (as TEXT if your editor asks)... and try it out!


On a side note, that problem will probably "magically" fix itself around 6:00 pm on Jan 1,2002.... but since the same downtime would occur next year, you should probably go ahead and make the above correction anyway.

We'll also try to release an official fix and list it on the updates page:

http://www.uburst.com/uReserve/updates.html

... within a week.

Thank you for bringing that to our attention.
TABLE OF CONTENTS
                         3. 2002 cannot be seen on Dec 31, 2001
                        Author Amir Snapir on 01-02-2002 at 07:31 (EST)
Thank you for the fast response. The script works fine again.

Rgds, Amir.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.