![]() |
Excel reader not playing nice with Godaddy - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Excel reader not playing nice with Godaddy (/showthread.php?tid=27241) |
Excel reader not playing nice with Godaddy - El Forum - 02-04-2010 [eluser]frist44[/eluser] I have a form that uploads an excel document to the file system and then an excel reader (http://codeigniter.com/wiki/Excel_Reader_Class/) reads the first cell and checks for a value. Based on the value returns and output. In order to return the output, I'm using session flash data and redirecting to another url, which will then display that message. Everything works fine on my WAMP installation locally. When I uploaded it to Godaddy, i get the following: Code: A PHP Error was encountered On the other pages, if I don't load the excel reader, it works fine. Line 541 on the url_helper is the actual redirect function. First, I'm wondering why the excel reader would have anything to do with the browser headers because it's reading binary from a local filesystem. Any ideas why this may be happening? Thanks! Excel reader not playing nice with Godaddy - El Forum - 02-04-2010 [eluser]danmontgomery[/eluser] Something is being output to the browser before a call to the header() function... Most likely a blank line at the end of a php file, remove closing php tags at the end of your files or ensure there is no whitespace after them. Excel reader not playing nice with Godaddy - El Forum - 02-04-2010 [eluser]frist44[/eluser] that's what it was. Thanks! |