vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   newreply.php being called from wrong location (https://vborg.vbsupport.ru/showthread.php?t=308881)

exploringnh 02-25-2014 04:08 PM

newreply.php being called from wrong location
 
When users try to submit a post via Quick Reply before it has had a chance to Auto-save they are met with a popup asking to confirm navigation away from the page and all changes made in the editor will be lost.

Plugins and hooks are disabled.

I have narrowed down the problem to the newreply.php script being called from the wrong location.

It is being called from:
example.com/forums/forums/newreply.php?do=postreply&t=25885
and it should be coming from
example.com/forums/newreply.php?do=postreply&t=25885
(notice extra "forums" in the first URL)

vBulletin is installed in the root directory.
vBulletin Options > Site Name URL Contact > Forum Component URL
is set to forums to allow the forums to reside on example.com/forums

Everything seems to be working correctly except for this one script. All templates are un-modified. How can I change this? Where does that call come from?

Lynne 02-25-2014 04:24 PM

Do you use stub directories? When you last upgraded, did you make sure to upgrade the stub directories also?

In AdminCP > Settings > Options > Site Name/URL/etc, which of the Component URLs did you fill out (Forum, CMS, Blog)? And are any of them the same as your Forum URL? And if you filled out the textarea, did you upload a stub directory for it?

exploringnh 02-25-2014 04:27 PM

yes to stub directories. stub directory was uploaded to example.com/forums . Everything from do_not_upload/forum was uploaded to that directory.

Blog and CMS components left blank. Only forums component was changed and was changed to "forums" - without the quotes.

Always use Forum URL as Base Path is set to YES.

Forum URL is set to http://example.com , no trailing slash, no www.

--------------- Added [DATE]1393363843[/DATE] at [TIME]1393363843[/TIME] ---------------

Disabling problematic AJAX functions fixes the problem, however I would like to keep the AJAX functionality. Is there a way around this?


All times are GMT. The time now is 07:55 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.00944 seconds
  • Memory Usage 1,714KB
  • 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)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