![]()
|
Welcome,
Guest
|
|
|
I got the following error when I clicked "Click to go back" on Google Chrome. Traced the error to ShowGoogleMap.php and ShowGoogleMapLatLong.php.
Here is the error: "Warning: fopen(../../../../sgm535604File.map) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\project\prod\components\com_sobi2\plugins\google_axresults\ShowGoogleMapLatLong.php on line 26 Can not open file for read in Show Google Map Lat/Long " Basically, instead of this check $mapFileHandle = fopen($mapFileName, 'r') or die("Can not open file for read in Show Google Map Lat/Long"); I checked for if (file_exists($mapFileName)), before executing codes from $mapFileHandle = fopen($mapFileName, 'r') or die("Can not open file for read in Show Google Map Lat/Long"); up to $sgmMap->printOnLoad(); That seems to fix the problem. |
|
|
|