PHP Classes

Google Caledar Error

Recommend this page to a friend!

      Add to Google Calendar  >  All threads  >  Google Caledar Error  >  (Un) Subscribe thread alerts  
Subject:Google Caledar Error
Summary:Google calendar error
Messages:2
Author:Juma Ochola
Date:2014-11-13 07:43:17
 

  1. Google Caledar Error   Reply   Report abuse  
Picture of Juma Ochola Juma Ochola - 2014-11-13 07:43:17
Having extrated then place in the root folder of mine, I get the following error:

Warning: require(C:/xampp/htdocs/add2gcal/_classes/Autoloader.class.php): failed to open stream: No such file or directory in C:\xampp\htdocs\jumatrials\calendar\test.php on line 7

Fatal error: require(): Failed opening required 'C:/xampp/htdocs/add2gcal/_classes/Autoloader.class.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\jumatrials\calendar\test.php on line 7

What can be the cause??

  2. Re: Google Caledar Error   Reply   Report abuse  
Picture of John Wetsell John Wetsell - 2014-11-14 17:00:43 - In reply to message 1 from Juma Ochola
These are the problem lines

define("APP_PATH",$_SERVER['DOCUMENT_ROOT'].'/add2gcal/');
require(APP_PATH . '_classes/Autoloader.class.php');

It seems you put the test file in to /calendar/test.php and not add2gcal/test.php. Please update the test.php file for your directory configuration.