Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-10-2009, 06:35 PM   #1
I like monkeys
 
tomster2300's Avatar
 
Join Date: Jul 2003
Location: The South
Posts: 2,512
Wordpress error

I'm trying to add images to the wordpress library on my site, and I keep getting the same error on two occasions.

The error - Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 14016 bytes) in /home/mcgaheet/domains/tommymcgahee.com/public_html/redesign/wordpress/wp-admin/includes/image.php on line 147

happens when I load one file from my computer through the wordpress interface, or when I use the plugin "add from server" which lets me choose files I've already ftp'd and organized.

When I add from my computer the file adds itself to the library, then when it says "crunching" it shows the error. The file is in the library though, but it has to rebuild a thumbnail every time I refresh the library. Is that the issue here, that wordpress is failing when it tries to auto create the thumbnail?

When adding from the server the error auto pops up, but the file is added regardless.

Here is what line 147 from image.php says -

PHP Code:
    $image imagecreatefromstringfile_get_contents$file ) ); 
Do I need to go in and change the size value that thumbnails can be created from? I couldn't find how to do that...
Thanks everyone!
__________________
Desktop 1: Intel i7 920--GA-x58-UD3R--Corsair xMS3 6GB (3 X 2GB) DDR3 1333mhz--Sapphire HD 4870 1GB--PC Power & Cooling Silencer 750w psu--WD SATA 3.0 gb/s 320 GB HD--Lite-on DVD-DL burner--Thermaltake SopranoRS black case--Windows 7 Professional 64-bit

Desktop 2: Intel C2D E4400--GA-P35-DS3R--Corsair xMS2 2GB (2 X 1 GB) DDR2 800--eVGA 8600 GT--Fortron Source 500 watt psu--WD 250 gb HD--HP DVD-DL burner--Windows Vista Home Premium

Laptop: Apple Macbook
tomster2300 is offline   Reply With Quote
Old 10-10-2009, 08:30 PM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,790
See if this has any info that may be pertinent:

http://www.davidrisley.com/2009/10/0...press-dragons/
glc is offline   Reply With Quote
Old 10-10-2009, 09:33 PM   #3
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
http://www.stephenhobley.com/blog/20...-memory-error/

http://wordpress.org/support/topic/250820

Either bump up the PHP memory limit or look at what glc linked to.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 10-13-2009, 11:16 PM   #4
I like monkeys
 
tomster2300's Avatar
 
Join Date: Jul 2003
Location: The South
Posts: 2,512
Hey guys, thanks for the info and sorry for the late reply. I had forgotten to resize my photos before dumping them into wordpress, so they're no longer pushing the cap. I'll go back and work on it when / if I begin putting larger files up.
tomster2300 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:44 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2