vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attachment issue (https://vborg.vbsupport.ru/showthread.php?t=328309)

SC3 10-28-2020 08:43 AM

Attachment issue
 
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

Code:

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.css,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.css,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.css,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.css,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.css,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.css,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.css,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.css,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.css,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

Quote:

Originally Posted by yilmaz (Post 2604411)
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.


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00987 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete