phpCollab Community
Discuss everything phpCollab!

The forums are currently in READ-ONLY mode while we upgrade the forums.
Home » Support » General Support » FAQs
FAQs [message #7927] Sun, 11 February 2007 13:20 Go to next message
mindblender is currently offline  mindblender
Messages: 610
Registered: July 2003
Location: AZ
phpCollab contributor

Problem: Cannot upload files over xx in size
Solutions:
  • This could be a limitation set withing PHP itself by your hosting provider. You can find out what the settings are for your server by creating a PHP file with the following code in it:
    <?php
     phpinfo();
    ?>
    Then save the file to your web server and access it via your browser and do a search for max_upload_size and post_max_size.
  • As the other two commenters have suggested, this is indeed a PHP setting, and has nothing to do with the phpCollab codebase. The maximum file upload size is set in php.ini, and is not modifiable above that via the ini_set() function. Most shared hosts set this quite low for some protection against rogue and poorly-written file-upload scripts. 512K is rather lower than most (though some paranoid sysadmins set it as low as 256K). If you need to use a larger size, talk to your host and/or sysadmin.
  • the problem might be the setting made by your hosting company. if there is a limit set by them (of course there actually is one) its overwriting the settings in phpcollab, because phpcollab is running under the environment of php and has to "follow the rules of php"

[Updated on: Sun, 11 February 2007 13:22]

Report message to a moderator

Re: FAQs [message #8158 is a reply to message #7927] Mon, 27 August 2007 08:03 Go to previous message
bchoy is currently offline  bchoy
Messages: 20
Registered: August 2007
phpCollab guest
Jeff,
Thanks, that was the problem - the post_max_size setting is set to 8MB which won't work. We'll see if we can get the admin to change it (out site is commercially hosted).
Thanks again!
Barry
Previous Topic: Error after installation
Next Topic: do you want support on this forum?
Goto Forum:
  


Current Time: Tue May 21 00:50:40 CEST 2013

Total time taken to generate the page: 0.29693 seconds