Ir al contenido principal.
Enlaces relacionados:  Prensa  Compañía  Clientes  Contáctenos
Solsoft

Foros

Re: php-OpenISIS under Sun OS


Autor Mensaje
Escrito en: 23. 09. 2003 [18:37]
roger@infomed.sld.cu
Roger Peña Escob
registrado desde: 31.12.1969
Entradas: 0
maybe this is unrelated but sometime ago israel had a similar problem trying to searh in
an NT box
looks like the actual argument & OS really matter

here are the solution he found:


----- Mensaje reenviado de israel cefrin <israel@fee.tche.br> -----
Fecha: Fri, 16 May 2003 17:20:28 -0300
De: israel cefrin <israel@fee.tche.br>
Responder-A: PHP-OpenIsis <php@OpenIsis.org>
Asunto: Re: i upload the 0.0.1 version of clabel to the wiki
Para: PHP-OpenIsis <php@openisis.org>

Hello again
I found out what was going on,
This piece of code (begin line 72 of catalg_search_result.php)

if ($query)
{
$args =3D "-v error -format aligned -encoding ISO8859_1";
$dbid =3D isis_open($db, $arg);
if (!$dbid) { echo "Can't Open the database"; };

I have change to

if ($query)
{
//$args =3D "-v error -format aligned -encoding ISO8859_1";
$dbid =3D isis_open($db);
if (!$dbid) { echo "Can't Open the database"; };


And so started to work, can somebody explain me what is this "-v
error -format aligned -encoding ISO8859_1"; ???

saludos

Israel

P.S. Roger, this search is really cool, man !!!




----- Fin del mensaje reenviado -----

Mensaje citado por Roger Peña Escobio <roger@infomed.sld.cu>:

> Mensaje citado por Jose Ximenes De Mesquita - IBAMA <Jose.Ximenes@ibama.gov.br>:
>=20
> > Hi!
> >=20
> > thanks for your help.
> >=20
> > I have tried all your suggested:
> >=20
> > 1 - Although, I could not get what kind of information one should put in $args,=20
> > I used the contents of that function put by Mr. Braulio in the 7th slides of=20
> > his presentation to the Trinidad meeting ('-encoding Cp850'). (Could anyone,=20
> > please tell me what information should be placed in this variable?):
> >=20
> > $dbname =3D '/home/jximenes/www/isis-db/video/video';
> > $args =3D "-encoding Cp850";
> i use this arguments:
> -v error -format aligned -encoding ISO8859_1
>=20
> like you, i couldn't find any where what arguments i can use icon_frown.gif, i use the same tha
> braulio send in his examples icon_smile.gif
> but it works for me in linux and windowsME
>=20
> > $dbid =3D isis_open($dbname, $args);
> >=20
> > The same error message was returned. Or the error message did not change.
> >=20
> > 2- I included the peace of code suggested by Roger Peña Escobio=20
> > (roger@infomed.sld.cu):
> >=20
> > $dbname =3D '/home/jximenes/www/isis-db/video/video';
> > $dbid =3D isis_open($dbname, $args);
> > if (!$dbid) { echo "Can't Open the database"; }
>=20
> if it dint complain here with the message "Can't Open the database" is because the
> isisdb
> was open, right braulio?
>=20
> jose, did you look inside the page's source? maybe that message was hide inside the
> html code
>=20
> i should not ask about UNIX permision because you should check it, do you?
>=20
> the web server can read a file in that directory, right?
>=20
> maybe outputing all php error to the clients could help to find where the problem is.
>=20
> i dont have any other hint, sorry
>=20
> roger
>=20
> ----------------------------------------------------------------------
> Nodo central de la red Infomed (http://www.sld.cu)
> Usuario linux: 97152 (http://counter.li.org)
> Miembro del grupo de coordinacion de LinuxCuba (http://www.linux.cu)
> ----------------------------------------------------------------------
> =20
>=20
> -------------------------------------------------
> Este mensaje fue enviado usando el servicio de correo en web de Infomed
> http://webmail.sld.cu
>=20


----------------------------------------------------------------------
Nodo central de la red Infomed (http://www.sld.cu)
Usuario linux: 97152 (http://counter.li.org)
Miembro del grupo de coordinacion de LinuxCuba (http://www.linux.cu)
----------------------------------------------------------------------
=20

-------------------------------------------------
Este mensaje fue enviado usando el servicio de correo en web de Infomed
http://webmail.sld.cu

------------------------------------------
Posted to Phorum via PhorumMail



Iniciar sesión de usuario

Introduzca su nombre de usuario y contraseña para iniciar su sesión en el sitio web:
Iniciar sesión

¿Ha olvidado su contraseña?


Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad