hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : File upload size problem. Need some help.
Reply

Forum Jump

File upload size problem. Need some help.

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-19-2003, 11:54 AM
anlene anlene is offline
Web Hosting Master
 
Join Date: Mar 2003
Posts: 655

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.



Sponsored Links
  #2  
Old 08-19-2003, 12:42 PM
null null is offline
Web Hosting Master
 
Join Date: Sep 2002
Location: Illinois
Posts: 2,305
Quote:
... 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  
Old 08-19-2003, 12:52 PM
anlene anlene is offline
Web Hosting Master
 
Join Date: Mar 2003
Posts: 655
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.

Sponsored Links
  #4  
Old 08-19-2003, 01:02 PM
null null is offline
Web Hosting Master
 
Join Date: Sep 2002
Location: Illinois
Posts: 2,305
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  
Old 08-19-2003, 01:30 PM
anlene anlene is offline
Web Hosting Master
 
Join Date: Mar 2003
Posts: 655
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  
Old 08-19-2003, 04:18 PM
null null is offline
Web Hosting Master
 
Join Date: Sep 2002
Location: Illinois
Posts: 2,305
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

Reply

Related posts from TheWhir.com
Title Type Date Posted
Dropbox Suffers Temporary Outage Impacting File Sharing and Synchronizing Web Hosting News 2014-03-14 12:11:46
Egnyte Launches Program to PRISM-Proof Enterprise Cloud File-sharing Web Hosting News 2013-09-27 13:45:48
High-Risk Cloud Services Slip through the Cracks at Most Companies: Report Web Hosting News 2013-09-26 11:24:29
Box Doubles Storage for Free Plan, Launches $5 Enterprise Plan Web Hosting News 2013-08-22 13:32:27
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?