Can't access users due to missing concrete_avatar.php
PermalinkWarning: require_once(/home/wlbjr/public_html/thefogbow.com/updates/concrete5.6.2.1_updater/concrete/helpers/concrete_avatar.php) [function.require-once]: failed to open stream: No such file or directory in /home/wlbjr/public_html/thefogbow.com/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.php on line 297
Fatal error: require_once() [function.require]: Failed opening required '/home/wlbjr/public_html/thefogbow.com/updates/concrete5.6.2.1_updater/concrete/helpers/concrete_avatar.php' (include_path='/home/wlbjr/public_html/thefogbow.com/libraries/3rdparty:/home/wlbjr/public_html/thefogbow.com/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/wlbjr/public_html/thefogbow.com/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.php on line 297
What's wrong and how do I fix it?

# concrete5 Version
5.6.2.1
# concrete5 Packages
Database Backup (1.0), Galleria image gallery (2.0), Lerteco Gravatar (1.0.0), Login (1.1.1), Popup Login (1.0.5), Raptorize (1.0.2), Restore Automated Jobs (1.3), Superfish (1.1.5).
# concrete5 Overrides
helpers/concrete, mail/phpmailer.php, mail/form.php, mail/email-traffics-log.php, mail/form.lib.php, mail/form-data-log.php, mail/admin.php, themes/dark_chocolate
# Server Software
Apache
# Server API
apache2handler
# PHP Version
5.3.19
# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, eAccelerator, ereg, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, SQLite, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zip, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
eaccelerator.shm_max - 0
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
I did look for the missing file. It's not there, and I'm not convinced there even IS a file named concrete_avatar.php. I found a file named avatar.php, but not concrete_avatar.php. I googled it and got no hits on concrete_avatar.php. The error message refers to line 297 of the file loader.php, but on line 297 it just says:
require_once($f1->file);
I'm afraid I'm a beginner at PHP. I'm aware that $f1 is a variable, but not what it refers to or where it's set.
Thanks for your help with this.
I just did a quick search of one of my 5.6.2.1 innstalls and could only find avatar.php - not concrfete_avatar.php (though I did not search throroughly), so it looks like you are probably correct that the file is not supposed to be there.
Edit - looks like the the developer also suggests uninstalling the addon:
http://www.concrete5.org/marketplace/addons/gravatar-add-on/forums/...
The real problem is, one of my users hasn't logged in for so long she forgot her username and password. Maybe there's some other way of retrieving that information?
grep -RFn 'concrete_avatar' *
I have a hunch there is some bit of code doing
Loader::helper('concrete_avatar');
Instead of
Loader::helper('concrete/avatar');