Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [CLOSED]Fatal error: Allowed memory size of 1006..

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[CLOSED]Fatal error: Allowed memory size of 1006..

More
11 years 2 months ago - 11 years 2 months ago #3596 by lipob
Hello.
I have installed Joomla 2.5 with Adsmanager 2.9.9
I am trying to upload an image that is 2MB and when i try to save the ad it returns the following:

Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 20000 bytes) in /home3/tododero/public_html/administrator/components/com_adsmanager/models/adsmanager.php on line 145

In the Adsmanager configuration panel, the max file size limit is 4194304 bytes.

My php.ini is:

max_execution_time = 120
max_input_time = 120
memory_limit = 96M
upload_max_filesize = 64M

I can not solve this problem, so i need a little help, please.
Last edit: 11 years 2 months ago by tompap.
More
11 years 2 months ago #3613 by tompap
in administrator/components/com_adsmanager/models/adsmanager.php

there is

if (intval(ini_get('memory_limit')) < 64)
ini_set('memory_limit', '64M');

try to replace by

if (intval(ini_get('memory_limit')) < 128)
ini_set('memory_limit', '128M');


100663296 bytes is 96M

so the maximum limit has been reached.
More
11 years 2 months ago #3631 by lipob
Is the same.
I can upload only 2.50 MB
May be the problem is the hosting
More
11 years 2 months ago #3637 by tompap
Yes maybe there are some specific parameter in the hosting.

Check image configuration in adsmanager ? did you set "enormous" width/height ?

the memory_limit is not the size of the file to download but the memory used by the php thread. as we need to read the file to resize it we need to full decode the JPG (1mo could be 10 Mo). So I was wondering about the configuration for images in your configuration. Did you with 50 images of 500 Ko for example to see if there is a problem.
If the problem is just limited to large image.
More
11 years 2 months ago #3672 by lipob
Hi tompap

Today i tried again. The first attempt i could upload an image that is 2714kb, but when I tried to upload it again the error happened again.

But... i could upload 50 images from 85kb to 13kb, total 2.88MB

attach image-configuration settings
Attachments:
More
11 years 2 months ago #3677 by tompap
Hello, did you try to upload your image on demo.joomprod.com

If working, there is something wrong on your server setup but I don't know what exactly
Moderators: perry
Time to create page: 0.122 seconds
Powered by Kunena Forum