phpScheduleIt
May 21, 2013, 10:51:03 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Critical issue, booking's disappear on 8th refresh  (Read 1628 times)
MrBojangels
Newbie
*

Karma: 0
Posts: 7


« on: July 11, 2011, 01:25:42 PM »

It seems on our phpscheduleit installation that whenever a user loads the booking page for an 8th time, all current reservation disappear and users are still able to make reservations on this new "ghost" schedule. When a user makes a booking on this calendar, it doesn't show up under User Reservations at all, but the user receives an email address confirming their reservation, and the reservation remains on the page that shows for every 8th refresh. This has caused an issue with a user who believed to have reserved a machine for a certain time, but his reservation was on this ghost page that was overlapping with a time already reserved on the normal page

What could be causing this? This is a fairly time critical issue for us and I need to get it fixed, any help would be greatly appreciated.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: July 11, 2011, 01:30:08 PM »

When you say refresh, do you mean hitting the browser's refresh button or do you mean navigating to the booking page 8 times?
Logged
MrBojangels
Newbie
*

Karma: 0
Posts: 7


« Reply #2 on: July 11, 2011, 01:36:25 PM »

Browser refresh.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: July 11, 2011, 01:40:03 PM »

Hmm, I cannot reproduce this.  What browser is this happening on?  Were any code customizations made?
Logged
MrBojangels
Newbie
*

Karma: 0
Posts: 7


« Reply #4 on: July 11, 2011, 01:41:10 PM »

Now it seems to have been permanently switched to the ghost schedule for me.

The only code changes was adding a new link to My Quick Links weeks ago. It seems every time someone adds a new booking everything is being corrupted or something, I have no idea what would be causing this. Every time someone attempts to enter a new booking(whether or not it saves) changes the behavior, and things disappear/reappear.
« Last Edit: July 11, 2011, 02:10:59 PM by MrBojangels » Logged
MrBojangels
Newbie
*

Karma: 0
Posts: 7


« Reply #5 on: July 11, 2011, 03:15:04 PM »

Nevermind, I created a second mirror install of phpscheduleit and imported the database from the one having the issue and it seems to be happening again, does this mean a corrupted database?

Another symptom is, on the "ghost page", sometimes the block you click to book/reserve pops up a window that sets your time to schedule you for the day before you actually clicked.

edit: created a new install on the same server, with its own database, same thing happens.
« Last Edit: July 11, 2011, 04:50:33 PM by MrBojangels » Logged
MrBojangels
Newbie
*

Karma: 0
Posts: 7


« Reply #6 on: July 12, 2011, 11:54:10 AM »

Sun Jul 10 14:40:40 2011] [error] [client 10.16.78.36] PHP Warning:  getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www/html/scheduler/lib/Schedule.class.php on line 315
[Sun Jul 10 14:40:40 2011] [error] [client 10.16.78.36] PHP Warning:  mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www/html/scheduler/lib/Schedule.class.php on line 323
[Sun Jul 10 14:40:40 2011] [error] [client 10.16.78.36] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www/html/scheduler/lib/Schedule.class.php on line 326


I started getting this error message on the date that the problem is first reported happening, before there are no error logs about this. The problem is, the error log file storing all of these messages has grown to about 200mb since...does this give you any ideas as to what is going wrong?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #7 on: July 18, 2011, 01:40:22 PM »

Those warnings mean that the timezone is not set in your php.ini file.  I doubt that's related to any of the issues you're seeing, but it wouldn't hurt to fix that.

You may also want to check the timezones that you have set in your phpScheduleIt config.php file and for the user accounts.
Logged
heckman510
Newbie
*

Karma: 0
Posts: 1


« Reply #8 on: October 13, 2012, 07:11:55 PM »

Sorry to dredge up this old post, but I'm having a very similar problem did modifing time zone help?

                                                     
windows replacement portland
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!