vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Avatar problem after upgrade (https://vborg.vbsupport.ru/showthread.php?t=304435)

gamerzhut 11-12-2013 12:36 PM

Avatar problem after upgrade
 
I have the exact situation as posted on this thread.

Quote:

Hey! I have found that my avatars pics don't work. And the reason is that the database has changed id number on them in the database...

For example, if a member avatar is like this (according to the database):
/forum/customavatars/avatar11693_7.gif
the actual file on the server is:
/forum/customavatars/avatar11693_6.gif

How come this have happened? I did an upgrade from 3.0.3 to 3.5.4. No problems anywhere.

Moved files from file system to database. Then back.
Allthough when I first moved the file system I did it before actually moving the customavatars dir from the old installation dir.

Can this have caused the problem?

Thing is the profile pictures work...

If it did... is there anything I can do to get around the problem? I really don't want to import the database again. I have over a million posts.. and it took 5 hours to import. Don't want to do it again...

Thanks! I hope there's a way!
Also the same user has posted that this issue can be fixed by an sql query, so can one one hook me with that query.

Quote:

Well I managed to fix it.

I ran a query on the avatarrevision field in the user-table. I reduced the current number by one and it magically solved my problems.

Thanks much.

gamerzhut 11-13-2013 04:38 PM

Bump.

Let me know if this is possible or not.

Lynne 11-13-2013 05:53 PM

<a href="http://www.vbulletin.com/forum/forum/vbulletin-3-8/vbulletin-3-8-questions-problems-and-troubleshooting/304528-reupload-avatar-issues" target="_blank">http://www.vbulletin.com/forum/forum...-avatar-issues</a>


All times are GMT. The time now is 09:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00977 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete