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,207
Likes: 31
Online Yawn
Joined: Dec 2003
Posts: 6,207
Likes: 31
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
What triggers page view numbers
by Morgan - 09/21/2020 10:31 AM
Forum Permissions Question
by FREAK - 09/20/2020 2:13 PM
Moving UBBthreads Between Servers
by DennyP - 09/19/2020 7:55 PM
Member Log In/Password Issues
by FREAK - 09/19/2020 12:13 PM
[FIXED for 7.7.5] Broken CP Link
by JAISP - 09/17/2020 3:22 PM
Who's Online Now
4 members (Mors, Daryl Fawcett, Ruben, Gizmo), 52 guests, and 55 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200921)