#3771 (ok 3.5.6) Visualize GIS data throws Fatal Error

3.5.5
fixed
5
2013-06-11
2013-01-11
No

Fatal error: Declaration of PMA_GIS_Point::generateWkt() must be compatible with that of PMA_GIS_Geometry::generateWkt() in /var/www/html/pma3.5.5/libraries/gis/pma_gis_point.php on line 259

in pma_gis_point.php the method declaration is

public function generateWkt($gis_data, $index, $empty = '')

But in pma_gis_geometry.php the method declaration is

public function generateWkt($gis_data, $index, $empty)

it doesn't have the default value for $empty. Changing it to have

$empty = ''

fixes the error.

Discussion

  • Madhura Jayaratne

    • assigned_to: nobody --> madhuracj
     
  • Madhura Jayaratne

    • summary: Visualize GIS data throws Fatal Error --> (ok 3.5.6) Visualize GIS data throws Fatal Error
    • priority: 5 --> 1
    • status: open --> open-fixed
     
  • Madhura Jayaratne

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2013-01-28
    • Status: open-fixed --> closed-fixed
    • Priority: 1 --> 5
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks