phpScheduleIt
May 18, 2013, 09:31:24 PM *
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: Bug or my problem with resources calendar and global resources?  (Read 279 times)
joseluisgs
Newbie
*

Karma: 0
Posts: 26


« on: April 12, 2012, 05:19:05 AM »

I have this bug when using next or back in a calendar or clicking in today or week for global resource the first time

URL: http://localhost/web/calendar.php?d=1&m=5&y=2012&ct=month&rid=&sid=

Fatal error: Call to a member function GetIsCalendarSubscriptionAllowed() on a non-object in C:\xampp\htdocs\lib\Application\Schedule\CalendarSubscriptionService.php on line 228

I thing the error could be the sid parameter

Te resource is avaliable and the subscription are allowed?

But if I change to one resorce, por example Court 1, there is no problem, and the global problem dissapear
URL: http://localhost/web/calendar.php?d=12&m=4&y=2012&ct=month&rid=&sid=1

Can you help me, please?
Logged
joseluisgs
Newbie
*

Karma: 0
Posts: 26


« Reply #1 on: April 12, 2012, 05:26:18 AM »

Sorry, my version is 2.1

Thank you very much!

I have this bug when using next or back in a calendar or clicking in today or week for global resource the first time

URL: http://localhost/web/calendar.php?d=1&m=5&y=2012&ct=month&rid=&sid=

Fatal error: Call to a member function GetIsCalendarSubscriptionAllowed() on a non-object in C:\xampp\htdocs\lib\Application\Schedule\CalendarSubscriptionService.php on line 228

I thing the error could be the sid parameter

Te resource is avaliable and the subscription are allowed?

But if I change to one resorce, por example Court 1, there is no problem, and the global problem dissapear
URL: http://localhost/web/calendar.php?d=12&m=4&y=2012&ct=month&rid=&sid=1

Can you help me, please?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #2 on: April 12, 2012, 02:07:56 PM »

I'll get this fixed.

For now, you can change line 133 of /Presenters/CalendarPresenter.php to:

Code:
if (!empty($scheduleId))
Logged
joseluisgs
Newbie
*

Karma: 0
Posts: 26


« Reply #3 on: April 13, 2012, 05:16:41 AM »

Thank you very much!
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!