web hosting line
1.866.605.2484

Web hosting

Go Back   Web Hosting Forum - Web hosting discussion at SiteGround.com > Popular Software > Other Software and Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2009, 12:20 PM
GKeddy GKeddy is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Default Error uploading high rez images

When i try to upload high resolution pictures, i get this error:

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10200 bytes) in D:\...\www\mediawiki\includes\media\Bitmap.php on line 194"

The interesting part is its a 310 kb file with dimensions of 2550 x 1650 so its is way below the 32 mb limit. If I reduce it down to ~ 1600 x 1035 pix works. It looks like its limiting the max geometric dimensions, is there anyway to increase the limit?

Alternately, is there a script or code I can use that will change the picture dimensions automatically as they are uploaded? Services like tinypic wont work because they (and everything else) are blocked where I work.

I want to avoid manually changing the dimensions b/c there are ~ 10000 files.

Thanks
Reply With Quote
  #2  
Old 11-03-2009, 09:28 AM
Niko's Avatar
Niko Niko is offline
SiteGround Team Member
 
Join Date: May 2007
Posts: 288
Default

Hello GKeddy,

From the provided error message I noticed that you are referring to a local MediaWiki installation. In order to resolve this issue, you should increase the memory_limit in your global php.ini file, which is normally located under a directory named "php" residing within your XAMPP (or similar software) directory. Then you should restart your local Apache server and re-test the wiki's upload functionality.
__________________
Best Regards,
Niko
SiteGround Technical Support Team

Join us on Facebook
Follow us on Twitter
Web Hosting Suitable for You!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
offering high quality PR3, PR4, PR5 and PR6 all niche koolguy Link Exchange Market 2 09-08-2009 05:45 AM
High number of Account Executions robbiefritz Forums - PHPBB, SMF, vBulletin, IPB 2 04-30-2009 07:28 PM
How to get a high PR dominantforce Advertising and Site Optimization 8 12-08-2007 10:17 PM
You're the Best! High Recommendation! Renee Customers' experience and suggestions 0 03-10-2007 05:59 PM
High Load, exceeding cpu usage? hardcore Forums - PHPBB, SMF, vBulletin, IPB 4 03-03-2006 04:00 AM


All times are GMT -5. The time now is 01:58 AM.

Copyright © SiteGround.com Inc