Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: nicepraveen on October 14, 2016, 12:57:14 AM

Title: Undefined index: custom_avatar_url
Post by: nicepraveen on October 14, 2016, 12:57:14 AM
There are many instance of below error in my smf 2.0.12. any suggestions?

8: Undefined index: custom_avatar_url
Apply Filter: Only show the errors from this file File: /home/kannadec/public_html/amiestudy.com/forum/Sources/Load.php
Line: 1217
Title: Re: Undefined index: custom_avatar_url
Post by: Illori on October 14, 2016, 05:09:39 AM
can you attach that file to your next post so we can look at it?
Title: Re: Undefined index: custom_avatar_url
Post by: Vehement Works on October 14, 2016, 05:38:28 AM
Recent mods installed ?
Title: Re: Undefined index: custom_avatar_url
Post by: shawnb61 on October 14, 2016, 08:40:28 AM
My experience is that these "undefined index" messages mean smf cannot find a term in a language file.   Usually caused by installing languages after mods.   Usually fixed by Uninstalling and re-installing the mod that uses that term internally.
Title: Re: Undefined index: custom_avatar_url
Post by: Illori on October 14, 2016, 08:45:50 AM
in this case it is not related to a language string or file.
Title: Re: Undefined index: custom_avatar_url
Post by: nicepraveen on November 18, 2016, 03:28:41 AM
Attached load.php

any suggestions?
Title: Re: Undefined index: custom_avatar_url
Post by: nicepraveen on December 06, 2016, 02:46:47 AM
Any help?

no mod installed related to avatar.
Title: Re: Undefined index: custom_avatar_url
Post by: d3vcho on December 06, 2016, 04:43:30 AM
Hello!

Did you install any Mod related to avatars? Maybe it wasn't removed totally when you uninstalled it. I suggest uploading a fresh set of files; How to upload a fresh set of files  (http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files)

Regards :)
Title: Re: Undefined index: custom_avatar_url
Post by: Illori on December 06, 2016, 05:28:43 AM
Quote from: nicepraveen on October 14, 2016, 12:57:14 AM
There are many instance of below error in my smf 2.0.12. any suggestions?

8: Undefined index: custom_avatar_url
Apply Filter: Only show the errors from this file File: /home/kannadec/public_html/amiestudy.com/forum/Sources/Load.php
Line: 1217

strange, that line has nothing at all to do with custom_avatar_url.

i am not so sure that uploading fresh files will do anything to fix this if an error is being called on a completely unrelated line.
Title: Re: Undefined index: custom_avatar_url
Post by: d3vcho on December 06, 2016, 05:41:32 AM
But that line includes: "$modSettings['custom_avatar_url']". Also line 1218...

Regards :)
Title: Re: Undefined index: custom_avatar_url
Post by: nicepraveen on December 06, 2016, 05:51:16 AM
Attached screenshot again.

I was playing around avatar settings (Admin->Forum->Attachments and avatars -> Avatar settings), Is it something to with the settings?

Recently i refreshed all my files but no luck.

also noticed some of the users avatar not displaying showing the url http://www.amiestudy.com/avatar_28424_1475236121.png, it is strange.
it suppose to be under avatar directory.

Correct one suppose to be like this http://www.amiestudy.com/forum/avatars/gallery/Newavatars/32.gif

Title: Re: Undefined index: custom_avatar_url
Post by: Illori on December 06, 2016, 05:52:35 AM
Quote from: d3vcho on December 06, 2016, 05:41:32 AM
But that line includes: "$modSettings['custom_avatar_url']". Also line 1218...

Regards :)
when i did a diff, the lines must have changed as it did not have that on the correct line, either way that line is not changed.

either way that should be defined if it is being used and not cause this error.
Title: Re: Undefined index: custom_avatar_url
Post by: Illori on December 06, 2016, 05:53:53 AM
sounds like you need to correctly follow http://www.simplemachines.org/community/index.php?topic=197938.0

you dont look to have followed it correctly or messed up something in the process.
Title: Re: Undefined index: custom_avatar_url
Post by: nicepraveen on December 06, 2016, 06:51:10 AM
Thank you guys.

I followed http://www.simplemachines.org/community/index.php?topic=197938.0

working fine now. :).