Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2003
    Posts
    661

    File upload size problem. Need some help.

    ok guys, perhaps if anyone have any idea what this error explains and why, course I never met this strange 'thing' before.

    I've just coded up an upload script of pdf file and everything is fine when I tried to upload a pdf file of size 8MB. my ini is limited to 2M, but I got this error:

    Code:
    Warning: Cannot send session cache limiter - headers already sent in...

    anyone came across this? I'm not sure what this have got to do with session...
    Member Since 2003.

  2. #2
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    ... I tried to upload a pdf file of size 8MB. my ini is limited to 2M, but I got this error ...
    Correct, change the limit in php.ini
    How's my programming? Call 1-800-DEV-NULL

  3. #3
    Join Date
    Mar 2003
    Posts
    661
    can I prevent the error from popping out? I want to surpress the error and use my own. any possibility? By the way, I also tried changing the limit to 9M and reset my apache but still got the error.

    Also, thanks for your input null.
    Member Since 2003.

  4. #4
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    You have a problem with the function session_cache_limiter() here

    http://www.php.net/manual/en/functio...he-limiter.php

    You should have NO output before you call it
    How's my programming? Call 1-800-DEV-NULL

  5. #5
    Join Date
    Mar 2003
    Posts
    661
    hmm, i don't think so null.

    Code:
    Warning: Cannot send session cache limiter - headers already sent in blah.php on line 2
    Line 2 is session_start();

    No output, no whitespace, no nothing. Every part of my application works fine but just error when I tried to upload large file. any idea?
    Member Since 2003.

  6. #6
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    Post your script here of attach it as a text file

    Also, what is your php version?
    How's my programming? Call 1-800-DEV-NULL

  7. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •