PDA

View Full Version : problem with change password (profile.php)


Riccardo
09-14-2008, 05:15 AM
Hi all,
i have a problem with the change password .

I've imposted 180 days for change my account password in vBulletin 3.73 pl1 , but if in the "change day" i try to change my password from vba cmpa 3.0.1 http://www.myforum.com/profile.php a forbidden error is showed .

If i put my profile.php file in the main directory (www.myforum.com) another error is showed:
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/rick79/public_html/profile.php on line 141

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myforum/public_html/profile.php on line 141

AnyBody know the solution for allow to change the password from vba?

Brian
09-15-2008, 11:12 AM
Thank you for pointing this out. If you will edit your 'vBa CMPS - Error Replacements' plugin through the Admin CP, find this code:
$forumjump = str_replace('"forumdisplay.php', '"' . $vbulletin->options['bburl'] . '/forumdisplay.php', $forumjump);

And add this right Above it:
$errormessage = str_replace('"profile.php', '"' . $vbulletin->options['bburl'] . '/profile.php', $errormessage);

Then that should take care of the issue.

Our Sponsors
 

Riccardo
09-15-2008, 04:16 PM
Thanks for the reply but i don't understand where is the 'CMPS Error Replacement' ,

can you explain me?

Brian
09-16-2008, 12:51 PM
Admin CP => Plugins & Products => Plugin Manager => vBa CMPS - Error Replacements

Our Sponsors
 

Riccardo
10-22-2008, 05:42 PM
Hi,
i have added your code , but again,
if i try to access in my profile from this link:
http://www.myforum.com/profile.php

a not found error is showed.....

in my main directory the file profile.php not exist , is all ok?