ERROR:Cannot modify header information - headers already sent
I have built a new site and am using UE to download some presentations posted on the site.
On the document result page
documents_results.php?author_surname=&category=&country=&recent=&Search.x=42&Search.y=10&Search=Search&sort=viewed&direction=DESC
if i press the Download button i get a some rubbish and some errors which mean not much to me!
If instead of i view the document and in the detail page:
documents_details.php?documentID=1&author_surname=Auckland%20SCI%20unit
i press the download button the document downloads fine.
Both pages refer to the same webassist file
<?php require_once("../webassist/file_manipulation/helperphp.php"); ?>
I'm stuck and have no idea how to fix this issue, and i have my client jumping up and down to get it solved, can someone shed some light on the issue please.
I have uploaded both source files in the zip files.
Unfortunately i had to remove the download button from the document_result page after client's request.
This is the kind of error i kept getting:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/i/s/lisaharvey/html/documents/documents_results.php:5) in /home/content/l/i/s/lisaharvey/html/webassist/file_manipulation/helperphp.php on line 690
Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/i/s/lisaharvey/html/documents/documents_results.php:5) in /home/content/l/i/s/lisaharvey/html/webassist/file_manipulation/helperphp.php on line 691
Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/i/s/lisaharvey/html/documents/documents_results.php:5) in /home/content/l/i/s/lisaharvey/html/webassist/file_manipulation/helperphp.php on line 692
Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/i/s/lisaharvey/html/documents/documents_results.php:5) in /home/content/l/i/s/lisaharvey/html/webassist/file_manipulation/helperphp.php on line 693
%PDF-1.4 %âãÏÓ 13 0 obj <> endobj xref 13 7 0000000016 00000 n 0000000594 00000 n 0000000657 00000 n 0000000853 00000 n 0000000895 00000 n 0000001036 00000 n 0000000436 00000 n trailer <<593D170070535FE31CA981B27C5DED90><14C7A0B257F04D1895C5E1D2AB5F10B5>]/Prev 253271>> startxref 0 %%EOF 19 0 obj <>stream hÞb```f``üÌÀÈÀ°æ.?ðÅX8w³]ëyôáCPÊFRÈÅZ³€tòj—‡ùö7 >`U@ endstream endobj 14 0 obj <> endobj 15 0 obj