![]() |
upload gives white screen - 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: upload gives white screen (/showthread.php?tid=25585) |
upload gives white screen - El Forum - 12-17-2009 [eluser]überfuzz[/eluser] I'm setting up a pdf-upload. The file is uploaded, but I'm getting a white screen. Code: $config['upload_path'] = './assets/pdf/'; Edit, I can't see what's wrong here. If any one can and points it out I'll be very happy. upload gives white screen - El Forum - 12-17-2009 [eluser]LuckyFella73[/eluser] Hej hej Überfuzz, I can't see an error at the pointed lines. Are you sure that the pdf file is uploaded and did you try to echo a test-string in your else condition to prove that the script in the else condition is performed? Har det sa bra Update: I just tested your lines from the else condition in my backend where a pdf upload is done and got the print_r result like expected. Tested with CI 1.7.1 So I think it must be something else ... very helpful .. ![]() upload gives white screen - El Forum - 12-17-2009 [eluser]überfuzz[/eluser] [quote author="LuckyFella73" date="1261071072"]Hej hej Überfuzz, I can't see an error at the pointed lines. Are you sure that the pdf file is uploaded and did you try to echo a test-string in your else condition to prove that the script in the else condition is performed? Har det sa bra[/quote] Well I've done the 'standard' debugging. Every if/else seems to work, I'm getting stuff echoed in every one but the one with the print_r() test. Can't figure it out..? Danke gleisfals! Edit, I forgot to mention. The file is uploaded to the server, in the right folder. |