PDA

View Full Version : Attachment issue


SC3
10-28-2020, 08:43 AM
Hi,

I've moved to a new server, and I can't attach images to posts.
The test image upload in the admincp works without a hitch (no errors reported).

I can't see anything in my error logs, but my access logs are showing a bunch of GET 404's after the initial post (which returns 200)

do you think the below 404's could be causing an issue?

Here is the relevant part from the access.log


115.xxx.xxx.xxx - - [28/Oct/2020:09:40:24 +0000] "POST /newattachment.php HTTP/1.1" 500 4982840 "https://www.domainredacted.com.au/newattachment.php?do=assetmanager&values[t]=65993&contenttypeid=1&poststarttime=1603876061&posthash=5a25b5fc890505725ec3bc727a2f1740&insertinline=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumhome-rollup.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$mobi_dir.'/forum_icons/tapatalk-online.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$protocol.'//emoji.tapatalk-cdn.com/emoji$1.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$vbulletin-%3Estylevars['imgdir_misc']['imagedir'].'/forum_stats.png HTTP/1.1" 404 1052 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumhome-rollup.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$protocol.'//emoji.tapatalk-cdn.com/emoji$1.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$mobi_dir.'/forum_icons/tapatalk-online.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$vbulletin-%3Estylevars['imgdir_misc']['imagedir'].'/forum_stats.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumhome-rollup.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$mobi_dir.'/forum_icons/tapatalk-online.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$vbulletin-%3Estylevars['imgdir_misc']['imagedir'].'/forum_stats.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$protocol.'//emoji.tapatalk-cdn.com/emoji$1.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumhome-rollup.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$mobi_dir.'/forum_icons/tapatalk-online.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$protocol.'//emoji.tapatalk-cdn.com/emoji$1.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$vbulletin-%3Estylevars['imgdir_misc']['imagedir'].'/forum_stats.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumhome-rollup.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'%20.%20$vbcsspath%20.%20/'forumbits.css,forumhome.css,widgets.css,sidebar.c ss,options.css,tagcloud.css HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$mobi_dir.'/forum_icons/tapatalk-online.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$vbulletin-%3Estylevars['imgdir_misc']['imagedir'].'/forum_stats.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
115.xxx.xxx.xxx - - [28/Oct/2020:09:40:26 +0000] "GET /'.$protocol.'//emoji.tapatalk-cdn.com/emoji$1.png HTTP/1.1" 404 520 "https://www.domainredacted.com.au/newattachment.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"

yilmaz
10-28-2020, 01:01 PM
Attachments are currently stored in the database or are currently served from the file system?

If it is from the file system. You need to set the full path where the files are stored.
your-website.ext/admincp/attachment.php?do=switchtype

SC3
10-28-2020, 06:16 PM
Attachments are currently stored in the database or are currently served from the file system?

If it is from the file system. You need to set the full path where the files are stored.
your-website.ext/admincp/attachment.php?do=switchtype

Thanks!
I was looking in the "settings" section, rather than the "attachments" section in the admincp.
It looks like it I missed one symlink.

All fixed now, you're a champ.