Log in

View Full Version : user.php


KURTZ
09-09-2008, 02:18 PM
hey folks, i've a trouble ... when i try to moderate a new user from my notification box i've got this error:

Not Found
The requested URL /board//user.php?do=moderate was not found on this server.

i think there is an error into the url ... but i don't found how i can fix this trouble ... someone can help me?


edit: the correct path must be this: /admincp/user.php?do=moderate

TIA

Quarterbore
09-09-2008, 03:11 PM
What do you have set in your config.php file for the following: ;)

// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
// This setting allows you to change the name of the folders that the admin and
// moderator control panels reside in. You may wish to do this for security purposes.
// Please note that if you change the name of the directory here, you will still need
// to manually change the name of the directory on the server.
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';

You didn't say what version you are using and the code I posed is from one of my dev sites using a 3.6.x version.

KURTZ
09-09-2008, 03:22 PM
i'm sorry you're right ... i'm using the 3.7.3 PL1 version ... :)

anyway i've the default settings for these paths ...

$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';

Lynne
09-09-2008, 03:31 PM
This is from the cpnav_vbulletin.xml file:

<navoption displayorder="40">
<phrase>moderate_events</phrase>
<link>../{$vbulletin->config[Misc][modcpdir]}/moderate.php?do=events</link>
</navoption>

<navoption displayorder="60">
<phrase>moderate_users</phrase>
<link>user.php?do=moderate</link>
</navoption>
I think maybe they forgot the modcpdir directory for that link. Maybe report it as a bug? Or look to see if it's already been reported.

KURTZ
09-09-2008, 03:43 PM
yes Lynne thx :) i've already opened a bug ...

however i found a solution but i don't know what is the trouble ...

https://vborg.vbsupport.ru/showthread.php?p=1618285#post1618285