Posted on: 11/21/10 07:43pm
By: Al262
Attempting to add a table that is updated using Ajax/jQuery and receiving the following. Is this feasible within GL?
Warning: Cannot modify header information - headers already sent by (output started at C:\web\test\public_html\brewery\data.php:42) in C:\web\test\public_html\lib-common.php on line 6840
Re: Warning: Cannot modify header information
Posted on: 11/22/10 11:01am
By: Laugh
Yup once the page is loaded you can use jQuery to update parts of the page without reloading the entire page. I have done this with mootools in the rating plugin but I havn't worked with jQuery yet.
You could try contacting Cordiste
http://www.geeklog.net/users.php?mode=profile&uid=10535[*1] as I know he has worked with jQuery. If he is not to busy he could probably point you to some examples on how to get it done.
Re: Warning: Cannot modify header information
Posted on: 11/23/10 06:15am
By: Al262
Thanks for the response Laugh....
I tweaked a bit and have removed the warnings. So, I've moved on to the next problem. The data page is being displayed rather than updated on the add page.
Thoughts appreciated.
Re: Warning: Cannot modify header information
Posted on: 11/26/10 09:56pm
By: Al262
Just to close out the thread, in the data program I changed the echo $display to COM_output($display), the page is being updated as planned.