HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


I've run out of ideas...Changing the Maximum upload size limit

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#30977 (In Topic #7084)
Avatar

Fan in training

ocPortal will not let me upload movies, images and other downloads larger the 2meg. I have changed the settings in the admin zone to 10M for images, 24M for Downloads and still, the page reports I cannot upload more then 2M.

Ive changed the php.ini config file on the server to allow upto 24M on both upload_max_filesize and post_max_size and restarted the Apache server. Ive also try using the recommend.htaccess file to still no joy.

Im running Apache 2 with PHP 5.1.6 with ocPortal 3.1.5 on a dedicated server and Ive just run out of ideas on what to change

Steve


 
Back to the top
 
Posted
Rating:
#30979
Avatar

Community saint

Advice from a "chimp-coder":

Ctrl+Alt+Shft+Refresh to clear caches?

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#30980
Avatar

Fan in training

clearing the caches on my browser hasnt worked either
Back to the top
 
Posted
Rating:
#30981
Avatar

Community saint

Sorry that didn't work Steven.

Just to be absolutely clear about what I meant - I was referring to clearing the ocPortal cached files/folders, not the browser's cache.

It is something I always forgot to do, and which has now become second nature when 'tweaking' something these days!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#30982
Avatar

Fan in training

the caches are all turned off
Back to the top
 
Posted
Rating:
#30983
Avatar

Fan in training

did it anyways on the off chance it worked and it didnt
Back to the top
 
Posted
Rating:
#30985
Avatar

I'd check the PHPinfo tool (under the Tools tab of the Admin Zone), just to make sure your settings have gone through. It's not unknown for web servers to have old php.ini files knocking around that are unused (and hence it's easy to edit the wrong one).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#30990
Avatar

Fan in training

the php info is where i found out the location of my php.ini file in the first place. so i am using the correct one and when i open it, my changes to the appropriate values are still there.

the php info does however show me that these new values arent being implemented, what could be blocking them from running or is just restarting apache not enough??
Back to the top
 
Posted
Rating:
#30992
Avatar

I can think of a four things:
  1. They're defined twice in the file, yours before the defaults.
  2. They're defined wrongly in the file ;). E.g. saying '24MB' instead of '24M', or using the wrong identifier name.
  3. You have a .htaccess file somewhere along your directory path to ocPortal that is defining the lower limits.
  4. You have a definition somewhere in your Apache configuration (php_admin_value).

If none of those are the case, I don't see why a web server reset would not reset PHP. Unless somehow you have more than one web server and are resetting the wrong one, or perhaps if you think you are resetting but instead just sending a "reload signal" (to reload the Apache config file, but not reload all modules).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#30999
Avatar

Fan in training

hmmm.... not even a complete system reboot has fixed it. Any other ideas?
Back to the top
 
Posted
Rating:
#31000
Avatar

I think it's worth trying to override using an .htaccess file. Try the recommended.htaccess ocPortal has as a template.
It won't find the problem, but it may overrule it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: