Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Ed2 on September 27, 2017, 08:59:08 PM

Title: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 27, 2017, 08:59:08 PM
RE: Godaddy C-Panel upgrade swap

Ran the repair tool in my forum:  www.RustyBowtie.com but avatars still won't display - images still show the "paper clip" and won't open.  The repair settings corrected a few files but the image problem still exists.

Any ideas? We can reload new avatars and images...just can't open the previous items....

Thanks


Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: br360 on September 27, 2017, 09:23:00 PM
I can see your avatars just fine. Can you do a hard refresh (ctrl and f5 keys at the same time) and see if that helps.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 27, 2017, 09:56:41 PM
The guys have been re-installing the avatars...my avatar EDNY doesn't load and for example this post's (images)don't appear.

http://rustybowtie.com/index.php?topic=120.0


I may have to turn on the permission for non members to view.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: br360 on September 27, 2017, 10:00:30 PM
Is there a difference in avatars showing that are uploaded or those that are added via an external link?
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: shawnb61 on September 27, 2017, 10:08:15 PM
Very similar recent thread recently that may help:
https://www.simplemachines.org/community/index.php?topic=556128.msg3941425#msg3941425

Several possible causes are explored there...
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 27, 2017, 10:10:31 PM
Just did a avatar/file maintenance and got this message (jpg) just "canceled" for now:
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 27, 2017, 10:35:32 PM
Quote from: Ed2 on September 27, 2017, 10:10:31 PM
Just did a avatar/file maintenance and got this message (jpg) just "canceled" for now:

Should I run the repair option?
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Sir Osis of Liver on September 27, 2017, 11:04:49 PM
Look in avatar and attachment settings, you may have to manually fix paths.

You have a topic running in 1.1 support, is that a different forum?
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 27, 2017, 11:31:57 PM
Quote from: Sir Osis of Liver on September 27, 2017, 11:04:49 PM
Look in avatar and attachment settings, you may have to manually fix paths.

You have a topic running in 1.1 support, is that a different forum?

Yes different forum and SMF 1.1
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 07:29:54 AM
Quote from: shawnb61 on September 27, 2017, 10:08:15 PM
Very similar recent thread recently that may help:
https://www.simplemachines.org/community/index.php?topic=556128.msg3941425#msg3941425

Several possible causes are explored there...

Most of these threads deal with avatars (that can be re-installed)...I'm concerned specifically with image attachments since this forum is more of a reference site.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 07:35:53 AM
Quote from: Sir Osis of Liver on September 27, 2017, 11:04:49 PM
Look in avatar and attachment settings, you may have to manually fix paths.


This makes sense but my rookie problem is I don't know where to look for the images. Can change the path but don't know where to point the change.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 07:36:11 AM
if you download of one the avatars from the attachments folder, does it open in a picture viewer on your computer? it should be able to be opened even though it has no file extension.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 07:52:46 AM
Quote from: Illori on September 28, 2017, 07:36:11 AM
if you download of one the avatars from the attachments folder, does it open in a picture viewer on your computer? it should be able to be opened even though it has no file extension.

Think I know what you mean..if you don't mind I'll PM you my avatar link
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 07:56:51 AM
that is not what i asked you to do. that link is not even to a folder. and do not PM me unless i ask you to do so.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 08:14:42 AM
Quote from: Illori on September 28, 2017, 07:56:51 AM
that is not what i asked you to do. that link is not even to a folder. and do not PM me unless i ask you to do so.

Sorry about that..the files don't open just a blank (black) screen.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 08:30:07 AM
a folder is on your server, that was the URL to the avatar as SMF sees it, you need to locate the attachment FOLDER and see if you can open the images.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 12:38:16 PM
Quote from: Illori on September 28, 2017, 08:30:07 AM
a folder is on your server, that was the URL to the avatar as SMF sees it, you need to locate the attachment FOLDER and see if you can open the images.

OK ..Looks like the images never copied from the Linux server to C-Panel. Can't do it right now but will search the old server tonight.  Thanks
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 01:15:11 PM
Can you tell me where the images are typically stored (ie maybe database folder?). 
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 01:16:11 PM
the attachments folder as mentioned above.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Sir Osis of Liver on September 28, 2017, 03:19:34 PM
Attachments are files and have nothing to do with database.  They're stored in /attachments directory in forum root.  File names are hashed with no extension, look like this -

120_c0b15c29d139851a49121a691c7fc5c25ae0a605

If you upload/download them with FileZilla, you must set transfer type to binary.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 04:00:26 PM
Quote from: Sir Osis of Liver on September 28, 2017, 03:19:34 PM
Attachments are files and have nothing to do with database.  They're stored in /attachments directory in forum root.  File names are hashed with no extension, look like this -

120_c0b15c29d139851a49121a691c7fc5c25ae0a605

If you upload/download them with FileZilla, you must set transfer type to binary.

Thanks...a little over my head but will pass this on to my helper.  That format looks familiar to me, we are using Godaddy C-Panel via File Manager. May not be able to work on it tonight...
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 05:17:17 PM
Quote from: Sir Osis of Liver on September 28, 2017, 03:19:34 PM
Attachments are files and have nothing to do with database.  They're stored in /attachments directory in forum root.  File names are hashed with no extension, look like this -

120_c0b15c29d139851a49121a691c7fc5c25ae0a605

If you upload/download them with FileZilla, you must set transfer type to binary.

Just sinking in ::)...so I'm not looking for .jpg, .png .bmp files when seeking the previously attached photos.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 05:56:29 PM
no you are not.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Sir Osis of Liver on September 28, 2017, 06:18:47 PM
File names are hashed for security reasons.  How exactly was the forum moved?
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 06:32:55 PM
Quote from: Sir Osis of Liver on September 28, 2017, 06:18:47 PM
File names are hashed for security reasons.  How exactly was the forum moved?

My daughter moved it for me, waiting for her response as to the procedure (we live approx 2K miles apart).  Can tell you that the move was all accomplished within Godaddy. Upgraded from the Deluxe Linux Hosting to C-Panel Hosting. 

Can I safely attach a screen shot from the "attachment" folder  just so you can verify that I'm in the correct folder, or are folder names etc a concern?
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Illori on September 28, 2017, 06:38:15 PM
as long as the folder name is attachments you are in the correct folder. SMF by default only uses that folder name for this purpose unless you configure more then one attachment folder.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on September 28, 2017, 06:51:08 PM
Quote from: Illori on September 28, 2017, 06:38:15 PM
as long as the folder name is attachments you are in the correct folder. SMF by default only uses that folder name for this purpose unless you configure more then one attachment folder.

Thanks folks...I'm a little more at ease now that I know the attachments are most likely there...just not being pointed to correctly.  Will work on it as time allows.  Thanks again.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on October 03, 2017, 07:39:08 PM
OK Over the last couple of days we reloaded the ATTACHMENT folders from the previous server (Linux Deluxe Hosting - Godaddy) to the Attachment Folder in the new C-Panel upgrade (Godaddy also). Still won't open pre-upgrade pictures or avatars. The coded pictures are there in the Attachments Folder..."screenshot" attached.

* When I run the attachment/avatar utility within www.RustyBowtie.com it shows ERRORS and asks if I want SMF to fix the
  problem, haven't done that yet. (screenshot also attached) Should I?

* FYI: Any new images or avatars work fine...just can't get the transferred images/avatars to open in the C-Panel hostings. If
   we transfer it back to the old Linux Deluxe Hosting ...images/avatars work 100%?

* This forum is running under SMF 2.0.14  BUT "Having the EXACT same issue in my SMF 1.1.21 forum" www.3500hd.com

Thanks



Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Kindred on October 03, 2017, 10:51:21 PM
How did you reload the files?  If you used an ftp program, there is a chance that files got corrupted because of the no extension
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on October 03, 2017, 11:16:48 PM
Quote from: Kindred on October 03, 2017, 10:51:21 PM
How did you reload the files?  If you used an ftp program, there is a chance that files got corrupted because of the no extension

Not sure how my daughter did the transfer...but we have gone back and forth from Linux to C-Panel several times and the forum  always works back in the Linux Deluxe Hosting but not C-Panel. As mentioned the problems exits in both SMF forum versions.
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on October 03, 2017, 11:27:38 PM
Found this topic, post #15 outlines a fix for that forum problem, could this be an issue?

https://www.simplemachines.org/community/index.php?topic=542322.msg3854456#msg3854456
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Kindred on October 04, 2017, 12:07:12 AM
if your daughter used an ftp program, then that might be the cause. the solution is to go back to the old host and set your FTP program to default to BINARY transfer method - get the files again and re-upload them again
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on October 04, 2017, 03:01:28 PM
Quote from: Kindred on October 04, 2017, 12:07:12 AM
if your daughter used an ftp program, then that might be the cause. the solution is to go back to the old host and set your FTP program to default to BINARY transfer method - get the files again and re-upload them again

Thanks..will try that tonight..
Title: Re: Ran Repair Settings tool - still no avatars or old posted images
Post by: Ed2 on October 07, 2017, 08:48:05 PM
Alright, sorry for the delay. Was able fix the photos on the one site...transferred files as suggested with Binary - worked on the SMF 2.0.14 version. Only thing still missing are the avatars. But good news, all the older photos are back.

However the other one is still not fixed. Did the same steps transferring the files with Binary, but nothing is happening. I went in the the file manager > attachment folder and unable to open them with preview. This site is running on 1.1.21 version...should that make any difference?