PHP Classes

Fatal error in GoogleCalendar.class.php

Recommend this page to a friend!

      Add to Google Calendar  >  All threads  >  Fatal error in GoogleCalendar.class.php  >  (Un) Subscribe thread alerts  
Subject:Fatal error in GoogleCalendar.class.php
Summary:Line 75 in GoogleCalendar.class.php causes a fatal error...
Messages:2
Author:Wuijin
Date:2015-02-16 18:22:46
 

  1. Fatal error in GoogleCalendar.class.php   Reply   Report abuse  
Picture of Wuijin Wuijin - 2015-02-16 18:22:46
When I try the "test.php" file, I get the following errors:

Fatal error: Using $this when not in object context in /..../..../public_html/ev/_classes/GoogleCalendar.class.php on line 75

Warning: file_put_contents(/home3/callisor/public_html/ev/tmp/class_path_cache.txt) [function.file-put-contents]: failed to open stream: No such file or directory in /..../..../public_html/ev/_classes/Autoloader.class.php on line 149

Fatal error: Autoloader could not write the cache file: /..../..../public_html/ev/tmp/class_path_cache.txt in /..../..../public_html/ev/_classes/Autoloader.class.php on line 151


I assume the second and third might be caused by not having a "tmp" folder in my root folder. However, the first error is caused by the script. How should I fix this?

  2. Re: Fatal error in GoogleCalendar.class.php   Reply   Report abuse  
Picture of John Wetsell John Wetsell - 2015-04-04 20:19:03 - In reply to message 1 from Wuijin
I'm uploading the fix to this.