Autor | Mensaje |
---|---|
Escrito en: 23. 09. 2003 [08:46]
|
|
Jose.Ximenes@ibama.gov.br
Jose Ximenes De Mesquita - IBAMA
registrado desde: 31.12.1969
Entradas: 0
|
---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Mr. Braulio, In fact I have already passed that problem to the php @ openisis[dot]org list before sending it to you. But I never received any answer, so wrote it to you. However I am sending also it to the list. Anyway I am attaching the files I tried in the Sun OS environment. Thank you very much, Ximenes Citando Braulio José Solano Rojas <braulio@solsoft.co.cr>: > Hello. > > > the "isis_mfn_data_seek" function (which returned that the function is not > > defined (the windows version I dowloaded from your hame page is dated > > 11/08/03), all other functions worked out nicely. > > Yes this is an error in the code, I'll fix it. > > > To test the same examples in my institutional environment, I exported the > > database CDS I used in the Windows environment using the format iso2709, > > uploaded it into the database (in the Sun OS environment) and inverted it. > I > > teste the examples using the lines of code: > > > > " > > $result = isis_search("$",$dbid); > > > > or > > > > $result = isis_query("agriculture",$dbid); > > " > > > > It was expected to receive variable of the type "resource" as the return > to > > this fucntions, however it returned a boolean. See the message: > > > > Warning: isis_fetch_flat_array() expects parameter 1 to be resource, > boolean > > given in /home/jximenes/www/php-openisis/isis_query.php on line 17 > > > > > > I am sure that neither the database is empty nor is the inverted file. > > > > Otherwise I have also tried to use those php-openisis functions to access > ours > > databases already working in the same machine which are accessed using > Wxis (by > > BIREME). And the result is the same. The variable $result comes as an > boolean > > instead of a resource. > > > > Why? > > I do not know. Could you please show your code? Maybe that way I'll know > better how to help you. > > Also, please write your questions to php@openisis.org. I am listening > there, but there is more people. In fact, maybe someone had your problem > and solved it. > > Regards, > > B. > > ------------------------------------------------- IBAMA - Instituto Brasileiro do Meio Ambiente e dos Recursos Naturais Renováveis http://www.ibama.gov.br ---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523 Content-Type: text/html; name="isis_fetch_array.php" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="isis_fetch_array.php" PHRhYmxlIGJvcmRlcj0xIGNlbGxQYWRkaW5nPTIgY2VsbFNwYWNpbmc9MSA+DQo8P3BocA0KDQok ZGJpZCA9IGlzaXNfb3BlbigiL2hvbWUvanhpbWVuZXMvd3d3L2lzaXMtZGIvdmlkZW8vdmlkZW8i KTsNCg0KJHJlc3VsdCA9IGlzaXNfc2VhcmNoKCIkIiwkZGJpZCk7DQoNCi8vIEZheiB1bSBkdW1w IGRlc2VzdHJ1dHVyYWRvIGRhIGJhc2UgZGUgZGFkb3MuDQp3aGlsZSAoJHJlY29yZCA9IGlzaXNf ZmV0Y2hfYXJyYXkoJHJlc3VsdCkpDQp7DQoJZWNobyAiPHByZT4iIDsNCgl2YXJfZHVtcCgkcmVj b3JkKTsNCgllY2hvICI8cHJlPjxici8+IjsNCn0NCmlzaXNfY2xvc2UoJGRiaWQpOw0KDQoNCj8+ DQo8L3RhYmxlPg= ---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523 Content-Type: text/html; name="isis_fetch_array-dump.php" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="isis_fetch_array-dump.php" PHRhYmxlIGJvcmRlcj0xIGNlbGxQYWRkaW5nPTIgY2VsbFNwYWNpbmc9MSA+DQo8P3BocA0KDQok ZGJpZCA9IGlzaXNfb3BlbigiL2hvbWUvanhpbWVuZXMvd3d3L2lzaXMtZGIvY2RzL2NkcyIpOw0K DQokcmVzdWx0ID0gaXNpc19zZWFyY2goIiQiLCRkYmlkKTsNCg0KLy8gRmF6IHVtIGR1bXAgZGVz ZXN0cnV0dXJhZG8gZGEgYmFzZSBkZSBkYWRvcy4NCndoaWxlICgkcmVjb3JkID0gaXNpc19mZXRj aF9hcnJheSgkcmVzdWx0KSkNCnsNCgllY2hvICI8cHJlPiIgOw0KCXZhcl9kdW1wKCRyZWNvcmQp Ow0KCWVjaG8gIjxwcmU+PGJyLz4iOw0KfQ0KaXNpc19jbG9zZSgkZGJpZCk7DQoNCj8+DQo8L3Rh YmxlPg= ---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523 Content-Type: text/html; name="isis_fetch_flat_array-dump.php" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="isis_fetch_flat_array-dump.php" PHRhYmxlIGJvcmRlcj0xIGNlbGxQYWRkaW5nPTIgY2VsbFNwYWNpbmc9MT4NCjw/cGhwDQoNCg0K JGRiaWQgPSBpc2lzX29wZW4oIi9ob21lL2p4aW1lbmVzL3d3dy9pc2lzLWRiL3ZpZGVvL3ZpZGVv Iik7DQoNCmVjaG8gIjxicj4iOw0KDQokcmVzdWx0ID0gaXNpc19zZWFyY2goIiQiLCRkYmlkKTsN Cg0KdmFyX2R1bXAgKCRyc3VsdCk7DQoNCndoaWxlICgkcmVjb3JkID0gaXNpc19mZXRjaF9mbGF0 X2FycmF5KCRyZXN1bHQpICkgew0KICAgICRtZm4gPSAkcmVjb3JkW21mbl07DQogICAJZWNobyAi PHByZT4iOw0KCXZhcl9kdW1wKCRyZWNvcmQpOw0KCWVjaG8gIjxwcmU+PGJyIC8+IjsNCg0KfQ0K DQo/Pg0KPC90YWJsZT4NCg= ---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523 Content-Type: text/html; name="isis_query.php" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="isis_query.php" PHRhYmxlIGJvcmRlcj0xIGNlbGxQYWRkaW5nPTIgY2VsbFNwYWNpbmc9MSA+DQo8P3BocA0KDQov LyBQb3IgZWplbXBsbyBpbXByaW1pciB0b2RhIGxhIGJhc2UgZGUgZGF0b3MgQ0RTIGVzIHRhbiBm 4WNpbCBjb21vIGhhY2VyIHVuIGFyY2hpdm8gcXVlIGNvbnRlbmdhOg0KDQoNCiRkYmlkID0gaXNp c19vcGVuKCIvaG9tZS9qeGltZW5lcy93d3cvaXNpcy1kYi92aWRlby92aWRlbyIpOw0KDQokcmVz dWx0ID0gaXNpc19xdWVyeSgiYW1hem9uYXMiLCRkYmlkKTsNCg0Kd2hpbGUgKCRyZWNvcmQgPSBp c2lzX2ZldGNoX2ZsYXRfYXJyYXkoJHJlc3VsdCkgKSB7DQogICAgcHJpbnQgKCIgPHRyPjx0ZCBj b2xzcGFuPVwiMlwiPk1GTjogJHJlY29yZFttZm5dPC90ZD48L3RyPlxuIik7DQogICAgZm9yICgk aT0wOyAkaTxjb3VudCgkcmVjb3JkKS0xOyArKyRpKSB7ICAvLy0xIGJlY2F1c2UgbWZuIGlzICsx DQogICAgICAgIGxpc3QgKCR0YWcsICR2YWx1ZSkgPSAkcmVjb3JkWyRpXTsNCiAgICAgICAgcHJp bnQgKCIgPHRyPlxuIi4NCiAgICAgICAgICAgICAgICIgPHRkPiR0YWc8L3RkPlxuIi4NCiAgICAg ICAgICAgICAgICIgPHRkPiIuaHRtbHNwZWNpYWxjaGFycygkdmFsdWUpLiI8L3RkPlxuIi4NCiAg ICAgICAgICAgICAgICIgPC90cj5cbiIpOw0KICAgIH0NCn0NCg0KPz4NCjwvdGFibGU+ ---MOQ1064321200c992c28f90c6a41d9bd98e93d4bbb523-- ------------------------------------------ Posted to Phorum via PhorumMail |
Todos tenemos objetivos. El camino para llegar a nuestros objetivos es nuestra estrategia. La...