vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Expired password problem (https://vborg.vbsupport.ru/showthread.php?t=190352)

pigal 09-08-2008 03:29 PM

Expired password problem
 
Activating the option to expire pwd and entering as a user get the message vBulletin page where you described this: password expired as used by 180 days, but all the links that gives me to restore it are wrong because the url 'is without /vbulletin/, then the link is http://www.mysite.com/profile.php?do=editpassword instead of the right http://www.mysite.com/vbulletin/prof...o=editpassword .

Seems a problem of redirecting, but I don't know where!

Opserty 09-08-2008 03:30 PM

Check the settings in your vBulletin Options for the Site URL make sure they have all been set correctly.

pigal 09-08-2008 03:48 PM

Umm, all others redirecting are ok, only this.
I've changed the option Url forum and Url Index in http://www.mysite.com/vbulletin, but the problem remain. :(

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

In vbulletin-style.xml on line 24944:

<noscript>
<meta http-equiv="Refresh" content="2; URL=$url" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
window.status = "$vbphrase[redirecting]" + myvar;
myvar = myvar + " .";
var timerID = setTimeout("exec_refresh();", 100);
if (timeout > 0)
{
timeout -= 1;
}
else
{
clearTimeout(timerID);
window.status = "";
window.location = "$js_url";
}
}

var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>

The address $url e $js_url are ok, in all others cases, admincp redirecting too, but in case of a notice of passwords expired, it redirects at root of the site.

It seems to me a structural problem, (a bug).

Marco van Herwaarden 09-09-2008 06:28 AM

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

pigal 09-16-2008 09:28 AM

Hi Marco, nothing to do, the error remain in wrong redirection, I've manual changed vbulletin-style.xml in this part, STANDARD_REDIRECT:

from
Quote:

In vbulletin-style.xml on line 24944:

<noscript>
<meta http-equiv="Refresh" content="2; URL=$url" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
window.status = "$vbphrase[redirecting]" + myvar;
myvar = myvar + " .";
var timerID = setTimeout("exec_refresh();", 100);
if (timeout > 0)
{
timeout -= 1;
}
else
{
clearTimeout(timerID);
window.status = "";
window.location = "$js_url";
}
}

var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>
changed to
Quote:

In vbulletin-style.xml on line 24944:

<noscript>
<meta http-equiv="Refresh" content="2; URL=http://test.mysite.com/vbulletin/" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
window.status = "$vbphrase[redirecting]" + myvar;
myvar = myvar + " .";
var timerID = setTimeout("exec_refresh();", 100);
if (timeout > 0)
{
timeout -= 1;
}
else
{
clearTimeout(timerID);
window.status = "";
window.location = "http://test.mysite.com/vbulletin/";
}
}

var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>
Now work, but I consider that not is good patch.

Marco van Herwaarden 09-23-2008 04:25 PM

You might want to address this in a ticket on vB.com, i have never seen this link wrong with the correct Forum URL set and using the default package.


All times are GMT. The time now is 05:28 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.01013 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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