Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-28-2020, 08:43 AM
SC3 SC3 is offline
 
Join Date: Aug 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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"
Reply With Quote
  #2  
Old 10-28-2020, 01:01 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-28-2020, 06:16 PM
SC3 SC3 is offline
 
Join Date: Aug 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmaz View Post
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.
Reply With Quote
Благодарность от:
yilmaz
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03811 seconds
  • Memory Usage 2,192KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (1)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete