You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(54) |
Nov
(34) |
Dec
(45) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(49) |
Feb
(17) |
Mar
(13) |
Apr
|
May
(30) |
Jun
(13) |
Jul
(18) |
Aug
(23) |
Sep
(8) |
Oct
(10) |
Nov
(15) |
Dec
(24) |
2005 |
Jan
(16) |
Feb
(33) |
Mar
(58) |
Apr
(61) |
May
(37) |
Jun
(6) |
Jul
(30) |
Aug
(31) |
Sep
(12) |
Oct
(18) |
Nov
(8) |
Dec
(8) |
2006 |
Jan
(30) |
Feb
(4) |
Mar
(5) |
Apr
(4) |
May
(2) |
Jun
(6) |
Jul
(11) |
Aug
(21) |
Sep
(12) |
Oct
(9) |
Nov
(1) |
Dec
(15) |
2007 |
Jan
(4) |
Feb
(6) |
Mar
(7) |
Apr
(1) |
May
(2) |
Jun
(7) |
Jul
(4) |
Aug
(4) |
Sep
(6) |
Oct
|
Nov
|
Dec
(3) |
2008 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(3) |
Dec
|
2010 |
Jan
(5) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Everton L. B. <ev...@fa...> - 2004-08-30 13:43:04
|
Bob, I think the problem is php 5.0.0. Here it not works with rlib. -- Everton Luis Berz Bob Doan wrote: > Hi > > What prefix did you install it under? > > - bob > > On Sat, 2004-08-28 at 12:25 -0500, David A. Tong wrote: > >>Hi, >> >>I am trying to install & use RLib 1.2.0 in Fedora Core 2, PHP >>5.0.0 with Apache 2.0.50, ClibPDF. >> >>When I run the example.php from the command line (php example.php) >>I get the following error: >>------------------------------------------------------------- >>Setting output encoding to UTF-8Setting locale to >>[LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] >>FAILEDencoding is NULL or invalid [C]... using en_USencoding is NULL or >>invalid [C]... using en_USencoding is NULL or invalid [C]... using >>en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or >>invalid [C]... using en_USencoding is NULL or invalid [C]... using >>en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or >>invalid [C]... using en_USencoding is NULL or invalid [C]... using >>en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or >>invalid [C]... using en_USCould Not Load MYSQL Input [libr-mysql.so: >>cannot open shared object file: No such file or directory] >>** NUTS.. WE CRASHED >>Quit (core dumped) >>------------------------------------------------------------- >> >>Here is the output of "ldconfig -v |grep libr-" : >>------------------------------------------------------------- >>libr-mysql-1.2.0.so -> libr-mysql.so >>libr-1.2.0.so -> libr.so >>------------------------------------------------------------- >> >>The files in the php extension directory are: >>------------------------------------------------------------- >>librlib-1.2.0.so librlib.la librlib.so >>------------------------------------------------------------- >> >>And I have the correct extension directory identified in the php.ini >>file using the extension_dir directive. >> >>The problem is that libr-mysql.so cannot be found, but it is >>in the ld library path. Also, the c example compiled and >>worked without a hitch. What am I doing wrong? >> >>Also, how can I get rid of the encoding warnings so that I won't >>muck up my error_log? >> >>Any help would be greatly appreciated. >> >>Thanks in Advance. >>David >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>_______________________________________________ >>Rlib-users mailing list >>Rli...@li... >>https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Bob D. <bd...@si...> - 2004-08-28 17:32:51
|
Hi What prefix did you install it under? - bob On Sat, 2004-08-28 at 12:25 -0500, David A. Tong wrote: > Hi, > > I am trying to install & use RLib 1.2.0 in Fedora Core 2, PHP > 5.0.0 with Apache 2.0.50, ClibPDF. > > When I run the example.php from the command line (php example.php) > I get the following error: > ------------------------------------------------------------- > Setting output encoding to UTF-8Setting locale to > [LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] > FAILEDencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USCould Not Load MYSQL Input [libr-mysql.so: > cannot open shared object file: No such file or directory] > ** NUTS.. WE CRASHED > Quit (core dumped) > ------------------------------------------------------------- > > Here is the output of "ldconfig -v |grep libr-" : > ------------------------------------------------------------- > libr-mysql-1.2.0.so -> libr-mysql.so > libr-1.2.0.so -> libr.so > ------------------------------------------------------------- > > The files in the php extension directory are: > ------------------------------------------------------------- > librlib-1.2.0.so librlib.la librlib.so > ------------------------------------------------------------- > > And I have the correct extension directory identified in the php.ini > file using the extension_dir directive. > > The problem is that libr-mysql.so cannot be found, but it is > in the ld library path. Also, the c example compiled and > worked without a hitch. What am I doing wrong? > > Also, how can I get rid of the encoding warnings so that I won't > muck up my error_log? > > Any help would be greatly appreciated. > > Thanks in Advance. > David > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: David A. T. <da...@to...> - 2004-08-28 17:25:52
|
Hi, I am trying to install & use RLib 1.2.0 in Fedora Core 2, PHP 5.0.0 with Apache 2.0.50, ClibPDF. When I run the example.php from the command line (php example.php) I get the following error: ------------------------------------------------------------- Setting output encoding to UTF-8Setting locale to [LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] FAILEDencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USCould Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: No such file or directory] ** NUTS.. WE CRASHED Quit (core dumped) ------------------------------------------------------------- Here is the output of "ldconfig -v |grep libr-" : ------------------------------------------------------------- libr-mysql-1.2.0.so -> libr-mysql.so libr-1.2.0.so -> libr.so ------------------------------------------------------------- The files in the php extension directory are: ------------------------------------------------------------- librlib-1.2.0.so librlib.la librlib.so ------------------------------------------------------------- And I have the correct extension directory identified in the php.ini file using the extension_dir directive. The problem is that libr-mysql.so cannot be found, but it is in the ld library path. Also, the c example compiled and worked without a hitch. What am I doing wrong? Also, how can I get rid of the encoding warnings so that I won't muck up my error_log? Any help would be greatly appreciated. Thanks in Advance. David |
From: Bob D. <bd...@si...> - 2004-08-23 21:11:46
|
Can I see your exact link line please and the gcc/ld error message? - bob On Mon, 2004-08-23 at 23:02 +0200, Sabin Bilbao wrote: > Hi Bob, >=20 > Thank you for your response. >=20 > I am trying with a simple program in KDE C++, and I can not link the pr= ogram.=20 > I have been checking the makefile.am of the projct and I think the loca= tion=20 > of the libraries is correct and the flags I am using are correct (they = are=20 > the same as in the makefile of rlib/src/examples/c). >=20 > But obviously I have an error somewhere. I will continue trying to link >=20 > Thank you very much for your help. >=20 > Best regards, >=20 > Sabin >=20 >=20 > El Lunes, 23 de Agosto de 2004 19:33, escribi=C3=B3: > > Hi, > > > > see rlib/src/examples/c > > > > It's a small c program linked w/ RLIB > > > > That give you some hints > > > > RLIB also installs a package config file > > > > pkg-config --cflags rlib > > pkg-config --libgs rlib > > > > is the best way to compile and link > > > > - bob > > > > On Mon, 2004-08-23 at 18:24 +0200, Sabin Bilbao wrote: > > > Hi, > > > > > > I am working with rlib. I am trying to use rlib but I can not link= my > > > program with the library: "unresolved reference to rlib_init()" > > > > > > I am trying with "-lr" in the linking line. The program compiles we= ll but > > > the linking process gives the error above. > > > > > > I am a new user of kdevelop and I have a basic knowledge of C++, so > > > perhaps I am no using correctly the libraries. > > > > > > Your help would be welcome. > > > > > > Thanks >=20 |
From: Bob D. <bd...@si...> - 2004-08-23 17:34:05
|
Hi, see rlib/src/examples/c It's a small c program linked w/ RLIB That give you some hints RLIB also installs a package config file pkg-config --cflags rlib pkg-config --libgs rlib is the best way to compile and link - bob On Mon, 2004-08-23 at 18:24 +0200, Sabin Bilbao wrote: > Hi, > > I am working with rlib. I am trying to use rlib but I can not link my program > with the library: "unresolved reference to rlib_init()" > > I am trying with "-lr" in the linking line. The program compiles well but the > linking process gives the error above. > > I am a new user of kdevelop and I have a basic knowledge of C++, so perhaps I > am no using correctly the libraries. > > Your help would be welcome. > > Thanks |
From: Sabin B. <sb...@ya...> - 2004-08-23 16:24:57
|
Hi, I am working with rlib. I am trying to use rlib but I can not link my prog= ram=20 with the library: "unresolved reference to rlib_init()" I am trying with "-lr" in the linking line. The program compiles well but t= he=20 linking process gives the error above. I am a new user of kdevelop and I have a basic knowledge of C++, so perhaps= I=20 am no using correctly the libraries. Your help would be welcome. Thanks =2D-=20 Sabin Bilbao B=BA Musurieta n=BA 31 Barrika Bizkaia |
From: Bob D. <bd...@si...> - 2004-08-20 19:10:20
|
What does your apache error log say when you get the IE dns errors? - bob On Thu, 2004-08-19 at 14:12 -0700, Rich wrote: > Hi Bob -- > > Thanks for the help the other day. I was able to get the configure > requirements satisfied and get rlib installed, but when I attempt to > run the example report, I get a "Cannot find server or DNS Error > Internet Explorer" screen . I have also tried Netscape 7.2, but it > gives no output or any indication that it has even tried to load the > page. > > If I modify the test code to the to the following: > ================================== > <? dl ("librlib.so"); > > $format = "pdf"; > $sql_host = "w032.secureinfoimaging.com"; > $sql_users = "easyim"; > $sql_password = "newpenn"; > $sql_database = "tmp"; > print "Init<br>"; > > $rlib = rlib_init(); > print "Init<br>"; > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > $sql_password, $sql_database); > print "connect<br>"; > rlib_add_query_as($rlib, "mysql", "select * from example", > "example"); > print "query<br>"; > rlib_add_report($rlib, "report.xml"); > print "report<br>"; > rlib_set_output_format_from_text($rlib, $format); > print "output1<br>"; > print rlib_get_content_type($rlib) . '<br>'; > ## rlib_execute($rlib); > ## header( rlib_get_content_type($rlib) ); > ## rlib_spool($rlib); > ## rlib_free($rlib); > ?> > > ......I get this result: > > Init > Init > connect > query > report > output1 > Content-Type: application/pdf; > > If I UNCOMMENT the line > ## rlib_execute($rlib); > ....and reload I immediately get > "Cannot find server or DNS Error Internet Explorer", again. > I have tried all possible format types with the same result. > > I checked the apache error log and see a message being generated > everytime the page loads similar to: > [Thu Aug 19 11:09:00 2004] [notice] child pid 13702 exit signal Quit > (3) > > FYI, the mysql table 'example' > .....works correctly with IE, using normal php code like: > $sql = "SELECT * FROM example".$orderByQuery.$limitQuery; > $result = MYSQL_QUERY($sql); > $numberOfRows = mysql_Numrows($result); > ..... etc. > > Also, I ran the test1 program from the command prompt using: > ./test1 192.168.0.32 userHere passwdHere dbHere >rdf.txt > > This produced the following message on the screen: > ====================================== > Setting output encoding to ANSI_X3.4-1968encoding is NULL or invalid > [C]... using en_USSetting locale to [C] FAILEDencoding is NULL or > invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL > or invalid [C]... using en_USSetting locale to [C] FAILEDencoding is > NULL or invalid [C]... using en_USSetting locale to [C] FAILEDencoding > is NULL or invalid [C]... using en_USSetting locale to [C] > FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to > [C] FAILEDencoding is NULL or invalid [C]... using en_USSetting locale > to [C] FAILEDencoding is NULL or invalid [C]... using en_USSetting > locale to [C] FAILEDencoding is NULL or invalid [C]... using > en_USSetting locale to [C] FAILEDencoding is NULL or invalid [C]... > using en_USSetting locale to [C] FAILEDencoding is NULL or invalid > [C]... using en_USSetting locale to [C] FAILEDencoding is NULL or > invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL > or invalid [C]... using en_USSetting locale to [C] FAILEDCPDF version > 2.02-r1-2[root@cc001032 tests]# > > > ....the output {rdf.txt} was as follows: > > 0.0000 0.0000 0.0000 rg > 0.0000 0.0000 0.0000 RG > 1.0000 0.0000 -0.0000 1.0000 14.4000 462.7600 Tm > (Chips 2 2) Tj > 1.0000 0.0000 -0.0000 1.0000 14.4000 453.7600 Tm > (Jaquar 3 3) Tj > ET > 0.8980 0.8980 0.8980 rg > 0.8980 0.8980 0.8980 RG > 14.400 442.600 253.800 8.856 re > f > > BT > 0.0000 0.0000 0.0000 rg > 0.0000 0.0000 0.0000 RG > 1.0000 0.0000 -0.0000 1.0000 14.4000 444.7600 Tm > (Lexus 3 3) Tj > 1.0000 0.0000 -0.0000 1.0000 14.4000 435.7600 Tm > (Pinto 3 3) Tj > /Fcpdf0 11.000 Tf > 1.0000 0.0000 -0.0000 1.0000 14.4000 425.2400 Tm > (REPORT FOOTER) Tj > /Fcpdf0 9.000 Tf > ET > > endstream > endobj > 7 0 obj > << > /Type /Font > /Subtype /Type1 > /Name /Fcpdf0 > /BaseFont /Courier > >> > endobj > 8 0 obj > << > /Creator (A ClibPDF program) > /CreationDate (D:20040819112049) > /Producer ([ClibPDF Library 2.02-r1-2] NEXTSTEP or OPENSTEP) > /Author (User: root [root]) > /Title (RLIB Report) > /Subject (None) > /Keywords (ClibPDF) > >> > endobj > xref > 0 9 > 0000000000 65535 f > 0000000033 00000 n > 0000000098 00000 n > 0000000144 00000 n > 0000000203 00000 n > 0000000231 00000 n > 0000000411 00000 n > 0000002875 00000 n > 0000002957 00000 n > trailer > << > /Size 9 > /Root 1 0 R > /Info 8 0 R > >> > startxref > 3186 > %%EOF > > What should I try next? > > --Rich |
From: Rich <ri...@se...> - 2004-08-19 21:12:53
|
Hi Bob -- Thanks for the help the other day. I was able to get the configure = requirements satisfied and get rlib installed, but when I attempt to = run the example report, I get a "Cannot find server or DNS Error = Internet Explorer" screen . I have also tried Netscape 7.2, but it = gives no output or any indication that it has even tried to load the = page. If I modify the test code to the to the following: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D <? dl ("librlib.so"); $format =3D "pdf"; $sql_host =3D "w032.secureinfoimaging.com"; $sql_users =3D "easyim"; $sql_password =3D "newpenn"; $sql_database =3D "tmp"; print "Init<br>"; $rlib =3D rlib_init(); print "Init<br>"; rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, = $sql_password, $sql_database); print "connect<br>"; rlib_add_query_as($rlib, "mysql", "select * from example", "example"); print "query<br>"; rlib_add_report($rlib, "report.xml"); print "report<br>"; rlib_set_output_format_from_text($rlib, $format); print "output1<br>"; print rlib_get_content_type($rlib) . '<br>'; ## rlib_execute($rlib); ## header( rlib_get_content_type($rlib) ); ## rlib_spool($rlib); ## rlib_free($rlib); ?> ......I get this result: Init Init connect query report output1 Content-Type: application/pdf;=20 If I UNCOMMENT the line=20 ## rlib_execute($rlib); ....and reload I immediately get "Cannot find server or DNS Error Internet Explorer", again.=20 I have tried all possible format types with the same result. I checked the apache error log and see a message being generated = everytime the page loads similar to: [Thu Aug 19 11:09:00 2004] [notice] child pid 13702 exit signal Quit (3) = =20 FYI, the mysql table 'example'=20 .....works correctly with IE, using normal php code like:=20 $sql =3D "SELECT * FROM example".$orderByQuery.$limitQuery; $result =3D MYSQL_QUERY($sql); $numberOfRows =3D mysql_Numrows($result); ..... etc. Also, I ran the test1 program from the command prompt using: ./test1 192.168.0.32 userHere passwdHere dbHere >rdf.txt This produced the following message on the screen: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Setting output encoding to ANSI_X3.4-1968encoding is NULL or invalid = [C]... using en_USSetting locale to [C] FAILEDencoding is NULL or = invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL = or invalid [C]... using en_USSetting locale to [C] FAILEDencoding is = NULL or invalid [C]... using en_USSetting locale to [C] FAILEDencoding = is NULL or invalid [C]... using en_USSetting locale to [C] = FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to = [C] FAILEDencoding is NULL or invalid [C]... using en_USSetting locale = to [C] FAILEDencoding is NULL or invalid [C]... using en_USSetting = locale to [C] FAILEDencoding is NULL or invalid [C]... using = en_USSetting locale to [C] FAILEDencoding is NULL or invalid [C]... = using en_USSetting locale to [C] FAILEDencoding is NULL or invalid = [C]... using en_USSetting locale to [C] FAILEDencoding is NULL or = invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL = or invalid [C]... using en_USSetting locale to [C] FAILEDCPDF version = 2.02-r1-2[root@cc001032 tests]#=20 ....the output {rdf.txt} was as follows: 0.0000 0.0000 0.0000 rg 0.0000 0.0000 0.0000 RG 1.0000 0.0000 -0.0000 1.0000 14.4000 462.7600 Tm (Chips 2 2) Tj 1.0000 0.0000 -0.0000 1.0000 14.4000 453.7600 Tm (Jaquar 3 3) Tj ET 0.8980 0.8980 0.8980 rg 0.8980 0.8980 0.8980 RG 14.400 442.600 253.800 8.856 re f BT 0.0000 0.0000 0.0000 rg 0.0000 0.0000 0.0000 RG 1.0000 0.0000 -0.0000 1.0000 14.4000 444.7600 Tm (Lexus 3 3) Tj 1.0000 0.0000 -0.0000 1.0000 14.4000 435.7600 Tm (Pinto 3 3) Tj /Fcpdf0 11.000 Tf 1.0000 0.0000 -0.0000 1.0000 14.4000 425.2400 Tm (REPORT FOOTER) Tj /Fcpdf0 9.000 Tf ET endstream endobj 7 0 obj << /Type /Font /Subtype /Type1 /Name /Fcpdf0 /BaseFont /Courier >> endobj 8 0 obj << /Creator (A ClibPDF program) /CreationDate (D:20040819112049) /Producer ([ClibPDF Library 2.02-r1-2] NEXTSTEP or OPENSTEP) /Author (User: root [root]) /Title (RLIB Report) /Subject (None) /Keywords (ClibPDF) >> endobj xref 0 9 0000000000 65535 f 0000000033 00000 n 0000000098 00000 n 0000000144 00000 n 0000000203 00000 n 0000000231 00000 n 0000000411 00000 n 0000002875 00000 n 0000002957 00000 n trailer << /Size 9 /Root 1 0 R /Info 8 0 R >> startxref 3186 %%EOF What should I try next? --Rich |
From: Bob D. <bd...@si...> - 2004-08-18 21:15:22
|
rpm -qa grep -i php rpm -qa grep -i mysql Make sure you have the devel packages installed, along with pkg-config. - bob On Wed, 2004-08-18 at 13:27 -0700, Rich wrote: > Hi -- > > Sorry if this is a *dumb* question, but I am not having any luck > getting configure to detect php and mySQL on my Mandrake-10 test > system. I have looked through past user archives and did not find > anything that looked particularly helpful. Here are some specifics: > > [root@cc001032 rlib-1.1.9]# uname -a > Linux cc001032.secureinfoimaging.com 2.6.3-7mdk #1 Wed Mar 17 15:56:42 > CET 2004 i686 unknown unknown GNU/Linux > > I have tried a variety of configure command variations to no avail. > Currently I am using: > > ./configure --prefix=/usr --enable-php --enable-mysql --with-php- > extension-dir=/usr/lib/php/extensions/ --with-php-config=/etc/php.ini > --with-mysql=/usr/share/mysql > > for php: > [root@cc001032 rlib-1.1.9]# whereis php > php: /etc/php /etc/php.ini /usr/lib/php > > for mysql > [root@cc001032 rlib-1.1.9]# whereis mysql > mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql > > Config output: > <snip> > checking for mysql_config... no > *** WARNING: MYSQL NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH > SUPPORT FOR IT > <snip> > checking for php-config... no > *** WARNING: PHP NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH > SUPPORT FOR IT > <snip> > rlib-1.1.9: > > prefix: /usr > compiler: gcc > Memory debugging: no > Warning Fun: no > Crash detection: yes > UTF8 disabled: no > > INPUTS: > MYSQL: no > POSTGRE: no > ODBC: no > > OUTPUTS: > PDF: yes > HTML: Always > CSV: Always > TEXT: Always > > BINDINGS: > PHP: no > PHP entension dir: > PYTHON: no > PYTHON version: 2.2 > PYTHON entension dir: > JAVA: no > PERL: no > PERL entension dir: > > Music: Incubus > > Having Problems: rli...@li... > Want to contribute: rli...@li... > > > What am I overlooking? > > -- Rich > |
From: Rich <ri...@se...> - 2004-08-18 20:28:12
|
Hi -- Sorry if this is a *dumb* question, but I am not having any luck = getting configure to detect php and mySQL on my Mandrake-10 test system. = I have looked through past user archives and did not find anything that = looked particularly helpful. Here are some specifics: [root@cc001032 rlib-1.1.9]# uname -a Linux cc001032.secureinfoimaging.com 2.6.3-7mdk #1 Wed Mar 17 15:56:42 = CET 2004 i686 unknown unknown GNU/Linux=20 I have tried a variety of configure command variations to no avail. = Currently I am using: ./configure --prefix=3D/usr --enable-php --enable-mysql = --with-php-extension-dir=3D/usr/lib/php/extensions/ = --with-php-config=3D/etc/php.ini --with-mysql=3D/usr/share/mysql for php: [root@cc001032 rlib-1.1.9]# whereis php php: /etc/php /etc/php.ini /usr/lib/php for mysql [root@cc001032 rlib-1.1.9]# whereis mysql mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql Config output: <snip> checking for mysql_config... no *** WARNING: MYSQL NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH = SUPPORT FOR IT <snip> checking for php-config... no *** WARNING: PHP NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH = SUPPORT FOR IT <snip> rlib-1.1.9: prefix: /usr compiler: gcc Memory debugging: no Warning Fun: no Crash detection: yes UTF8 disabled: no INPUTS: MYSQL: no POSTGRE: no ODBC: no OUTPUTS: PDF: yes HTML: Always CSV: Always TEXT: Always BINDINGS: PHP: no PHP entension dir: =20 PYTHON: no PYTHON version: 2.2 PYTHON entension dir: =20 JAVA: no PERL: no PERL entension dir: =20 Music: Incubus Having Problems: rli...@li... Want to contribute: rli...@li... What am I overlooking? -- Rich |
From: Bob D. <bd...@si...> - 2004-08-04 14:57:18
|
A semi example rlib_add_datasource_mysql($rlib, "sql1", "some host", .... ); rlib_add_datasource_mysql($rlib, "sql2", "some port", .... ); rlib_add_query_as($rlib, "sql1", "select * from whatever", "q1"); rlib_add_query_as($rlib, "sql2", "select * from whatever", "q2"); rlib_add_resultset_follower($rlib, "q1", "q2"); rlib_add_report.. execute spool However that's not exactly what you are looking for. The resuletset_follower is only good when there then number of rows in the resultsets is the same What you are probably looking for is what I'm developing now.. the concept of report parts.. check the archives of the mailing list for my proposal. I should have a prototype working with in 2 weeks or so - bob On Wed, 2004-08-04 at 16:28 +0200, Vincent Pinget wrote: > It it possible to have some example with multiple mysql ressources ? In > fact, I would like to know if it possible to have a main loop and use one of > field of the result of the main loop in a second loop .. like : > > main loop : select id1, field1, field2 from table1; > 2nd loop : select ch1, ch2 from table2 where ch3 = id1; > > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "Vincent Pinget" <vin...@co...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Wednesday, August 04, 2004 3:45 PM > Subject: Re: [Rlib-users] Rlib and PHP > > > > Right now you would have to use MYSQL Groups and use > > > > rlib_add_datasource_mysql_from_group > > > > - bob > > > > On Wed, 2004-08-04 at 14:28 +0200, Vincent Pinget wrote: > > > Now it is working fine via a web server --- > > > > > > My script (see below) succes to connect a Mysql via "normal" > connection... > > > Do you know how to specify a Mysql port different thant 3306 ! I saw > inside > > > the source of rlib the notion of mysql.options->port but i didn't know > how > > > to specify it in PHP .... > > > > > > Thanks again... > > > > > > <? > > > dl ("librlib.so"); > > > $format = "html"; > > > $sql_host = "localhost"; > > > $sql_users = "xxxx"; > > > $sql_password = ""; > > > $sql_database = "test"; > > > $rlib = rlib_init(); > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, > > > $sql_users,$sql_password, $sql_database); > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > > > ... > > > ?> > > > > > > > > > > > > ----- Original Message ----- > > > From: "Bob Doan" <bd...@si...> > > > To: "Vincent Pinget" <vin...@co...> > > > Cc: "RLIB USERS" <rli...@li...> > > > Sent: Tuesday, August 03, 2004 4:04 PM > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > Ahhh.. Ok > > > > > > > > What type of system is this on? > > > > > > > > And what prefix did you install rlib in? > > > > > > > > It's a prefix apache can't see. > > > > > > > > Typically look in /etc/ld.so.conf to see what are the normal LD > prefix's > > > > and if libr-mysql isn't there apache won't know about it. If thats > the > > > > case the easiest thing to do is install rlib in a place where apache > can > > > > find it. > > > > > > > > - bob > > > > > > > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > > > > Hi, > > > > > > > > > > I tried with all formats but it didn't work via the web server (but > all > > > > > works via the command line) > > > > > > > > > > I saw this in the error_log of Apache : > > > > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object > > > file: > > > > > No such file or directory] > > > > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal > > > Segmentation > > > > > fault (11) > > > > > > > > > > Does it mean something ?? > > > > > The modification I done in the util.h is wrong ?? > > > > > > > > > > Thanks > > > > > > > > > > ----- Original Message ----- > > > > > From: "Bob Doan" <bd...@si...> > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > Sent: Monday, August 02, 2004 4:44 PM > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > Try HTML output please.. If that works then try > > > > > > > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > > > > > > > with PDF > > > > > > > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > > > > > > > Some versions of IE require a content type of PDF and a > content-size > > > > > > > > > > > > We will have an official release out the door soon > > > > > > > > > > > > -bob > > > > > > > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > > > > No message in the error_log and in the acces_log file i have : > > > > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php > > > HTTP/1.1" > > > > > 200 > > > > > > > 5 > > > > > > > > > > > > > > The script used is : > > > > > > > > > > > > > > <? > > > > > > > dl ("librlib.so"); > > > > > > > $format = "html"; > > > > > > > > > > > > > > $sql_host = "localhost"; > > > > > > > $sql_users = "xxxx"; > > > > > > > $sql_password = ""; > > > > > > > $sql_database = "test"; > > > > > > > > > > > > > > $rlib = rlib_init(); > > > > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > > > > $sql_password, $sql_database); > > > > > > > rlib_add_query_as($rlib, "mysql", "select * from example", > > > "example"); > > > > > > > rlib_add_report($rlib, "report.xml"); > > > > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > > > > > > > rlib_execute($rlib); > > > > > > > header( rlib_get_content_type($rlib)); > > > > > > > > > > > > > > rlib_spool($rlib); > > > > > > > rlib_free($rlib); > > > > > > > > > > > > > > ?> > > > > > > > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Bob Doan" <bd...@si...> > > > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > What's in your apache error_log/message_log and what web > browser > > > are > > > > > you > > > > > > > > testing with? > > > > > > > > > > > > > > > > - bob > > > > > > > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine > and > > > the > > > > > > > > > example from the documentation work fine if i lauched it > from > > > the > > > > > > > > > command line... but i didn't success to lauch in from the > > > explorer > > > > > via > > > > > > > > > website... > > > > > > > > > > > > > > > > > > works : > > > > > > > > > shell > php report.php > > > > > > > > > and generate a PDF > > > > > > > > > > > > > > > > > > DON't WORK > > > > > > > > > http://serveur/report.php > > > > > > > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > > > > > > > More information : > > > > > > > > > When i lauched via command line, there were always text > file - i > > > > > > > > > looked the source code and i saw the function r_debug ... so > i > > > put > > > > > at > > > > > > > > > the begin of the file util.h the line : > > > > > > > > > #define DISABLERDEBUG 1 > > > > > > > > > to desactive the output from r_debug, but it changed > anything to > > > my > > > > > > > > > problem... > > > > > > > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > changes > > > on > > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few > weeks? > > > Now, > > > > > > > one more big change to announce. We are now OSTG- Open Source > > > Technology > > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > > _______________________________________________ > > > > > > > Rlib-users mailing list > > > > > > > Rli...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > changes > > > on > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, > > > > > > one more big change to announce. We are now OSTG- Open Source > > > Technology > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > _______________________________________________ > > > > > > Rlib-users mailing list > > > > > > Rli...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, > > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > |
From: Vincent P. <vin...@co...> - 2004-08-04 14:56:34
|
Ok I see what is it the notion of group... so : /etc/my.cnf [newtry] user = xxx password = ttttt port = blabla and we use : rlib_add_datasource_mysql_from_group($rlib, "mysql", "newtry") Ok i try soon thank Bob ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Wednesday, August 04, 2004 4:51 PM Subject: Re: [Rlib-users] Rlib and PHP > Actually you make an entry in a my.cnf file with the user/pw/port > > and then you give it the group name. > > I'm not 100% sure thats what you are looking for. > > Perhaps you would need a new API function that you give it > server and port also?? It would be pretty easy to write > > - bob > > On Wed, 2004-08-04 at 15:57 +0200, Vincent Pinget wrote: > > but how to pass parameters ? > > rlib_add_datasource_mysql_from_group($rlib, "mysql", "3306") ? > > or > > rlib_add_datasource_mysql_from_group($rlib, "mysql", "port:3306") ? > > > > Thks > > > > ----- Original Message ----- > > From: "Bob Doan" <bd...@si...> > > To: "Vincent Pinget" <vin...@co...> > > Cc: "RLIB USERS" <rli...@li...> > > Sent: Wednesday, August 04, 2004 3:45 PM > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > Right now you would have to use MYSQL Groups and use > > > > > > rlib_add_datasource_mysql_from_group > > > > > > - bob > > > > > > On Wed, 2004-08-04 at 14:28 +0200, Vincent Pinget wrote: > > > > Now it is working fine via a web server --- > > > > > > > > My script (see below) succes to connect a Mysql via "normal" > > connection... > > > > Do you know how to specify a Mysql port different thant 3306 ! I saw > > inside > > > > the source of rlib the notion of mysql.options->port but i didn't know > > how > > > > to specify it in PHP .... > > > > > > > > Thanks again... > > > > > > > > <? > > > > dl ("librlib.so"); > > > > $format = "html"; > > > > $sql_host = "localhost"; > > > > $sql_users = "xxxx"; > > > > $sql_password = ""; > > > > $sql_database = "test"; > > > > $rlib = rlib_init(); > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, > > > > $sql_users,$sql_password, $sql_database); > > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > > > > > ... > > > > ?> > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Bob Doan" <bd...@si...> > > > > To: "Vincent Pinget" <vin...@co...> > > > > Cc: "RLIB USERS" <rli...@li...> > > > > Sent: Tuesday, August 03, 2004 4:04 PM > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > Ahhh.. Ok > > > > > > > > > > What type of system is this on? > > > > > > > > > > And what prefix did you install rlib in? > > > > > > > > > > It's a prefix apache can't see. > > > > > > > > > > Typically look in /etc/ld.so.conf to see what are the normal LD > > prefix's > > > > > and if libr-mysql isn't there apache won't know about it. If thats > > the > > > > > case the easiest thing to do is install rlib in a place where apache > > can > > > > > find it. > > > > > > > > > > - bob > > > > > > > > > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > > > > > Hi, > > > > > > > > > > > > I tried with all formats but it didn't work via the web server (but > > all > > > > > > works via the command line) > > > > > > > > > > > > I saw this in the error_log of Apache : > > > > > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object > > > > file: > > > > > > No such file or directory] > > > > > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal > > > > Segmentation > > > > > > fault (11) > > > > > > > > > > > > Does it mean something ?? > > > > > > The modification I done in the util.h is wrong ?? > > > > > > > > > > > > Thanks > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Bob Doan" <bd...@si...> > > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > > Sent: Monday, August 02, 2004 4:44 PM > > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > > > > Try HTML output please.. If that works then try > > > > > > > > > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > > > > > > > > > with PDF > > > > > > > > > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > > > > > > > > > Some versions of IE require a content type of PDF and a > > content-size > > > > > > > > > > > > > > We will have an official release out the door soon > > > > > > > > > > > > > > -bob > > > > > > > > > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > > > > > No message in the error_log and in the acces_log file i have : > > > > > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php > > > > HTTP/1.1" > > > > > > 200 > > > > > > > > 5 > > > > > > > > > > > > > > > > The script used is : > > > > > > > > > > > > > > > > <? > > > > > > > > dl ("librlib.so"); > > > > > > > > $format = "html"; > > > > > > > > > > > > > > > > $sql_host = "localhost"; > > > > > > > > $sql_users = "xxxx"; > > > > > > > > $sql_password = ""; > > > > > > > > $sql_database = "test"; > > > > > > > > > > > > > > > > $rlib = rlib_init(); > > > > > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > > > > > $sql_password, $sql_database); > > > > > > > > rlib_add_query_as($rlib, "mysql", "select * from example", > > > > "example"); > > > > > > > > rlib_add_report($rlib, "report.xml"); > > > > > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > > > > > > > > > rlib_execute($rlib); > > > > > > > > header( rlib_get_content_type($rlib)); > > > > > > > > > > > > > > > > rlib_spool($rlib); > > > > > > > > rlib_free($rlib); > > > > > > > > > > > > > > > > ?> > > > > > > > > > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Bob Doan" <bd...@si...> > > > > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > What's in your apache error_log/message_log and what web > > browser > > > > are > > > > > > you > > > > > > > > > testing with? > > > > > > > > > > > > > > > > > > - bob > > > > > > > > > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine > > and > > > > the > > > > > > > > > > example from the documentation work fine if i lauched it > > from > > > > the > > > > > > > > > > command line... but i didn't success to lauch in from the > > > > explorer > > > > > > via > > > > > > > > > > website... > > > > > > > > > > > > > > > > > > > > works : > > > > > > > > > > shell > php report.php > > > > > > > > > > and generate a PDF > > > > > > > > > > > > > > > > > > > > DON't WORK > > > > > > > > > > http://serveur/report.php > > > > > > > > > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > > > > > > > > > More information : > > > > > > > > > > When i lauched via command line, there were always text > > file - i > > > > > > > > > > looked the source code and i saw the function r_debug ... so > > i > > > > put > > > > > > at > > > > > > > > > > the begin of the file util.h the line : > > > > > > > > > > #define DISABLERDEBUG 1 > > > > > > > > > > to desactive the output from r_debug, but it changed > > anything to > > > > my > > > > > > > > > > problem... > > > > > > > > > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > > changes > > > > on > > > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few > > weeks? > > > > Now, > > > > > > > > one more big change to announce. We are now OSTG- Open Source > > > > Technology > > > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > > > _______________________________________________ > > > > > > > > Rlib-users mailing list > > > > > > > > Rli...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > > changes > > > > on > > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > > Now, > > > > > > > one more big change to announce. We are now OSTG- Open Source > > > > Technology > > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > > _______________________________________________ > > > > > > > Rlib-users mailing list > > > > > > > Rli...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > > on > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > > Now, > > > > > > one more big change to announce. We are now OSTG- Open Source > > Technology > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > _______________________________________________ > > > > > > Rlib-users mailing list > > > > > > Rli...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > > on > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > > one more big change to announce. We are now OSTG- Open Source > > Technology > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > |
From: Bob D. <bd...@si...> - 2004-08-04 14:51:11
|
Actually you make an entry in a my.cnf file with the user/pw/port and then you give it the group name. I'm not 100% sure thats what you are looking for. Perhaps you would need a new API function that you give it server and port also?? It would be pretty easy to write - bob On Wed, 2004-08-04 at 15:57 +0200, Vincent Pinget wrote: > but how to pass parameters ? > rlib_add_datasource_mysql_from_group($rlib, "mysql", "3306") ? > or > rlib_add_datasource_mysql_from_group($rlib, "mysql", "port:3306") ? > > Thks > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "Vincent Pinget" <vin...@co...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Wednesday, August 04, 2004 3:45 PM > Subject: Re: [Rlib-users] Rlib and PHP > > > > Right now you would have to use MYSQL Groups and use > > > > rlib_add_datasource_mysql_from_group > > > > - bob > > > > On Wed, 2004-08-04 at 14:28 +0200, Vincent Pinget wrote: > > > Now it is working fine via a web server --- > > > > > > My script (see below) succes to connect a Mysql via "normal" > connection... > > > Do you know how to specify a Mysql port different thant 3306 ! I saw > inside > > > the source of rlib the notion of mysql.options->port but i didn't know > how > > > to specify it in PHP .... > > > > > > Thanks again... > > > > > > <? > > > dl ("librlib.so"); > > > $format = "html"; > > > $sql_host = "localhost"; > > > $sql_users = "xxxx"; > > > $sql_password = ""; > > > $sql_database = "test"; > > > $rlib = rlib_init(); > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, > > > $sql_users,$sql_password, $sql_database); > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > > > ... > > > ?> > > > > > > > > > > > > ----- Original Message ----- > > > From: "Bob Doan" <bd...@si...> > > > To: "Vincent Pinget" <vin...@co...> > > > Cc: "RLIB USERS" <rli...@li...> > > > Sent: Tuesday, August 03, 2004 4:04 PM > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > Ahhh.. Ok > > > > > > > > What type of system is this on? > > > > > > > > And what prefix did you install rlib in? > > > > > > > > It's a prefix apache can't see. > > > > > > > > Typically look in /etc/ld.so.conf to see what are the normal LD > prefix's > > > > and if libr-mysql isn't there apache won't know about it. If thats > the > > > > case the easiest thing to do is install rlib in a place where apache > can > > > > find it. > > > > > > > > - bob > > > > > > > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > > > > Hi, > > > > > > > > > > I tried with all formats but it didn't work via the web server (but > all > > > > > works via the command line) > > > > > > > > > > I saw this in the error_log of Apache : > > > > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object > > > file: > > > > > No such file or directory] > > > > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal > > > Segmentation > > > > > fault (11) > > > > > > > > > > Does it mean something ?? > > > > > The modification I done in the util.h is wrong ?? > > > > > > > > > > Thanks > > > > > > > > > > ----- Original Message ----- > > > > > From: "Bob Doan" <bd...@si...> > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > Sent: Monday, August 02, 2004 4:44 PM > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > Try HTML output please.. If that works then try > > > > > > > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > > > > > > > with PDF > > > > > > > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > > > > > > > Some versions of IE require a content type of PDF and a > content-size > > > > > > > > > > > > We will have an official release out the door soon > > > > > > > > > > > > -bob > > > > > > > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > > > > No message in the error_log and in the acces_log file i have : > > > > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php > > > HTTP/1.1" > > > > > 200 > > > > > > > 5 > > > > > > > > > > > > > > The script used is : > > > > > > > > > > > > > > <? > > > > > > > dl ("librlib.so"); > > > > > > > $format = "html"; > > > > > > > > > > > > > > $sql_host = "localhost"; > > > > > > > $sql_users = "xxxx"; > > > > > > > $sql_password = ""; > > > > > > > $sql_database = "test"; > > > > > > > > > > > > > > $rlib = rlib_init(); > > > > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > > > > $sql_password, $sql_database); > > > > > > > rlib_add_query_as($rlib, "mysql", "select * from example", > > > "example"); > > > > > > > rlib_add_report($rlib, "report.xml"); > > > > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > > > > > > > rlib_execute($rlib); > > > > > > > header( rlib_get_content_type($rlib)); > > > > > > > > > > > > > > rlib_spool($rlib); > > > > > > > rlib_free($rlib); > > > > > > > > > > > > > > ?> > > > > > > > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Bob Doan" <bd...@si...> > > > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > What's in your apache error_log/message_log and what web > browser > > > are > > > > > you > > > > > > > > testing with? > > > > > > > > > > > > > > > > - bob > > > > > > > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine > and > > > the > > > > > > > > > example from the documentation work fine if i lauched it > from > > > the > > > > > > > > > command line... but i didn't success to lauch in from the > > > explorer > > > > > via > > > > > > > > > website... > > > > > > > > > > > > > > > > > > works : > > > > > > > > > shell > php report.php > > > > > > > > > and generate a PDF > > > > > > > > > > > > > > > > > > DON't WORK > > > > > > > > > http://serveur/report.php > > > > > > > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > > > > > > > More information : > > > > > > > > > When i lauched via command line, there were always text > file - i > > > > > > > > > looked the source code and i saw the function r_debug ... so > i > > > put > > > > > at > > > > > > > > > the begin of the file util.h the line : > > > > > > > > > #define DISABLERDEBUG 1 > > > > > > > > > to desactive the output from r_debug, but it changed > anything to > > > my > > > > > > > > > problem... > > > > > > > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > changes > > > on > > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few > weeks? > > > Now, > > > > > > > one more big change to announce. We are now OSTG- Open Source > > > Technology > > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > > _______________________________________________ > > > > > > > Rlib-users mailing list > > > > > > > Rli...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the > changes > > > on > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, > > > > > > one more big change to announce. We are now OSTG- Open Source > > > Technology > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > _______________________________________________ > > > > > > Rlib-users mailing list > > > > > > Rli...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, > > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > |
From: Vincent P. <vin...@co...> - 2004-08-04 13:58:14
|
but how to pass parameters ? rlib_add_datasource_mysql_from_group($rlib, "mysql", "3306") ? or rlib_add_datasource_mysql_from_group($rlib, "mysql", "port:3306") ? Thks ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Wednesday, August 04, 2004 3:45 PM Subject: Re: [Rlib-users] Rlib and PHP > Right now you would have to use MYSQL Groups and use > > rlib_add_datasource_mysql_from_group > > - bob > > On Wed, 2004-08-04 at 14:28 +0200, Vincent Pinget wrote: > > Now it is working fine via a web server --- > > > > My script (see below) succes to connect a Mysql via "normal" connection... > > Do you know how to specify a Mysql port different thant 3306 ! I saw inside > > the source of rlib the notion of mysql.options->port but i didn't know how > > to specify it in PHP .... > > > > Thanks again... > > > > <? > > dl ("librlib.so"); > > $format = "html"; > > $sql_host = "localhost"; > > $sql_users = "xxxx"; > > $sql_password = ""; > > $sql_database = "test"; > > $rlib = rlib_init(); > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, > > $sql_users,$sql_password, $sql_database); > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > ... > > ?> > > > > > > > > ----- Original Message ----- > > From: "Bob Doan" <bd...@si...> > > To: "Vincent Pinget" <vin...@co...> > > Cc: "RLIB USERS" <rli...@li...> > > Sent: Tuesday, August 03, 2004 4:04 PM > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > Ahhh.. Ok > > > > > > What type of system is this on? > > > > > > And what prefix did you install rlib in? > > > > > > It's a prefix apache can't see. > > > > > > Typically look in /etc/ld.so.conf to see what are the normal LD prefix's > > > and if libr-mysql isn't there apache won't know about it. If thats the > > > case the easiest thing to do is install rlib in a place where apache can > > > find it. > > > > > > - bob > > > > > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > > > Hi, > > > > > > > > I tried with all formats but it didn't work via the web server (but all > > > > works via the command line) > > > > > > > > I saw this in the error_log of Apache : > > > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object > > file: > > > > No such file or directory] > > > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal > > Segmentation > > > > fault (11) > > > > > > > > Does it mean something ?? > > > > The modification I done in the util.h is wrong ?? > > > > > > > > Thanks > > > > > > > > ----- Original Message ----- > > > > From: "Bob Doan" <bd...@si...> > > > > To: "Vincent Pinget" <vin...@co...> > > > > Cc: "RLIB USERS" <rli...@li...> > > > > Sent: Monday, August 02, 2004 4:44 PM > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > Try HTML output please.. If that works then try > > > > > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > > > > > with PDF > > > > > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > > > > > Some versions of IE require a content type of PDF and a content-size > > > > > > > > > > We will have an official release out the door soon > > > > > > > > > > -bob > > > > > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > > > No message in the error_log and in the acces_log file i have : > > > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php > > HTTP/1.1" > > > > 200 > > > > > > 5 > > > > > > > > > > > > The script used is : > > > > > > > > > > > > <? > > > > > > dl ("librlib.so"); > > > > > > $format = "html"; > > > > > > > > > > > > $sql_host = "localhost"; > > > > > > $sql_users = "xxxx"; > > > > > > $sql_password = ""; > > > > > > $sql_database = "test"; > > > > > > > > > > > > $rlib = rlib_init(); > > > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > > > $sql_password, $sql_database); > > > > > > rlib_add_query_as($rlib, "mysql", "select * from example", > > "example"); > > > > > > rlib_add_report($rlib, "report.xml"); > > > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > > > > > rlib_execute($rlib); > > > > > > header( rlib_get_content_type($rlib)); > > > > > > > > > > > > rlib_spool($rlib); > > > > > > rlib_free($rlib); > > > > > > > > > > > > ?> > > > > > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Bob Doan" <bd...@si...> > > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > What's in your apache error_log/message_log and what web browser > > are > > > > you > > > > > > > testing with? > > > > > > > > > > > > > > - bob > > > > > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > > > Hi, > > > > > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and > > the > > > > > > > > example from the documentation work fine if i lauched it from > > the > > > > > > > > command line... but i didn't success to lauch in from the > > explorer > > > > via > > > > > > > > website... > > > > > > > > > > > > > > > > works : > > > > > > > > shell > php report.php > > > > > > > > and generate a PDF > > > > > > > > > > > > > > > > DON't WORK > > > > > > > > http://serveur/report.php > > > > > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > > > > > More information : > > > > > > > > When i lauched via command line, there were always text file - i > > > > > > > > looked the source code and i saw the function r_debug ... so i > > put > > > > at > > > > > > > > the begin of the file util.h the line : > > > > > > > > #define DISABLERDEBUG 1 > > > > > > > > to desactive the output from r_debug, but it changed anything to > > my > > > > > > > > problem... > > > > > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > > on > > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > > Now, > > > > > > one more big change to announce. We are now OSTG- Open Source > > Technology > > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > > _______________________________________________ > > > > > > Rlib-users mailing list > > > > > > Rli...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > > on > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > > one more big change to announce. We are now OSTG- Open Source > > Technology > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > |
From: Bob D. <bd...@si...> - 2004-08-04 13:45:14
|
Right now you would have to use MYSQL Groups and use rlib_add_datasource_mysql_from_group - bob On Wed, 2004-08-04 at 14:28 +0200, Vincent Pinget wrote: > Now it is working fine via a web server --- > > My script (see below) succes to connect a Mysql via "normal" connection... > Do you know how to specify a Mysql port different thant 3306 ! I saw inside > the source of rlib the notion of mysql.options->port but i didn't know how > to specify it in PHP .... > > Thanks again... > > <? > dl ("librlib.so"); > $format = "html"; > $sql_host = "localhost"; > $sql_users = "xxxx"; > $sql_password = ""; > $sql_database = "test"; > $rlib = rlib_init(); > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, > $sql_users,$sql_password, $sql_database); > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > ... > ?> > > > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "Vincent Pinget" <vin...@co...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Tuesday, August 03, 2004 4:04 PM > Subject: Re: [Rlib-users] Rlib and PHP > > > > Ahhh.. Ok > > > > What type of system is this on? > > > > And what prefix did you install rlib in? > > > > It's a prefix apache can't see. > > > > Typically look in /etc/ld.so.conf to see what are the normal LD prefix's > > and if libr-mysql isn't there apache won't know about it. If thats the > > case the easiest thing to do is install rlib in a place where apache can > > find it. > > > > - bob > > > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > > Hi, > > > > > > I tried with all formats but it didn't work via the web server (but all > > > works via the command line) > > > > > > I saw this in the error_log of Apache : > > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object > file: > > > No such file or directory] > > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal > Segmentation > > > fault (11) > > > > > > Does it mean something ?? > > > The modification I done in the util.h is wrong ?? > > > > > > Thanks > > > > > > ----- Original Message ----- > > > From: "Bob Doan" <bd...@si...> > > > To: "Vincent Pinget" <vin...@co...> > > > Cc: "RLIB USERS" <rli...@li...> > > > Sent: Monday, August 02, 2004 4:44 PM > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > Try HTML output please.. If that works then try > > > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > > > with PDF > > > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > > > Some versions of IE require a content type of PDF and a content-size > > > > > > > > We will have an official release out the door soon > > > > > > > > -bob > > > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > > No message in the error_log and in the acces_log file i have : > > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php > HTTP/1.1" > > > 200 > > > > > 5 > > > > > > > > > > The script used is : > > > > > > > > > > <? > > > > > dl ("librlib.so"); > > > > > $format = "html"; > > > > > > > > > > $sql_host = "localhost"; > > > > > $sql_users = "xxxx"; > > > > > $sql_password = ""; > > > > > $sql_database = "test"; > > > > > > > > > > $rlib = rlib_init(); > > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > > $sql_password, $sql_database); > > > > > rlib_add_query_as($rlib, "mysql", "select * from example", > "example"); > > > > > rlib_add_report($rlib, "report.xml"); > > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > > > rlib_execute($rlib); > > > > > header( rlib_get_content_type($rlib)); > > > > > > > > > > rlib_spool($rlib); > > > > > rlib_free($rlib); > > > > > > > > > > ?> > > > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Bob Doan" <bd...@si...> > > > > > To: "Vincent Pinget" <vin...@co...> > > > > > Cc: "RLIB USERS" <rli...@li...> > > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > What's in your apache error_log/message_log and what web browser > are > > > you > > > > > > testing with? > > > > > > > > > > > > - bob > > > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > > Hi, > > > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and > the > > > > > > > example from the documentation work fine if i lauched it from > the > > > > > > > command line... but i didn't success to lauch in from the > explorer > > > via > > > > > > > website... > > > > > > > > > > > > > > works : > > > > > > > shell > php report.php > > > > > > > and generate a PDF > > > > > > > > > > > > > > DON't WORK > > > > > > > http://serveur/report.php > > > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > > > More information : > > > > > > > When i lauched via command line, there were always text file - i > > > > > > > looked the source code and i saw the function r_debug ... so i > put > > > at > > > > > > > the begin of the file util.h the line : > > > > > > > #define DISABLERDEBUG 1 > > > > > > > to desactive the output from r_debug, but it changed anything to > my > > > > > > > problem... > > > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, > > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source > Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Vincent P. <vin...@co...> - 2004-08-04 12:29:18
|
Now it is working fine via a web server --- My script (see below) succes to connect a Mysql via "normal" connection... Do you know how to specify a Mysql port different thant 3306 ! I saw inside the source of rlib the notion of mysql.options->port but i didn't know how to specify it in PHP .... Thanks again... <? dl ("librlib.so"); $format = "html"; $sql_host = "localhost"; $sql_users = "xxxx"; $sql_password = ""; $sql_database = "test"; $rlib = rlib_init(); rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users,$sql_password, $sql_database); rlib_add_query_as($rlib, "mysql", "select * from example", "example"); ... ?> ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Tuesday, August 03, 2004 4:04 PM Subject: Re: [Rlib-users] Rlib and PHP > Ahhh.. Ok > > What type of system is this on? > > And what prefix did you install rlib in? > > It's a prefix apache can't see. > > Typically look in /etc/ld.so.conf to see what are the normal LD prefix's > and if libr-mysql isn't there apache won't know about it. If thats the > case the easiest thing to do is install rlib in a place where apache can > find it. > > - bob > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > Hi, > > > > I tried with all formats but it didn't work via the web server (but all > > works via the command line) > > > > I saw this in the error_log of Apache : > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: > > No such file or directory] > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal Segmentation > > fault (11) > > > > Does it mean something ?? > > The modification I done in the util.h is wrong ?? > > > > Thanks > > > > ----- Original Message ----- > > From: "Bob Doan" <bd...@si...> > > To: "Vincent Pinget" <vin...@co...> > > Cc: "RLIB USERS" <rli...@li...> > > Sent: Monday, August 02, 2004 4:44 PM > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > Try HTML output please.. If that works then try > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > with PDF > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > Some versions of IE require a content type of PDF and a content-size > > > > > > We will have an official release out the door soon > > > > > > -bob > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > No message in the error_log and in the acces_log file i have : > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" > > 200 > > > > 5 > > > > > > > > The script used is : > > > > > > > > <? > > > > dl ("librlib.so"); > > > > $format = "html"; > > > > > > > > $sql_host = "localhost"; > > > > $sql_users = "xxxx"; > > > > $sql_password = ""; > > > > $sql_database = "test"; > > > > > > > > $rlib = rlib_init(); > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > $sql_password, $sql_database); > > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > rlib_add_report($rlib, "report.xml"); > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > rlib_execute($rlib); > > > > header( rlib_get_content_type($rlib)); > > > > > > > > rlib_spool($rlib); > > > > rlib_free($rlib); > > > > > > > > ?> > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Bob Doan" <bd...@si...> > > > > To: "Vincent Pinget" <vin...@co...> > > > > Cc: "RLIB USERS" <rli...@li...> > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > Hi, > > > > > > > > > > What's in your apache error_log/message_log and what web browser are > > you > > > > > testing with? > > > > > > > > > > - bob > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > Hi, > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > > > > > example from the documentation work fine if i lauched it from the > > > > > > command line... but i didn't success to lauch in from the explorer > > via > > > > > > website... > > > > > > > > > > > > works : > > > > > > shell > php report.php > > > > > > and generate a PDF > > > > > > > > > > > > DON't WORK > > > > > > http://serveur/report.php > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > More information : > > > > > > When i lauched via command line, there were always text file - i > > > > > > looked the source code and i saw the function r_debug ... so i put > > at > > > > > > the begin of the file util.h the line : > > > > > > #define DISABLERDEBUG 1 > > > > > > to desactive the output from r_debug, but it changed anything to my > > > > > > problem... > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Vincent P. <vin...@co...> - 2004-08-03 15:47:55
|
This is a Linux Red Hat 7.3 with PHP 4.3.8 and MYSQL 4.0.17 You're right : I didn't use the --prefix donc i looked for where was the file libr-mysql.so and the path wasn't in the file /etc/ld.so.conf ... So I added the path in /etc/ld.so.conf and launched ldconfig and restart apache... and it works perfectly now... Great.... Thanks a lot Bob Vincent (Paris - France) ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Tuesday, August 03, 2004 4:04 PM Subject: Re: [Rlib-users] Rlib and PHP > Ahhh.. Ok > > What type of system is this on? > > And what prefix did you install rlib in? > > It's a prefix apache can't see. > > Typically look in /etc/ld.so.conf to see what are the normal LD prefix's > and if libr-mysql isn't there apache won't know about it. If thats the > case the easiest thing to do is install rlib in a place where apache can > find it. > > - bob > > On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > > Hi, > > > > I tried with all formats but it didn't work via the web server (but all > > works via the command line) > > > > I saw this in the error_log of Apache : > > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: > > No such file or directory] > > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal Segmentation > > fault (11) > > > > Does it mean something ?? > > The modification I done in the util.h is wrong ?? > > > > Thanks > > > > ----- Original Message ----- > > From: "Bob Doan" <bd...@si...> > > To: "Vincent Pinget" <vin...@co...> > > Cc: "RLIB USERS" <rli...@li...> > > Sent: Monday, August 02, 2004 4:44 PM > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > Try HTML output please.. If that works then try > > > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > > > with PDF > > > > > > We found a bug w/ content types and IE w/ PDF > > > > > > Some versions of IE require a content type of PDF and a content-size > > > > > > We will have an official release out the door soon > > > > > > -bob > > > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > > No message in the error_log and in the acces_log file i have : > > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" > > 200 > > > > 5 > > > > > > > > The script used is : > > > > > > > > <? > > > > dl ("librlib.so"); > > > > $format = "html"; > > > > > > > > $sql_host = "localhost"; > > > > $sql_users = "xxxx"; > > > > $sql_password = ""; > > > > $sql_database = "test"; > > > > > > > > $rlib = rlib_init(); > > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > > $sql_password, $sql_database); > > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > > rlib_add_report($rlib, "report.xml"); > > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > > > rlib_execute($rlib); > > > > header( rlib_get_content_type($rlib)); > > > > > > > > rlib_spool($rlib); > > > > rlib_free($rlib); > > > > > > > > ?> > > > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Bob Doan" <bd...@si...> > > > > To: "Vincent Pinget" <vin...@co...> > > > > Cc: "RLIB USERS" <rli...@li...> > > > > Sent: Monday, August 02, 2004 3:09 PM > > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > > > > Hi, > > > > > > > > > > What's in your apache error_log/message_log and what web browser are > > you > > > > > testing with? > > > > > > > > > > - bob > > > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > > Hi, > > > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > > > > > example from the documentation work fine if i lauched it from the > > > > > > command line... but i didn't success to lauch in from the explorer > > via > > > > > > website... > > > > > > > > > > > > works : > > > > > > shell > php report.php > > > > > > and generate a PDF > > > > > > > > > > > > DON't WORK > > > > > > http://serveur/report.php > > > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > > > More information : > > > > > > When i lauched via command line, there were always text file - i > > > > > > looked the source code and i saw the function r_debug ... so i put > > at > > > > > > the begin of the file util.h the line : > > > > > > #define DISABLERDEBUG 1 > > > > > > to desactive the output from r_debug, but it changed anything to my > > > > > > problem... > > > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > > one more big change to announce. We are now OSTG- Open Source Technology > > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Bob D. <bd...@si...> - 2004-08-03 14:05:06
|
Ahhh.. Ok What type of system is this on? And what prefix did you install rlib in? It's a prefix apache can't see. Typically look in /etc/ld.so.conf to see what are the normal LD prefix's and if libr-mysql isn't there apache won't know about it. If thats the case the easiest thing to do is install rlib in a place where apache can find it. - bob On Tue, 2004-08-03 at 09:28 +0200, Vincent Pinget wrote: > Hi, > > I tried with all formats but it didn't work via the web server (but all > works via the command line) > > I saw this in the error_log of Apache : > Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: > No such file or directory] > [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal Segmentation > fault (11) > > Does it mean something ?? > The modification I done in the util.h is wrong ?? > > Thanks > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "Vincent Pinget" <vin...@co...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Monday, August 02, 2004 4:44 PM > Subject: Re: [Rlib-users] Rlib and PHP > > > > Try HTML output please.. If that works then try > > > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > > > with PDF > > > > We found a bug w/ content types and IE w/ PDF > > > > Some versions of IE require a content type of PDF and a content-size > > > > We will have an official release out the door soon > > > > -bob > > > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > > No message in the error_log and in the acces_log file i have : > > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" > 200 > > > 5 > > > > > > The script used is : > > > > > > <? > > > dl ("librlib.so"); > > > $format = "html"; > > > > > > $sql_host = "localhost"; > > > $sql_users = "xxxx"; > > > $sql_password = ""; > > > $sql_database = "test"; > > > > > > $rlib = rlib_init(); > > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > > $sql_password, $sql_database); > > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > > rlib_add_report($rlib, "report.xml"); > > > rlib_set_output_format_from_text($rlib, $format); > > > > > > rlib_execute($rlib); > > > header( rlib_get_content_type($rlib)); > > > > > > rlib_spool($rlib); > > > rlib_free($rlib); > > > > > > ?> > > > > > > and nothing append when i called it via Internet Explorer > > > > > > > > > ----- Original Message ----- > > > From: "Bob Doan" <bd...@si...> > > > To: "Vincent Pinget" <vin...@co...> > > > Cc: "RLIB USERS" <rli...@li...> > > > Sent: Monday, August 02, 2004 3:09 PM > > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > > > > Hi, > > > > > > > > What's in your apache error_log/message_log and what web browser are > you > > > > testing with? > > > > > > > > - bob > > > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > > Hi, > > > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > > > > example from the documentation work fine if i lauched it from the > > > > > command line... but i didn't success to lauch in from the explorer > via > > > > > website... > > > > > > > > > > works : > > > > > shell > php report.php > > > > > and generate a PDF > > > > > > > > > > DON't WORK > > > > > http://serveur/report.php > > > > > > > > > > Please, could you tell me what is happening... > > > > > > > > > > More information : > > > > > When i lauched via command line, there were always text file - i > > > > > looked the source code and i saw the function r_debug ... so i put > at > > > > > the begin of the file util.h the line : > > > > > #define DISABLERDEBUG 1 > > > > > to desactive the output from r_debug, but it changed anything to my > > > > > problem... > > > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > > one more big change to announce. We are now OSTG- Open Source Technology > > > Group. Come see the changes on the new OSTG site. www.ostg.com > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Vincent P. <vin...@co...> - 2004-08-03 07:29:07
|
Hi, I tried with all formats but it didn't work via the web server (but all works via the command line) I saw this in the error_log of Apache : Could Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: No such file or directory] [Tue Aug 3 09:38:37 2004] [notice] child pid 14090 exit signal Segmentation fault (11) Does it mean something ?? The modification I done in the util.h is wrong ?? Thanks ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Monday, August 02, 2004 4:44 PM Subject: Re: [Rlib-users] Rlib and PHP > Try HTML output please.. If that works then try > > http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz > > with PDF > > We found a bug w/ content types and IE w/ PDF > > Some versions of IE require a content type of PDF and a content-size > > We will have an official release out the door soon > > -bob > > On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > > No message in the error_log and in the acces_log file i have : > > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" 200 > > 5 > > > > The script used is : > > > > <? > > dl ("librlib.so"); > > $format = "html"; > > > > $sql_host = "localhost"; > > $sql_users = "xxxx"; > > $sql_password = ""; > > $sql_database = "test"; > > > > $rlib = rlib_init(); > > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > > $sql_password, $sql_database); > > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > > rlib_add_report($rlib, "report.xml"); > > rlib_set_output_format_from_text($rlib, $format); > > > > rlib_execute($rlib); > > header( rlib_get_content_type($rlib)); > > > > rlib_spool($rlib); > > rlib_free($rlib); > > > > ?> > > > > and nothing append when i called it via Internet Explorer > > > > > > ----- Original Message ----- > > From: "Bob Doan" <bd...@si...> > > To: "Vincent Pinget" <vin...@co...> > > Cc: "RLIB USERS" <rli...@li...> > > Sent: Monday, August 02, 2004 3:09 PM > > Subject: Re: [Rlib-users] Rlib and PHP > > > > > > > Hi, > > > > > > What's in your apache error_log/message_log and what web browser are you > > > testing with? > > > > > > - bob > > > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > > Hi, > > > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > > > example from the documentation work fine if i lauched it from the > > > > command line... but i didn't success to lauch in from the explorer via > > > > website... > > > > > > > > works : > > > > shell > php report.php > > > > and generate a PDF > > > > > > > > DON't WORK > > > > http://serveur/report.php > > > > > > > > Please, could you tell me what is happening... > > > > > > > > More information : > > > > When i lauched via command line, there were always text file - i > > > > looked the source code and i saw the function r_debug ... so i put at > > > > the begin of the file util.h the line : > > > > #define DISABLERDEBUG 1 > > > > to desactive the output from r_debug, but it changed anything to my > > > > problem... > > > > > > > > Thanks for your help > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Bob D. <bd...@si...> - 2004-08-02 14:44:47
|
Try HTML output please.. If that works then try http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz with PDF We found a bug w/ content types and IE w/ PDF Some versions of IE require a content type of PDF and a content-size We will have an official release out the door soon -bob On Mon, 2004-08-02 at 16:25 +0200, Vincent Pinget wrote: > No message in the error_log and in the acces_log file i have : > 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" 200 > 5 > > The script used is : > > <? > dl ("librlib.so"); > $format = "html"; > > $sql_host = "localhost"; > $sql_users = "xxxx"; > $sql_password = ""; > $sql_database = "test"; > > $rlib = rlib_init(); > rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, > $sql_password, $sql_database); > rlib_add_query_as($rlib, "mysql", "select * from example", "example"); > rlib_add_report($rlib, "report.xml"); > rlib_set_output_format_from_text($rlib, $format); > > rlib_execute($rlib); > header( rlib_get_content_type($rlib)); > > rlib_spool($rlib); > rlib_free($rlib); > > ?> > > and nothing append when i called it via Internet Explorer > > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "Vincent Pinget" <vin...@co...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Monday, August 02, 2004 3:09 PM > Subject: Re: [Rlib-users] Rlib and PHP > > > > Hi, > > > > What's in your apache error_log/message_log and what web browser are you > > testing with? > > > > - bob > > > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > > Hi, > > > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > > example from the documentation work fine if i lauched it from the > > > command line... but i didn't success to lauch in from the explorer via > > > website... > > > > > > works : > > > shell > php report.php > > > and generate a PDF > > > > > > DON't WORK > > > http://serveur/report.php > > > > > > Please, could you tell me what is happening... > > > > > > More information : > > > When i lauched via command line, there were always text file - i > > > looked the source code and i saw the function r_debug ... so i put at > > > the begin of the file util.h the line : > > > #define DISABLERDEBUG 1 > > > to desactive the output from r_debug, but it changed anything to my > > > problem... > > > > > > Thanks for your help > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Vincent P. <vin...@co...> - 2004-08-02 14:25:30
|
No message in the error_log and in the acces_log file i have : 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" 200 5 The script used is : <? dl ("librlib.so"); $format = "html"; $sql_host = "localhost"; $sql_users = "xxxx"; $sql_password = ""; $sql_database = "test"; $rlib = rlib_init(); rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, $sql_password, $sql_database); rlib_add_query_as($rlib, "mysql", "select * from example", "example"); rlib_add_report($rlib, "report.xml"); rlib_set_output_format_from_text($rlib, $format); rlib_execute($rlib); header( rlib_get_content_type($rlib)); rlib_spool($rlib); rlib_free($rlib); ?> and nothing append when i called it via Internet Explorer ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Monday, August 02, 2004 3:09 PM Subject: Re: [Rlib-users] Rlib and PHP > Hi, > > What's in your apache error_log/message_log and what web browser are you > testing with? > > - bob > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > Hi, > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > example from the documentation work fine if i lauched it from the > > command line... but i didn't success to lauch in from the explorer via > > website... > > > > works : > > shell > php report.php > > and generate a PDF > > > > DON't WORK > > http://serveur/report.php > > > > Please, could you tell me what is happening... > > > > More information : > > When i lauched via command line, there were always text file - i > > looked the source code and i saw the function r_debug ... so i put at > > the begin of the file util.h the line : > > #define DISABLERDEBUG 1 > > to desactive the output from r_debug, but it changed anything to my > > problem... > > > > Thanks for your help > > > > > > |
From: Bob D. <bd...@si...> - 2004-08-02 13:09:10
|
Hi, What's in your apache error_log/message_log and what web browser are you testing with? - bob On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > Hi, > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > example from the documentation work fine if i lauched it from the > command line... but i didn't success to lauch in from the explorer via > website... > > works : > shell > php report.php > and generate a PDF > > DON't WORK > http://serveur/report.php > > Please, could you tell me what is happening... > > More information : > When i lauched via command line, there were always text file - i > looked the source code and i saw the function r_debug ... so i put at > the begin of the file util.h the line : > #define DISABLERDEBUG 1 > to desactive the output from r_debug, but it changed anything to my > problem... > > Thanks for your help > > |
From: Vincent P. <vin...@co...> - 2004-08-02 12:22:30
|
Hi, I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the = example from the documentation work fine if i lauched it from the = command line... but i didn't success to lauch in from the explorer via = website... works : shell > php report.php=20 and generate a PDF DON't WORK http://serveur/report.php Please, could you tell me what is happening... More information : When i lauched via command line, there were always text file - i looked = the source code and i saw the function r_debug ... so i put at the begin = of the file util.h the line : #define DISABLERDEBUG 1 to desactive the output from r_debug, but it changed anything to my = problem... Thanks for your help |
From: Bob D. <bd...@si...> - 2004-07-29 19:50:48
|
All, I have a new version of RLIB with some bug fixes: http://www.sicompos.com/~bdoan/rlib-1.2.1.tar.gz Basically we fixed some portability stuff and compile warning stuff. Make the content type of PDF's work better w/ IE And some SERIOUS PCODE PROBLEMS that either caused a crash or compiled in correctly Like "round(100/60)" didn't work or "-5" the round function also had a bug can you let me know if we broke anything? - bob |
From: Bob D. <bd...@si...> - 2004-07-22 15:29:56
|
Hi, You can't change the font.. As of now it must be a fixed font. You can play around in pdf.c/html.c if you want to try different fonts outside of the default used. We need the ability to change the fonts to non fixed fonts.. patches welcome color yes there is a color and bgcolor attribute for literal, date, line style no.. we need a patch for this one (this would be easy btw) - bob |