The old Fatal error: Allowed memory size in 1.8.13

i get this error whenenver i try to upload a new avatar > 3mb
i have 1.8.13
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13824 bytes) in /home/content/.*/.*/html/engine/lib/filestore.php on line 141

it seems that i'm not the only one having this problem as i have searched but none of the response have helped
i am on a godaddy server - shared
i tested this on Xampp and i get this "The size of file(s) uploaded exceeded the limit set by your site administrator"
when i try to upload a big avatar file
but when i try it on my domain it'll give me the fatal error

is there a way to display "The size of file(s) uploaded exceeded the limit set by your site administrator" message
instead of that ugly error?
and of course how to fix that error?
my htaccess has

# php 5, apache 1 and 2

# limit the maximum memory consumed by the php script to 64 MB
php_value memory_limit 64M
# register_globals is deprecated as of PHP 5.3.0 - disable it for security reasons.
php_value register_globals 0
# post_max_size is the maximum size of ALL the data that is POST'ed to php at a time (8 MB)
php_value post_max_size 8388608
# upload_max_filesize is the maximum size of a single uploaded file (5 MB)
php_value upload_max_filesize 5242880
# on development servers, set to 1 to display errors. Set to 0 on production servers.
php_value display_errors 0

and idk what people mean with changing the php.ini
i have no php.ini file in my root derictory... :|

i also tried the Database Validator for Elgg 1.8
but it said no errors and i clicked repair and that didn't fix the problem

 is there a plugin that i can use to control avatars so that i don't use the default one?

is there a plugin that checks a file size before trying to upload it?

    • '...upload a new avater > 3mb' ? whattt? 3MB ??
    • tidypics has filesize limits checking - look at the code there to reuse.
    • 'changing the php.ini' ? why not learn the easy way? goto google and type that. 

     

  • i don't have tidypics.

    can i use tidypics instead of the default avatar uploader? 

    *avatar

    i was under the assumption someone could to read a small error like that. :)

    anyways like i said before, i don't have php.ini, i have google it and godaddy's is under /etc/php.ini and i dont' even have a folder "etc"

    @dhrupdescoop

    goto google and type that.

     

    Me

     i'm not the only one having this problem as i have searched but none of the response have helped

    Did you read my post?

  • What is the dimensions of the image?

  • 3456 X 5184 

    ^ - Very big size but file size is 8.42mb

    the problem is the error message , it shouldn't be showing that

    i should be showing the "The size of file(s) uploaded exceeded the limit set by your site administrator" message