www.uburst.com www.uburst.com

"2002 cannot be seen on Dec 31, 2001"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Troubleshooting Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"2002 cannot be seen on Dec 31, 2001"
Posted by Amir on Dec-31-01 at 06:19 AM (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.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

2002 cannot be seen on Dec 31, 2001, Larry Wright, Dec-31-01, (1)
RE: 2002 cannot be seen on Dec 31, ..., Bill Weiner, Jan-01-02, (2)
2002 cannot be seen on Dec 31, 2001, Amir Snapir, Jan-02-02, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "2002 cannot be seen on Dec 31, 2001"
Posted by Larry Wright on Dec-31-01 at 02:07 PM (EST)
I am currently experiencing the exact same problem.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: 2002 cannot be seen on Dec 31, 2001"
Posted by Bill Weiner on Jan-01-02 at 11:54 AM (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.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "2002 cannot be seen on Dec 31, 2001"
Posted by Amir Snapir on Jan-02-02 at 07:31 AM (EST)
Thank you for the fast response. The script works fine again.

Rgds, Amir.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.