1

Topic: Problem with editing the profile

Hello.

I got problem with my forum, users and me, when we want to edit something in profile it redirect the from forum to main site and show :
Not Found

It takes time when i want to change in the profile , the Profile menu ( so it is about profile.php).

I don't know what is going on, please help me.

2 (edited by StevenBullen 2006-07-03 11:33)

Re: Problem with editing the profile

You have a problem with your profile menu. All the links are simliar to this...

but should be like this

So you have manually (I guess) edited a file and put in the directory 'arch/' scan back over your latest changes and you should find fix.

3

Re: Problem with editing the profile

It makes a code like this: http://guistyles.com/forum/arch/profile … l&id=2
And error that not found sad

Re: Problem with editing the profile

because its aiming at wrong directory... where have you put in arch?

5 (edited by StevenBullen 2006-07-03 11:39)

Re: Problem with editing the profile

Go to... functions.php and look for this...

//
// Display the profile navigation menu
//

Make sure the code is ok... in other words...check if any words added. i.e. the arch directory

6 (edited by coxis 2006-07-03 11:46)

Re: Problem with editing the profile

Yee the code is:

<code>

//
// Display the profile navigation menu
//
function generate_profile_menu($page = '')
{
    global $lang_profile, $pun_config, $pun_user, $id;

?>
<div id="profile" class="block2col">
    <div class="blockmenu">
        <h2><span><?php echo $lang_profile['Profile menu'] ?></span></h2>
        <div class="box">
            <div class="inbox">
                <ul>
                    <li<?php if ($page == 'essentials') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=essentials&id=<?php echo $id ?>"><?php echo $lang_profile['Section essentials'] ?></a></li>
                    <li<?php if ($page == 'personal') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=personal&id=<?php echo $id ?>"><?php echo $lang_profile['Section personal'] ?></a></li>
                    <li<?php if ($page == 'messaging') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=messaging&id=<?php echo $id ?>"><?php echo $lang_profile['Section messaging'] ?></a></li>
                    <li<?php if ($page == 'personality') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=personality&id=<?php echo $id ?>"><?php echo $lang_profile['Section personality'] ?></a></li>
                    <li<?php if ($page == 'display') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=display&id=<?php echo $id ?>"><?php echo $lang_profile['Section display'] ?></a></li>
                    <li<?php if ($page == 'privacy') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=privacy&id=<?php echo $id ?>"><?php echo $lang_profile['Section privacy'] ?></a></li>
<?php if ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_ban_users'] == '1')): ?>                    <li<?php if ($page == 'admin') echo ' class="isactive"'; ?>><a href="arch/profile.php?section=admin&id=<?php echo $id ?>"><?php echo $lang_profile['Section admin'] ?></a></li>
<?php endif; ?>                </ul>
            </div>
        </div>
    </div>
<?php

}

</code>

7 (edited by StevenBullen 2006-07-03 11:49)

Re: Problem with editing the profile

Exactly... take out all the arch/

How did it get there as well????

Here you go wrote:

<code>

//
// Display the profile navigation menu
//
function generate_profile_menu($page = '')
{
    global $lang_profile, $pun_config, $pun_user, $id;

?>
<div id="profile" class="block2col">
    <div class="blockmenu">
        <h2><span><?php echo $lang_profile['Profile menu'] ?></span></h2>
        <div class="box">
            <div class="inbox">
                <ul>
                    <li<?php if ($page == 'essentials') echo ' class="isactive"'; ?>><a href="profile.php?section=essentials&id=<?php echo $id ?>"><?php echo $lang_profile['Section essentials'] ?></a></li>
                    <li<?php if ($page == 'personal') echo ' class="isactive"'; ?>><a href="profile.php?section=personal&id=<?php echo $id ?>"><?php echo $lang_profile['Section personal'] ?></a></li>
                    <li<?php if ($page == 'messaging') echo ' class="isactive"'; ?>><a href="profile.php?section=messaging&id=<?php echo $id ?>"><?php echo $lang_profile['Section messaging'] ?></a></li>
                    <li<?php if ($page == 'personality') echo ' class="isactive"'; ?>><a href="profile.php?section=personality&id=<?php echo $id ?>"><?php echo $lang_profile['Section personality'] ?></a></li>
                    <li<?php if ($page == 'display') echo ' class="isactive"'; ?>><a href="profile.php?section=display&id=<?php echo $id ?>"><?php echo $lang_profile['Section display'] ?></a></li>
                    <li<?php if ($page == 'privacy') echo ' class="isactive"'; ?>><a href="profile.php?section=privacy&id=<?php echo $id ?>"><?php echo $lang_profile['Section privacy'] ?></a></li>
<?php if ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_ban_users'] == '1')): ?>                    <li<?php if ($page == 'admin') echo ' class="isactive"'; ?>><a href="profile.php?section=admin&id=<?php echo $id ?>"><?php echo $lang_profile['Section admin'] ?></a></li>
<?php endif; ?>                </ul>
            </div>
        </div>
    </div>
<?php

}

</code>

8

Re: Problem with editing the profile

Well that is the case i don't know.
The only explanation is the plugins that i must installed, maybe it changes it.

9 (edited by StevenBullen 2006-07-03 11:52)

Re: Problem with editing the profile

coxis wrote:

Well that is the case i don't know.
The only explanation is the plugins that i must installed, maybe it changes it.

I may be wrong, but nothing can physicaly change it.

Oh well... no worries now. smile
All fixed I see!