I have probblems with attached pics after I move on another server

Started by mih02k, May 12, 2009, 02:38:28 AM

Previous topic - Next topic

Arantor

Hmm, this sounds like the attachments directory path is incorrect.

Try using repair_settings.php - What is repair_settings.php?

SallyM

I tried the repair_settings.php back at the beginning. All seemed fine.

I have quadruple checked the path but really, I figured it couldn't that given that some of the attachments are working.

青山 素子

Two things I can think of:


  • If you downloaded via FTP, you didn't get all the files. I had this happen to me recently when moving a client's website off BlueHost. Their FTP server wouldn't show me all the files in a directory, so I didn't get overt 2,000 files that were there. Luckily, I was able to use an alternate method to get it working.
  • Try transferring all files again in binary mode both for download and upload. This will make sure your FTP client doesn't guess wrongly.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


SallyM


Hi Motoka-Chan,

Something is a bit odd for numbers of attachments. According to Admin > Attachments and Avatars > Browse Files :

Original Site:

1488 attachments
65 Avatars
3217 thumbs
4770 total

I can physically see 1998 on the server.

Play site:

1366 attachments
63 avatars
3112 thumbs
4541 total

I can physically see 1938 on the server.


Point though. Some that I've checked which I'm getting 404 on I can see on the play site server.

I did the transfer, download and upload in binary up there a bit (comment at 7:55). All 1900 odd files deleted from play site, re-downloaded from original in binary and re-uploaded in binary.






Arantor

I wouldn't worry so much about the thumbnails; that suggests you have some thumbnails from earlier, now deleted, attachments.

The fact you're still missing some is weird though, though I think you're still hitting the 2k file limit. It might be worth asking your former host if you can create a tar.gz of the directory contents.

Advertisement: