Fatal error: Class 'GeoCalc' not found in C:\xampp\htdocs\cptoolz\base\g1\g1_elipdist_uploadprocess.php on line 22
Xampp version 1.8.1
Control panel 3.1.03.1.0
Windows 7
My scripts execute fine live, including the GeoCalc class (GeoCalc.class.php). I have searched for many hours for an answer or clues (here and Google), but no joy.
GeoCalc.class.php resides in the same directory as the script that includes it as an INCLUDE_ONCE. Code example below:
- Code: Select all
include_once('GeoCalc.class.php');
$oGC = new GeoCalc(); //////FATAL ERROR THIS LINE
$dDist = $oGC->EllipsoidDistance($latt,$longg,$latt2,$longg2);