Advertisement:

Author Topic: Attachment Pictures Not Always Visible  (Read 2395 times)

Offline Cheese Head

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
    • www.CheeseForum.org
Attachment Pictures Not Always Visible
« on: April 13, 2008, 11:26:04 AM »
My forum is still young with few posts, I posted a few pictures as attachments in SMF 1.1 and problem where sometimes they would be visible and other times just the broken link box (small red X in top left corner of outline where the picture should be. The missing picture appeared to be random, sometime there, sometimes not. I tried repair_settings.php a couple of times but didn't seem to fix it so I just upgraded to SMF 2 beta 3 and still have the same problem at www.CheeseForum.org.

I did have a screw up where I renamed my root forum folder to Folder on mt workstation, SMF wasn't happy so I renamed back, but saw on server that I had two folders forum and Forum so I deleted Forum, maybe the indexer/database of attachments got confused?

Any advice is appreciated, thanks, John.

Offline Fiery

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,221
  • Gender: Male
  • Community Builder
Re: Attachment Pictures Not Always Visible
« Reply #1 on: April 18, 2008, 01:33:48 AM »
Hello,

Did you try running repair_settings.php after you upgraded and ran into those issues?

Offline Cheese Head

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
    • www.CheeseForum.org
Re: Attachment Pictures Not Always Visible
« Reply #2 on: April 27, 2008, 08:55:19 AM »
Yes I ran repair_settings.php after upgrading to SMF beta 2, things have subsequently settled down and picture attachments ar all visible, thanks anyway, John.

Offline Cheese Head

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
    • www.CheeseForum.org
Re: Attachment Pictures Not Always Visible
« Reply #3 on: May 02, 2008, 05:54:27 PM »
Eek I was wrong, older attachments still not visable.

Looked on server in public_html / forum / attachments and the pictures are not there and the list starts with 132, older 131 attachments all gone!!!

Finally clued in to the problem, from an Administrator Account go Menu > Admin > Forum > Attachments & Avatars > Attachment Settings and check the Max attachment folder space setting. Mine was set at 5000 kb, ie 5 MB. Thus as Members were adding new attachments, SMF 2.0 was automatically deleting older ones, in my case 131 of them. Duh!

I've set mine to recommeded 0 (no limit) and will have to watch my host server file space somehow to see how much and rate of harddisk consumption I'm using.
« Last Edit: May 07, 2008, 10:36:10 PM by Cheese Head »