PDA

View Full Version : newreply.php being called from wrong location


exploringnh
02-25-2014, 04:08 PM
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 1393363843 at 1393363843 ---------------

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