News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Undefined index: custom_avatar_url

Started by nicepraveen, October 14, 2016, 12:57:14 AM

Previous topic - Next topic

nicepraveen

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

Illori

can you attach that file to your next post so we can look at it?

Vehement Works

Last released modifications: AdSense Mod|Font AweaZome BBC code

shawnb61

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.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Illori

in this case it is not related to a language string or file.

nicepraveen


nicepraveen

Any help?

no mod installed related to avatar.

d3vcho

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

Regards :)
"Greeting Death as an old friend, they departed this life as equals"

Illori

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.

d3vcho

But that line includes: "$modSettings['custom_avatar_url']". Also line 1218...

Regards :)
"Greeting Death as an old friend, they departed this life as equals"

nicepraveen

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


Illori

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.

Illori

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.


Advertisement: