Page 1 of 1

Error with Attach-MOD

PostPosted: Wed May 24, 2006 4:07 am
Author: Genjuro-Sensei
Hello,

When making a topic with attachement or when reading a topic that have an attachement, i have this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 737280 bytes) in /.../includes/template.php(938) : eval()'d code on line 818


I have IntegraMOD 140 Updated to 2.0.19 + IntegraStyle Theme
PHP 4.4.1 and MySQL 5.0.1

Thanks for HELP !!!

PostPosted: Wed May 24, 2006 4:58 am
Author: tmotley
Maybe try this?

ednique's config.php edit...

http://www.integrmod.com/home/viewtopic.p ... &&start=10

or on page 3, there are some tips to lessen memory used...

Re: Error with Attach-MOD

PostPosted: Wed May 24, 2006 5:34 am
Author: Genjuro-Sensei
it says that i must add this line:
Code: Select all
ini_set("memory_limit","16M");

under the "Prillan Installed", but I do not have prillian installed !!

My config.php is like that]<php>[/code]
So, where can i add this line ???

Thanks !!

PostPosted: Wed May 24, 2006 5:44 am
Author: tmotley
I'd put it:

Code: Select all
define('PHPBB_INSTALLED', true);  ini_set("memory_limit","16M");  ?>

Re: Error with Attach-MOD

PostPosted: Wed May 24, 2006 5:48 am
Author: Genjuro-Sensei
I did that, it didn't work :(
Same error !!!

Any other suggestions ?

If i deactivate tha attach mod, there are no errors, but i DO really need that mod so i can't deactivate it !!

Thanks for HELP !!

PostPosted: Wed May 24, 2006 5:59 am
Author: tmotley
You could try 20, 24, etc. to see if they make a difference. Maybe clearing cache would make a difference?

Are the attachments large? What are the attachment limits you have in Quota Limits?

I had trouble uploading large files (in the Download area) on my site a while back and put a .htaccess file in the root of my site with the following two lines to allow larger uploads:

Code: Select all
php_value upload_max_filesize 6Mphp_value post_max_size 6M


More than likely unrelated to your situation but...

Re: Error with Attach-MOD

PostPosted: Wed May 24, 2006 6:14 am
Author: Genjuro-Sensei
- No, i increased to 24M, always the same error
- Yes, i cleared cache files, always same error
- No, the attached file isn't big, only 140KB
- No, i don't have any problem uploading in the DL area
- No, if i put a .htaccess in my server, when i go to my site a have IE message: "Site Not Found", so it doesn't work or maybe my host provider doesn't allow .htaccess files

i'm really sad... as it appearse, there no solution but deactivating the Attachement MOD... :(