[Help] DL проблем

D3nKa7abg

New Member
Joined
Dec 9, 2008
Messages
66
Reaction score
0
така защо на Дл-то на версия 1.0L неможе се аддва статса в сайта дава ми Fatal error: Call to a member function on a non-object in c:\program files\easyphp1-8\www\modules\user\characters.php on line 89
? ако някой може ми каже как да оправя проблемa нека да пише :S ::(:
 
Значи пич не съм голям спец ма мисля,че това е от сайта ти.Всъщност си е баш от сайт файловете.Смени си сайта аз тука правя като нещо не върви :d. Потърси в форума за други сайтове има добри .] или в дата.бг 6те си намериш .].И успех със сервера. .]
 
1. Слави ти си на 12 години и си много тъп.
2. D3nKa7abg когато искаш помощ моля показвай къде точно е грешката в случая трябваше да ни покажеш и ред 89, знам от какво е тази грешка и няма да ти помогна докато не се научите да пускате в правилен раздел и с точно описание на проблема.
 
1. Слави ти си на 12 години и си много тъп.
2. D3nka7abg когато искаш помощ моля показвай къде точно е грешката в случая трябваше да ни покажеш и ред 89, знам от какво е тази грешка и няма да ти помогна докато не се научите да пускате в правилен раздел и с точно описание на проблема.

Е нали сте направили да се изисква потвърждение за пускането на дадена тема от модератор/администратор .. що позволявате да се пускат такива теми ?
 
Е нали сте направили да се изисква потвърждение за пускането на дадена тема от модератор/администратор .. що позволявате да се пускат такива теми ?

Бе ти нормален ли си? Аз даже нямаше да одобря темата... не знам кой го е направил.
 
ето решенията :

Modules>User>character.php

Code:
<table width="393" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="394">&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center">
        <?php 
									if (isset($_POST["newpassword"]))
	{
          require("includes/character.class.php");
          option::changepassword();
        }	
		
if (isset($_POST["reset_character"]))
    {
         require("includes/character.class.php"); 
         option::reset($_POST['reset_character']);
    }

if (isset($_POST["clearpk_character"]))
	{
            require("includes/character.class.php");
            option::clear_pk($_POST['clearpk_character']);
        }
	if (isset($_POST["stats_character"]))
	{
        require("config.php");
	$chr = stripslashes($_POST['stats_character']);
	$level_up_points = $db->Execute("Select leveluppoint,class,strength,dexterity,vitality,energy from character where name=?",array($chr));
	$level_up = $level_up_points->fetchrow();
        if($level_up[1] != 164){
echo '<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="27" ><div align="center"><fieldset><legend>Add Stats</legend>
        <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><form action="index.php?op=user" method="post" name="stats_normal" id="stats_normal">
                <div align="right">
                  <table width="200" border="0" align="center" cellpadding="2" cellspacing="2">
                    <tr>
                      <td colspan="2"><div align="center">Character '.$chr.'</div></td>
                    </tr>
                    <tr>
                      <td colspan="2"><div align="center">Level up points '.$level_up[0].'</div></td>
                    </tr>
                    <tr>
                      <td width="70"><div align="right">Strength ['.$level_up[2].']
                        </div>
                        <div align="center" class="result">
                            <div align="right"></div>
                      </div></td><td width="121"><input name="strength" type="text" class="style" id="strength" size="10" maxlength="5"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Agility ['.$level_up[3].']</div></td>
                      <td><input name="agility" type="text" class="style" id="agility" value="" size="10" maxlength="5"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Vitality ['.$level_up[4].']</div></td>
                      <td><input name="vitality" type="text" class="style" id="vitality" size="10" maxlength="5">
                      <input name="stats" type="hidden" id="stats" value="stats"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Energy ['.$level_up[5].']</div></td>
                      <td><input name="energy" type="text" class="style" id="energy" size="10" maxlength="5">
                      <input name="character" type="hidden" id="character" value="'.$chr.'"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td><input type="submit" name="Submit" value="Add" onclick="return ask_stats()">&nbsp;
                      <input type="reset" name="Reset" value="Reset"></td>
                    </tr>
                  </table>
                </div>
            </form></td>
          </tr>
        </table></fieldset>
      </div></td>
    </tr>
  </table>
  

';	 
	}

elseif($level_up[1] == 641){
        require("config.php");
	$chr = stripslashes($_POST['stats_character']);
	$level_up_points2 = $db->Execute("Select leveluppoint,class,strength,dexterity,vitality,energy,leadership from character where name=?",array($chr));
	$level_up2 = $level_up_points2->fetchrow();
echo '
<table width="203" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="203" height="27"><div align="center"><fieldset><legend>Add Stats</legend>
        <table width="203" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="203"><form action="index.php?op=user" method="post" name="stats_dl_normal" id="stats_dl_normal">
                <div align="right">
                  <table width="203" border="0" align="center" cellpadding="2" cellspacing="2">
                    <tr>
                      <td colspan="2"><div align="center"><span class="result">Character</span><span class="result"> '.$chr.'</span></div></td>
                    </tr>
                    <tr>
                      <td colspan="2"><div align="center" class="result">Level up points '.$level_up[0].'</div></td>
                    </tr>
                    <tr>
                      <td width="72"><div align="right">Strength ['.$level_up2[2].']
                      </div>
                      <div align="center" class="result">
                            <div align="right"></div>
                        </div></td>
                      <td width="117"><input name="strength" type="text" class="style" id="strength" size="10" maxlength="5"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Agility ['.$level_up2[3].']</div></td>
                      <td><input name="agility" type="text" class="style" id="agility" value="" size="10" maxlength="5"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Vitality ['.$level_up2[4].']</div></td>
                      <td><input name="vitality" type="text" class="style" id="vitality" size="10" maxlength="5"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Energy ['.$level_up2[5].']</div></td>
                      <td><input name="energy" type="text" class="style" id="energy" size="10" maxlength="5">
                      <input name="stats_dl" type="hidden" id="stats_dl" value="stats_dl"></td>
                    </tr>
                    <tr>
                      <td><div align="right">Command ['.$level_up2[6].']</div></td>
                      <td><input name="command" type="text" class="style" id="command" size="10" maxlength="5">
                      <input name="character" type="hidden" id="character" value="'.$chr.'"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td><input type="submit" name="Submit" value="Add" onclick="return ask_stats_dl()">&nbsp;
                      <input type="reset" name="Reset" value="Reset"></td>
                    </tr>
                  </table>
                </div>
            </form></td>
          </tr>
        </table></fieldset>
      </div></td>
    </tr>
  </table>
  
  ';}
}
	
	
	
if (isset($_POST["stats"]))
	{
            require("includes/character.class.php");
            option::add_stats($_POST['character']);
         }	

if (isset($_POST["stats_dl"]))
	{
            require("includes/character.class.php");
            option::add_stats_dl($_POST['character']);
         }	
?>
    </div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center">
        <table width="270" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="270"><div align="center">
                <fieldset>
                <legend>Change Password </legend>
                <table width="270" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="270"><div align="center">
                        <form action="" method="post" name="change_password" id="change_password">
                          <table width="258" border="0" cellspacing="4" cellpadding="0">
                            <tr>
                              <td width="142"><div align="right" class="normal_text_white">Curent Password </div></td>
                              <td width="104"><input name="oldpassword" type="password" id="oldpassword" size="17" maxlength="10"></td>
                            </tr>
                            <tr>
                              <td><div align="right" class="normal_text_white">New Password </div></td>
                              <td><input name="newpassword" type="password" id="newpassword" size="17" maxlength="10"></td>
                            </tr>
                            <tr>
                              <td><div align="right" class="normal_text_white">Retype New Password </div></td>
                              <td><input name="renewpassword" type="password" id="renewpassword" size="17" maxlength="10"></td>
                            </tr>
                          </table>
                          <table width="200" border="0" cellspacing="4" cellpadding="0">
                            <tr>
                              <td width="118"><div align="right">
                                  <input type="submit" name="Submit" value="Change Password" onclick="return check_password_form()" class="button">
                              </div></td>
                              <td width="70"><div align="left">
                                  <input type="reset" name="Reset" value="Reset" class="button">
                              </div></td>
                            </tr>
                          </table>
                        </form>
                    </div></td>
                  </tr>
                </table>
                </fieldset>
            </div></td>
          </tr>
        </table>
    </div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
	  
        
<table width="393" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><div align="center">
        <fieldset>
        <legend>Characters</legend>
        <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><? include("includes/character_manager.php"); ?></td>
          </tr>
        </table>
        </fieldset>
    </div></td>
  </tr>
</table>
<table width="393" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="320" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="395" height="37" background="images/img_mu_did-u-know.gif"><div align="center">
          <table width="220" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="left"><strong>Basic Info </strong></div></td>
            </tr>
          </table>
      </div></td>
    </tr>
</table>
<table width="417" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100">&nbsp;</td>
    <td width="317"><table width="220" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left"><strong>Zen require for reset <? echo($muweb['resetmoney']); ?></strong> </td>
      </tr>
      <tr>
        <td align="left"><strong>Reset level is set to <? echo($muweb['resetlevel']); ?></strong></td>
      </tr>
      <tr>
        <td><strong>Zen require for clear pk status <? echo($muweb['pkmoney']); ?></strong></td>
      </tr>
    </table></td>
  </tr>
</table>

Проблема с Dark Lord е решен ;)
p.p модератора да премести темата в раздел Help ;)