Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-21 12:28:46

Gallex
Member
Registered: 2006-10-08
Posts: 1,292

1,2MB image upload error

after upload I get this error:

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 8000 bytes) in /www/05/aspa.ee/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 200

I increased maximum file size of uploads (in bytes) under admin tab to 7 MB, but no help :(

Offline

#2 2007-03-21 14:21:15

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: 1,2MB image upload error

Perhaps the upload size is also limited in php.ini

Offline

#3 2007-03-21 14:28:01

Gallex
Member
Registered: 2006-10-08
Posts: 1,292

Re: 1,2MB image upload error

ruud wrote:

Perhaps the upload size is also limited in php.ini

I can’t find such a file in my textpattern directory

Offline

#4 2007-03-21 14:29:51

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: 1,2MB image upload error

You’ll have to ask your hosting provider if the upload size is limited in php.ini.


Regards,

Joey

Offline

#5 2007-03-21 15:20:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: 1,2MB image upload error

Let them also check the maximum allowed memory usage for a PHP process.

Offline

#6 2007-03-22 11:51:49

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: 1,2MB image upload error

I found a similar problem with a site hosted at Dreamhost, where they have set an upload size limit of 7Mb in php.ini (non editable by the user, short of compiling your own version of PHP). What I did was upload the files via FTP to the files folder and then “create” them in the TXP interface, under Content > Files. Maybe this will work for you.

Offline

#7 2007-03-22 22:34:21

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: 1,2MB image upload error

The error is caused by a plugin. It has nothing to do with the upload file limit.


Alex

Offline

#8 2007-03-22 23:16:08

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: 1,2MB image upload error

To expand on what Alex said, this is how we know that: “eval()’d code on line 200”.

Offline

#9 2007-03-23 14:55:59

Gallex
Member
Registered: 2006-10-08
Posts: 1,292

Re: 1,2MB image upload error

zem wrote:

The error is caused by a plugin. It has nothing to do with the upload file limit.

which plugin? I have installed glx_admin_image, upm_image, and upm_img_popper and can anyone tell me : what the upload image file limit is in this case?

Offline

#10 2007-03-23 15:07:55

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: 1,2MB image upload error

You could activate them one at a time and check which one throws up the error. Then check in the forum thread for this plugin. Or try to reinstall, maybe you have a corrupt plugin file…

Last edited by jordi (2007-03-23 15:10:21)

Offline

#11 2007-03-24 00:58:56

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: 1,2MB image upload error

Neither of mine touch file uploads. I think the glx one does.

Offline

#12 2007-03-27 13:01:37

Gallex
Member
Registered: 2006-10-08
Posts: 1,292

Re: 1,2MB image upload error

jordi wrote:

You could activate them one at a time and check which one throws up the error. Then check in the forum thread for this plugin. Or try to reinstall, maybe you have a corrupt plugin file…

even deactivated glx_admin_image before the upload causes the error:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 8000 bytes) in /www/06/muinasjutupidu.ee/textpattern/textpattern/lib/class.thumb.php on line 165

uninstall…the same :(

Last edited by Gallex (2007-03-27 13:25:53)

Offline

Board footer

Powered by FluxBB