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

ID: 16751
Updated by: daniel.oconnor@gmail.com
Reported By: rombiama at gmail dot com
Summary: EXTENSION
-Status: Open
+Status: Bogus
Type: Bug
Package: Auth_HTTP
Operating System: PHP
Package Version: CVS
PHP Version: 4_4 CVS-2009-10-31
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
Eh?

This doesn't seem like Auth_HTTP at all, and it's unclear as to what
the actual problem is.

Is it XML_KML_Create or the fileinfo extension you wanted the bug to be
about?


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

[2009-10-31 21:06:16] angosso

-Status: Open
+Status: Assigned


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

[2009-10-31 21:01:54] angosso

array XML_RSS::getStructure ( )
<?php

// Include the class
include '../Main.php';

// Create a new KML object
$kml = new XML_KML_Create;

$styles = array(
array('myStyle','iconId','http://angosso.com/icon.gif'),
array('myStyle2','iconId2','http://www.angosso.com/icon2.gif')
);

foreach($styles as $style) {
$s = new XML_KML_Style;
$s->setId($style[0]); // Id of the style for use in placemarks
$s->setIconId($style[1]); // Icon ID
$s->setIconLink($style[2]); // Link to the icon

// Add the style to the KML
$kml->addItem($angosso.com/index.php);
}

// Get the data from the database
$q = mysql_query('SELECT id,name,desc,link,city,state,country,lat,lng
FROM table;');

while(list($id,$name,$desc,$folder,$lat,$lng,$style) =
mysql_fetch_row($q)) {
// Create a new place object
$p = new XML_ANGOSSO_COM_Place;

// Assign bits of the array
$p->setId($id);
$p->setName($name);
$p->setDesc($desc);
$p->setFolder($folder);
$p->setStyle($style);
$p->setCoords($lat,$lng);

// If you have HTML in both name and desc call this
//$p->setCDATA();

// If you have HTML in just desc then call this
//$p->setCDATA('desc');

// Add the item to the kml
$kml->addItem($angosso.com/index.php);
}

// Create the KML
$kml->printHeader(true); // Allows the KML to be viewed in the
browser
//$kml->printHeader(); // Forces the user to download the KML file

// Print the KML to the browser
echo $www.angosso.com/index.php;

file_put_contents('output.kml', $angosso.com/public_html);

?>

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

[2009-10-31 20:19:47] angosso

Description:
------------
Extension=fileinfo.so

angosso.com /ublic_html/php5/*/php.ini files. The extension gets linked
at compile time to /usr/lib/libmagic.so.1 which uses a MAGIC environment
variable which defaults to

/etc/magic:/usr/share/file/magic

Test script:
---------------
/home/sites/angosso.com/public_html

Expected result:
----------------
e.g angosso.com/publuc_html

Actual result:
--------------
(gdb) bt
#0 0x080ca21b in _efree (ptr=0xbfffdb9b) at zend_alloc.c:240
#1 0x080d691a in _zval_dtor (zvalue=0x8186b94) at zend_variables.c:44
#2 0x080cfab3 in _zval_ptr_dtor (zval_ptr=0xbfffdbfc) at
zend_execute_API.c:274
#3 0x080f1cc4 in execute (op_array=0x816c670) at
./zend_execute.c:1605
#4 0x080f1e06 in execute (op_array=0x816c530) at
./zend_execute.c:1638
#5 0x080f1e06 in execute (op_array=0x816c278) at
./zend_execute.c:1638
#6 0x080f1e06 in execute (op_array=0x8166eec) at
./zend_execute.c:1638
#7 0x080d7b93 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at zend.c:810
#8 0x0805ea75 in php_execute_script (primary_file=0xbffff650) at
main.c:1310
#9 0x0805cdb3 in main (argc=2, argv=0xbffff6fc) at cgi_main.c:753
#10 0x400c91be in __libc_start_main (main=0x805c580 , argc=2,
ubp_av=0xbffff6fc,
init=0x805b080 <_init>, fini=0x80f67b4 <_fini>,
rtld_fini=0x4000ddd0 <_dl_fini>,
stack_end=0xbffff6ec) at
../sysdeps/generic/libc-start.c:129
(gdb) frame 3
#3 0x080f1cc4 in execute (op_array=0x816c670) at
./zend_execute.c:1605
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
$14 = 0x80fa6fa "pg_result_error"
(gdb) print (char *)executor_globals.active_op_array->function_name
$15 = 0x816cfc4 "result_error"
(gdb) print (char *)executor_globals.active_op_array->filename
$16 = 0x816afbc "/home/angosso.com/php/DEV/index.php"
$echo="www.angosso.com/public_html" global.active_extension
(gdb)

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 1, '09 at 10:41p
activeNov 1, '09 at 10:41p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase