1. Megan_Dyer
  2. Bug Report
  3. Thursday, July 16 2015, 11:13 AM
Hello,
When we go to look at the users in the back end and go in to edit them I get this error message: Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 1024 bytes) in /home/sites/http://powysparticipation.co.uk/public_html/libraries/framework/Joomla/Registry/Format/Json.php on line 58
Any ideas on how to fix it?
Thanks,
Megs
admin Accepted Answer
Admin
Hi,
you need to increase "memory_limit" in your php.ini.

Now you have set 25M, default is 128 and recommended for production environment is 256M.
  1. more than a month ago
  2. Bug Report
  3. # 1
Megan_Dyer Accepted Answer
Pro
Hello,
I've increased the memory limit in my php.ini but it's still not working?
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
If error is still "Allowed memory size of 25165824 bytes ...." then your changes have not been applied.
  1. more than a month ago
  2. Bug Report
  3. # 3
Megan_Dyer Accepted Answer
Pro
Yeah it's still the same error. It's saying that it's applied!
  1. more than a month ago
  2. Bug Report
  3. # 4
admin Accepted Answer
Admin
can you please post me your site details? we will check ;)
  1. more than a month ago
  2. Bug Report
  3. # 5
Megan_Dyer Accepted Answer
Pro
Here you go!
Thanks
  1. more than a month ago
  2. Bug Report
  3. # 6
Megan_Dyer Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 7
admin Accepted Answer
Admin
Hi,
your public_html/php.ini is ignored, You can check the memory_limit from Administration->System Information->PHP information (see screenshot).


To fix this problem we have added this code at line 2 of file /administrator/index.php
ini_set('memory_limit', '256M');
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 8
Megan_Dyer Accepted Answer
Pro
That's awesome!
Thank you so so much!
  1. more than a month ago
  2. Bug Report
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.