Filesize issue

ndouellette / 2012-05-30 19:42:52   

Not sure if this falls under the category of troubleshooting or customization, but here goes:

My average image is aorun 300-350kb on my site. After upgrading to ndxz2 and attempting to upload images, I am notified that the filesize is too big... it appears to be capped at 200kb. I checked the upload.php file and noticed that it says that the max filesize is set in php.ini ... and I'm hesistant to just go modifying files at random. Is it possible to increase this filesize limit, and if so, how?

Thanks a bunch!

Nick

eskatonika.com

Vaska A / 2012-05-30 20:15:21   

I beileve I put that in /ndxzsite/config/options.php - you can raise it as you wish but remember your webhost needs to have the power to do the job.

;)

Vaska A / 2012-05-30 20:15:50   

I'll make a plugin for this eventually but it will be a little before I can get to that.

ndouellette / 2012-05-30 20:25:57   

Awesome!... I never had any trouble with file sizes or loading times in the previous version, so I'm not too concerned.

I bumped up the max filesize considerably, and, while the uploading interface is attempting to upload, it still returns an "Error File is too big." Could the problem be elsewhere?

ndouellette / 2012-05-30 20:48:29   

Incidentally, I just tried to upload a 90kb file and got the same result... clearly my uploader is unhappy with me.

Vaska A / 2012-05-30 21:03:20   

Which browser are you using? The uploader can be particular. Perhaps try a different one and see what happens.

I'll add this to a list of things to look at...

ndouellette / 2012-05-30 21:10:50   

I've tried it on both Firefox and Chrome... it's strange. Originally, as soon as I would "add file" I got the "File is too big" error and clicking upload did nothing. After I adjust the max filesize in options.php, I could add files, received no error, and when I clicked "Upload" the green bar would progress as if it were working. When it completed, it would return the same "File is too big" error, even on extremely small files.

ndouellette / 2012-05-30 22:51:48   

Nevermind, reinstalled and everything is working great (in both browsers)!

Thanks for your help Vaska!

Vaska A / 2012-05-30 22:56:48   

Ah, great! I guess it was a piece of javascript that got bunched up...

mathewsmith / 2012-05-31 07:32:24   

Thanks, I upped mine to 400kb.

Jonathon / 2012-05-31 11:51:42   

Hi, I'm having the same problem. I upped the file size limit to 1000 and was able to upload 1 image. Now when I try the progress bar appears, but the image does not upload. Have tried different browsers and reinstalling indexhibit.

Vaska A / 2012-05-31 11:55:18   

But 1000 is way too big - I really doubt you server can handle that. It's not an Indehxibit limitation that makes this fail...

Jonathon / 2012-05-31 14:10:02   

I'm an idiot. 500kb is more than enough. Thanks

Vaska A / 2012-05-31 14:54:16   

If it works. Remember, that your host might not always be able to handle files so large.

This thread has been closed, thank you.