Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 07:28 pm EST

Geeklog Forums

Warning: Cannot modify header information


Status: offline

Al262

Forum User
Junior
Registered: 10/19/10
Posts: 16
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
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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 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.
One of the Geeklog Core Developers.
 Quote

Status: offline

Al262

Forum User
Junior
Registered: 10/19/10
Posts: 16
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.
 Quote

Status: offline

Al262

Forum User
Junior
Registered: 10/19/10
Posts: 16
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.
 Quote

All times are EST. The time is now 07:28 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content