FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=9545&edit=1

ID: 9545
Updated by: ken@linux.ie
Reported By: innocentus at hotmail dot de
Summary: Fatal error: Call to a member function on a
non-object in [...]GIS.php
Status: Open
Type: Bug
Package: Image_GIS
Operating System: Linux
Package Version: 1.1.1
PHP Version: 4.3.10
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: kguest



Previous Comments:
------------------------------------------------------------------------

[2006-12-05 05:13:49] innocentus at hotmail dot de

Description:
------------
Fatal error: Call to a member function on a non-object in [...]GIS.php
on line 190
-----
GIS.php belongs to the downloaded package Image_GIS.

After downloading all Dependency-Packages and after uploading and
correcting the require()-Paths and after using the test-script which was
shipped with that class the error occured.

I have no pear installed but the class doesnt seem to need any
inclusion of pear.

I installed the image_gis and the depending packages manually.
All require-paths seems to be correct.

Test script:
---------------
//Shipped test-script:
// Create new map.

$map = new Image_GIS(
array(
'width' => 960,
'height' => 1280,
'range' => array(
'x1' => 9.7,
'x2' => 10.5,
'y1' => 54.2,
'y2' => 54.7
)
)
);

// Political
$map->addDataFile('germany_ponet.e00', 'black');

// Roads
$map->addDataFile('germany_rdline.e00', 'gray');

// Populated Places
$map->addDataFile('germany_pppoly.e00', 'green');

// Drainage
$map->addDataFile('germany_dnnet.e00', 'blue');

$map->saveImage('kiel.png');


Expected result:
----------------
The testscript should draw a map.

Actual result:
--------------
The problem persists.

------------------------------------------------------------------------

Search Discussions

  • Ken at Apr 11, 2010 at 8:50 am
    Edit report at http://pear.php.net/bugs/bug.php?id=9545&edit=1

    ID: 9545
    Updated by: ken@linux.ie
    Reported By: innocentus at hotmail dot de
    Summary: Fatal error: Call to a member function on a
    non-object in [...]GIS.php
    -Status: Assigned
    +Status: Closed
    Type: Bug
    Package: Image_GIS
    Operating System: Linux
    Package Version: 1.1.1
    PHP Version: 4.3.10
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Closed
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on
    pear.php.net by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.

    could not reproduce - assuming this is fixed in SVN and this bug entry
    not updated


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-04-11 09:44:20] kguest

    -Assigned To:
    +Assigned To: kguest


    ------------------------------------------------------------------------

    [2006-12-05 05:13:49] innocentus at hotmail dot de

    Description:
    ------------
    Fatal error: Call to a member function on a non-object in [...]GIS.php
    on line 190
    -----
    GIS.php belongs to the downloaded package Image_GIS.

    After downloading all Dependency-Packages and after uploading and
    correcting the require()-Paths and after using the test-script which was
    shipped with that class the error occured.

    I have no pear installed but the class doesnt seem to need any
    inclusion of pear.

    I installed the image_gis and the depending packages manually.
    All require-paths seems to be correct.

    Test script:
    ---------------
    //Shipped test-script:
    // Create new map.

    $map = new Image_GIS(
    array(
    'width' => 960,
    'height' => 1280,
    'range' => array(
    'x1' => 9.7,
    'x2' => 10.5,
    'y1' => 54.2,
    'y2' => 54.7
    )
    )
    );

    // Political
    $map->addDataFile('germany_ponet.e00', 'black');

    // Roads
    $map->addDataFile('germany_rdline.e00', 'gray');

    // Populated Places
    $map->addDataFile('germany_pppoly.e00', 'green');

    // Drainage
    $map->addDataFile('germany_dnnet.e00', 'blue');

    $map->saveImage('kiel.png');


    Expected result:
    ----------------
    The testscript should draw a map.

    Actual result:
    --------------
    The problem persists.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 11, '10 at 8:49a
activeApr 11, '10 at 8:50a
posts2
users1
websitepear.php.net

1 user in discussion

Ken: 2 posts

People

Translate

site design / logo © 2022 Grokbase