Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Uploading large files
5 December, 2008
5:33 pm
Josh E
New Member
Forum Posts: 2
Member Since:
5 December, 2008
Offline

I'm having problems uploading files larger than 8MB. I changed my php.ini to account for both larger file sizes and upload time (you can check http://www.euzoa.com/phpinfo.php). It was working for a while, but now it's resorted back to the 8MB limit. Is it possible that this could be a permissions problem (My wordpress automatic upgrade plugin changed the permissions on all of my files and folders recently)?

Any help would be appreciated.

Thanks,
Josh

5 December, 2008
6:25 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

@Josh E: Your max_execution_time is only set to 30 seconds, so you should bump this up to perhaps as high as 600 seconds if you can.

6 December, 2008
6:35 pm
Josh E
New Member
Forum Posts: 2
Member Since:
5 December, 2008
Offline

Hi Mark,
Thanks for the quick reply. I have changed the max_execution_time to 600. However, the problem is that the sermon plugin does not seem to be recognizing my settings. It still gives me the original warnings on the options tab. Any thoughts?

Thanks,
Josh

8 December, 2008
9:14 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

@Josh E: Sorry I missed your comment earlier. That's something you need to talk to your host about. It's possible that they won't accept your settings, or it's possible they want you to put the php.ini file in a different place.

22 January, 2009
10:15 pm
Tyler Cook
Member
Forum Posts: 3
Member Since:
22 January, 2009
Offline

I wanted to let you know that if you are someone on shared hosting and cannot get around the maximum file size upload warnings, then you can do the following. I got this help from here: http://www.whenpenguinsattack……de-phpini/

1) Create a file called .htaccess

2) In your .htaccess file, place the following

upload_max_filesize = 15M
post_max_size = 15M
max_execution_time = 600
max_input_time = 600
memory_limit = 16M

3) Upload the .htaccess file into the same directory as your php script (this will apply to any php script that is in this directory). I put mine in my Wordpress directory.

22 January, 2009
10:18 pm
Tyler Cook
Member
Forum Posts: 3
Member Since:
22 January, 2009
Offline

Sorry..I pasted the wrong .htaccess code….

Inside the .htaccess file, place the following:

php_value memory_limit 16M
php_value post_max_size 15M
php_value upload_max_filesize 15M
php_value max_execution_time 600
php_value max_input_time 600

22 January, 2009
10:30 pm
dgoepfrich
Enthusiast
Forum Posts: 15
Member Since:
14 October, 2008
Offline

Tyler, when I do that my site errors out with a 500 Internal Server error. I just copied and pasted your code. Thoughts?

Daniel

23 January, 2009
6:17 pm
Tyler Cook
Member
Forum Posts: 3
Member Since:
22 January, 2009
Offline

First of all, I believe your webserver needs to be Apache. Most webservers are, so we'll go with the odds.

You have a few options. Try commenting out each line, one at a time, and seeing if one of those is causing the error. If it still is throwing errors, then it is possible your webhost is not allowing something. In this case, you might try contacting them with your issue to see if it jogs their knowledge.

Failing that, you could try searching Google for ".htaccess 500 error". I'd tell you more if I knew.

23 January, 2009
6:31 pm
dgoepfrich
Enthusiast
Forum Posts: 15
Member Since:
14 October, 2008
Offline

OK, thanks. I'll talk to the web host to see if there is something blocking it.

Daniel

23 April, 2010
12:49 am
GeneLaratonda
New Member
Forum Posts: 2
Member Since:
23 April, 2010
Offline
10

The sermons for our church range between 20MB and 50MB. The only way it would work for my hosting provider was to put the php.ini file in the same directory as the script from which it was being run (http://www.mysite.com/wordpres…../wp-admin/).

After that the warning messages went away and the upload finally worked!

It would be a benefit if we could see the progress of the file being uploaded (i.e. progress bar, percentage, etc.).

Great plugin brother!

10 July, 2011
9:48 pm
rachelstanley
Member
Forum Posts: 5
Member Since:
13 September, 2010
Offline
11

This has been super helpful. I already had access to my php.ini file yet most help sites were telling me to talk to my hosting provider. It seemed like no matter where I put the file it wouldn't apply to the SB script (I assumed that putting it in the root Wordpress directory would allow it to cascade down to child folders). Thank you for the tip on putting it in the wp-admin directory. Fixed it!

11 July, 2011
12:29 am
judahrn
Chicago,Il
Enthusiast
Forum Posts: 12
Member Since:
10 July, 2011
Offline
12

I was having the same problem, and I did the ftp route and it actually worked better for me. I am glad you were able to figure it out.

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2066

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4045

Newest Members: Nixon Designs, zolaperry, tanec69, lbakyl, richdorm, Aaron Velasquez

Moderators: Ben Miller (387)

Administrators: Mark Barnes (425)

Comments are closed.