Re: Install Problems.

"Edgar Picado" <picado-/[email protected]> Thu, 20 Jul 2006 14:44:40 -0600
Newsgroups gmane.text.rlib.user
Message-ID <000201c6ac3d$648a3700$0a01010a@COM010>
Thanks Michiel and Bob for your reply,

Ok, I will start again, because nothing happens with the code that I have,
or you send me.

My new code is like the one on the example:

<? 
session_start();
$_SESSION['pagina'] = "consultas";
include("../includes/valida.php");

include("../includes/conexbase.php");
$link=conectarse();

dl ("rlib.so");
  
 $format       = "html";
 $sql_host     = "host";
 $sql_users    = "user";
 $sql_password = "user";
 $sql_database = "database";
  
 $rlib = rlib_init();
  
 rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users,
$sql_password, $sql_dabatase);
 rlib_add_query_as($rlib, "mysql", "select * from ckbancos", "ckbancos");
 rlib_add_report($rlib, "reck_ckbancos.xml");
 rlib_set_output_format_from_text($rlib, $format);
 rlib_set_output_parameter($this->_rlib, "debugging", "yes");
 rlib_execute($rlib);
 header( rlib_get_content_type($rlib));
 rlib_spool($rlib);
 rlib_free($rlib);

?>

AND give me the following errors:

Warning: rlib_set_output_parameter() expects parameter 1 to be resource,
null given in /var/www/html/cheques/cons_ckctas.php on line 23

Warning: Cannot modify header information - headers already sent by (output
started at /var/www/html/cheques/cons_ckctas.php:23) in
/var/www/html/cheques/cons_ckctas.php on line 25

Just only that information appears!

Thanks !

Edgar Picado


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV