This is an old one that pops up once in a while, but I have finally narrowed down when/what is happening.
If moving a forum (or building a test copy, etc.), and all new settings are required, you will go thru the normal 2-step repair_settings process: First time thru, db credentials are entered & corrected. Second time thru, all the other urls & folders are set.
But... First time thru, when correcting the new db credentials, attachmentUploadDir is empty after you press SAVE. Something about that first pass wipes out the attachment folder setting for some reason.
Possibly related to #41 .
This affects both 2.0 & 2.1.
To reproduce in 2.0 or 2.1:
Start with a fully working forum
Using an editor, make the db credentials invalid somehow (to emulate a server move), e.g., modify the dbname or password in Settings.php
Bring up repair_settings.php; it will prompt you to correct the db credentials
Correct them & press SAVE
You will now see that the attachmentUploadDir field in the settings table is empty.
This is an old one that pops up once in a while, but I have finally narrowed down when/what is happening.
If moving a forum (or building a test copy, etc.), and all new settings are required, you will go thru the normal 2-step repair_settings process: First time thru, db credentials are entered & corrected. Second time thru, all the other urls & folders are set.
But... First time thru, when correcting the new db credentials, attachmentUploadDir is empty after you press SAVE. Something about that first pass wipes out the attachment folder setting for some reason.
Possibly related to #41 .
This affects both 2.0 & 2.1.
To reproduce in 2.0 or 2.1:
You will now see that the attachmentUploadDir field in the settings table is empty.