Ticket #5 (defect)
Opened 2 years ago
Last modified 2 years ago
I find a question.
Status: closed (invalid)
| Reported by: | Lanneret | Assigned to: | Lanneret |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | component1 | Version: | 1.0 |
| Keywords: | Cc: | ||
When I try to use html_item_tags, I want to edit a tag, but happen a script error, var result = pte.req.responseXML.getElementsByTagName('result')[0]; the result is null, Warning:can't modify header information - headers already sent by(output started at adodb.inc.php:383), what can i do?
Change History
12/14/06 09:45:33: Modified by Lanneret
- owner changed from somebody to Lanneret.
- status changed from new to assigned.
12/14/06 18:39:20: Modified by aking
- status changed from assigned to closed.
- resolution set to invalid.
You need to change your script so that it doesn't output stuff before it should. No reason ADOdb should be outputting anything.
12/15/06 02:32:02: Modified by Lanneret
- status changed from closed to reopened.
- resolution deleted.
Hi aking,
My script code: <?php
require_once('adodb/adodb.inc.php');
$driver = "mysql"; $server = "localhost"; $user = "root"; $password = "root"; $databasename = "test"; $db = ADONewConnection($driver); $db->debug = false; $db->Connect($server, $user, $password, $databasename); require_once('phptagengine/phptagengine.inc.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>PHP Tag Engine Example</title> <?php $pte->html_head(); ?> </head>
<body> <?php
$pte->html_item_tags("first","news","test"); ?> </body> </html> Can you give me some suggestion? where have error? Otherwise, I have some quandary about u_rail.php, it is coding as follows <?php require_once('phptagengine.inc.php'); ?> please give directions. Thanks and Good luck.
12/15/06 04:21:25: Modified by aking
- status changed from reopened to closed.
- resolution set to invalid.
This is not a bug, it's an implementation issue. Check out the AJAX handler info in the documentation here:
12/15/06 08:56:02: Modified by Lanneret
- status changed from closed to reopened.
- resolution deleted.
I'm quite clear, Thanks and Good luck.
12/15/06 19:45:54: Modified by aking
- status changed from reopened to closed.
- resolution set to invalid.

My adodb release is adodb-492-for-php, perhaps my adodb release is lowest, I find the outp function of adodb have outputed string, so the xmlout function of phptagengine happen error.