Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2004
Posts: 86
QSS Tim Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2004
Posts: 86
I was going through the control panel to find how to turn off the image resizing and in the same vicinity I noticed that my path for Attachment Storage Directory is munged in the display. (Found under Control Panel -> Feature Settings -> Attachements -> Attachment Storage Directory)

If the path should be "I:\Inetpub\webroot\forums\attachments" it displays as "I:Inetpubwebrootforumsattachments". If I change it to "I:\Inetpub\webroot\forums\attachments", test directory with good results and save it, it refreshes and displays again as "I:\Inetpub\webroot\forums\attachments".

I'm assuming it's saving right (or was unmolested in the upgrade) or else I would have had calls already on the uploads not working.

Thanks,
Tim


UBB Since November 07, 2000.
Joined: Dec 2003
Posts: 6,214
Likes: 32
Online Yawn
Joined: Dec 2003
Posts: 6,214
Likes: 32
The only surefire way is to test a attachment post or find one that was posted after you corrected it. And verify it is indeed in the correct folder.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2004
Posts: 86
QSS Tim Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2004
Posts: 86
Actually, I checked in config.inc.php and discovered that the ATTACHEMENTS_PATH did have the "stripped" value. I tried to give it escaped slashes (e.g. "\\") and it didn't like that. So, I changed them to forward slashes (e.g. "/") and it seems to work as expected now. They even show up fine in the control panel now, although I've not tried to change them there again as in the brief time that I had changed it, it generated support issues as people's uploads were not occuring.

On that note, I got calls that downloads were failing (people upload screnshots for support purposes.) With the bad path, it appeared to the end users that the uploads were working fine. Meaning, they weren't being made aware that their file didn't really upload. It was obvious that it failed though when someone visited the post to assist, and the download couldn't be found. I can see a gap in numbers in the attachment directory during the time that the uploads didn't work (e.g. the files went from 4510.png to 4522.pdf, with nothing inbetween but "test.file".)

Thanks,
Tim


UBB Since November 07, 2000.

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Individual Post Count Adjustments?
by FREAK - 09/25/2020 11:17 PM
Like unlike bug?
by Morgan - 09/24/2020 5:03 PM
looking to renew :)
by Mors - 09/23/2020 7:52 PM
test
by Mors - 09/23/2020 7:51 PM
What triggers page view numbers
by Morgan - 09/21/2020 10:31 AM
Who's Online Now
4 members (Gizmo, Mors, Ruben, 1 invisible), 74 guests, and 57 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200925)