why do I get: "error file too big"

jimmiebalster / 2012-06-27 20:50:31   

when I want to upload pictures, I get continuously the error: file too big.
The picures I want to upload are less than 500kb
Does this really mean I have to resize all my pictures?

What do you guys do?

7 / 2012-06-27 21:14:34   

The maximum is 200kb

ogabriel / 2012-06-27 22:02:19   

just change the line 13 on the options.php file to something like this:
$default['maxsize'] = 20000;

gno / 2012-06-27 22:19:17   

The maximum size is controlled by two things.

1) As ogabriel says, the /ndxzsite/config/options.php file. The value is in kilobytes.

2) In the php.ini file, or php.ini declarations in your .htaccess if you happen to be on a apache server. Unless you are hosting your self, you probably wont be able to control this. To check what the limit is from their site you can make a simple php file with the following content:

I believe the default value at mosts host are set at 2Mb.
php.net/manual/en/…

--

The first thing will most likely solve your problem, but if you experience further problems, it may well be because of the other point.

jimmiebalster / 2012-07-01 16:01:09   

thank you

srge / 2013-04-26 08:46:23   

Hello guys, GNO, I'm having a problem. I changed the options.php file and still is showing the same problem. I'm hosting in godaddy. I am trying to make the php.ini file, but really have no idea how to do it. I already found a php.ini file, so, what should I do? should I add the "post_max_size integer" that appears in the link you provided? where should I add it? or what should I do?
Thanks for the help.
I'm only trying to upload files that are never bigger than 250kb, but I spent two weekes resizing files to be around 200kb, and have many that are 205kb and can't upload them...
thanks for the help
srge

Vaska A / 2013-04-26 09:18:08   

I'm closing this thread because it's old. I already replied to your question in the other thread. Don't cross post. Please read the forum rules.

This thread has been closed, thank you.