Skip to content

trouble no userpics

Violet edited this page Nov 12, 2010 · 2 revisions

None of My Users Have Userpics

...and I just upgraded from MT4 to Melody.

  • If you were using the core Profile Avatar feature, first confirm that users have avatars assigned:

    mysql> select author_id, author_name, author_userpic_asset_id from mt_author where author_userpic_asset_id > 0 limit 20;
    
  • Then, pick one of those author_userpic_asset_ids (say id=n) and find out its original URL:

    mysql> select asset_id, asset_url from mt_asset where asset_id=n;
    
  • Replace the %s in the asset_url value with the url to the mt-static directory (ex: http://www.mysite.com/mt/mt-static) and confirm that your file is there. If the originally uploaded avatar isn't on the server in the current mt-static directory, thumbnailed avatars will NOT be created in support/assets_c/userpics.

  • This is a silent error upon upgrade: COPY ALL OF YOUR mt-static/support FILES TO YOUR LIVE INSTANCE just after upgrade.

...for some other reason

  1. Do you have ImageMagick or NetPBM installed?

 


Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.

Credits

  • Author: Six Apart Ltd., Byrne Reese
  • Edited by: Violet Bliss Dietz
Clone this wiki locally