Post by danitaz » Fri Apr 04, 2014 3:47 am

My PDF sizes are getting larger! And I ran into the "upload required" error.

I suspect that the settings in my php.ini are responsible, but it shouldn't be the "size":

magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 128M;
max_execution_time = 144000;
upload_max_filesize = 999M;
safe_mode = Off;
mysql.connect_timeout = 200;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 172800;
allow_url_fopen = on;
;display_errors = 1;
;error_reporting = E_ALL;

Is it perhaps a timeout? It seems to come back with the error fairly quickly though. I have a "reseller" account on bluehost, and in theory have no database or other restrictions.

Any ideas? In the meantime I've just been scp'ing files over as needed.

Thanks.

Danita

New member

Posts

Joined
Wed Apr 21, 2010 9:02 am

User avatar
Active Member

Posts

Joined
Sat Mar 30, 2013 12:27 am
Location - Springfield, MA

Post by danitaz » Fri Apr 04, 2014 11:08 am

No - I can actually upload up to 150MB files through cPanel, so I don't see that they would have any great objection to uploading them via PHP. I can scp files over 1 GB (at least that's the largest I've tried).

But it seems like it's 10MB issue. I've successfully uploaded almost that high, but these last three PDFs were in the 11-22 MB range (they are zips actually).

There are a lot of php.ini files on this server. They all show a max upload of 999MB. I didn't create them, so it must be some default that the server creates when it is working with PHP settings.

Is there some kind of php debug mode I could go into that would show me exactly what the error coming back is? Just "Upload required" isn't getting me very far in troubleshooting.

Quite honestly, I can scp to my heart's content, and in some ways it's quicker for me. It just doesn't do OpenCart's nice automatic file masking for me!

Thanks!

Danita

New member

Posts

Joined
Wed Apr 21, 2010 9:02 am
Who is online

Users browsing this forum: No registered users and 35 guests