Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2005, 12:02 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default strange error - 3.0.6/vbacmps

Hello,
Since I have upgraded to 3.0.6, several of my members recieve this now when they try to upload an image directly from their PC :

Quote:
POST requests from foreign hosts are not allowed.
What is causing this? I can still upload images just fine from my pc, so I am not able to see the problem itself. But this is the 3rd person that has sent me this same error since I upgraded.

The fix for this error at vBulletin.com was as follows:

Well i downloaded 3.0.6 12 hours ago... and its not working....
The init.php even says "vBulletin 3.0.6"

I found the bug now!

You use "www" in the preg_replace on http_host

PHP Code:
$http_host preg_replace('#^www\.#i'''$http_host); 
and since my forum is on "forum.site.com" it didnt work. I changed it to "forum" instead

PHP Code:
$http_host preg_replace('#^forum\.#i'''$http_host); 
and now it works. My vbindex is running on www .site.com

then this appeared:

Quote:
Excellent. Is there a way to make it www AND forum if I wanted it to? This should resolve my problem then as well.
Response:

Try

PHP Code:
$http_host preg_replace('#^(forum|www)\.#i'''$http_host); 
Now my problem is a bit different. I am running vbadvancedcmps and the forums both from the root directory. How would I implement that suggestion when they are both in the same folder? My cmps is named index.php and the forums are called forumhome.php. Any ideas?

This error also appears for those same members when they try to use the quick edit hack. This is bizarre as the occurances seem to be isolated, but they experience the same error by performing the same tasks. I don't see these errors, and neither does 99% of my members. I could use some of your wisdom with the code to guide me to an explanation as I am baffled.
Reply With Quote
  #2  
Old 02-14-2005, 02:26 PM
alderwazeh alderwazeh is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to VBadvanced forum ...they have been descusing this problem before...you will find the answer there relating to domain and subdomain installation..I have seen this error massage reported their .. sorry this is what I remember for now..good luck
Reply With Quote
Reply


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 05:38 AM.


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.03251 seconds
  • Memory Usage 2,172KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete