Einzelnen Beitrag anzeigen
  #1  
Alt 17.06.2006, 14:48:12
Pommes2 Pommes2 ist offline
Anfänger
 
Registriert seit: Feb 2003
Ort: Lohbarbek
Beiträge: 29
Benötige Hilfe beim Coden

Moin!

In der Hoffnung das hier damit schon einer erfahrung hat :

Fehlermeldung :
Zitat:
Not Acceptable
An appropriate representation of the requested resource /community/elfer_liga.php could not be found on this server.
Nach recherchen bin ich auf das hier gestossen :
Zitat:
The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request. Unless it was a HEAD request, the response SHOULD include an entity containing a list of available entity characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection. Note: HTTP/1.1 servers are allowed to return responses which are not acceptable according to the accept headers sent in the request. In some cases, this may even be preferable to sending a 406 response. User agents are encouraged to inspect the headers of an incoming response to determine if it is acceptable. If the response could be unacceptable, a user agent SHOULD temporarily stop receipt of more data and query the user for a decision on further actions.
und diesen Link:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Nur wirklich weiter hilft mir das auch nicht. Diese Fehlermeldung kommt nur bei einem einzigen Kunden wenn er diesen Teil aufruft per Klick(Bei allen anderen geht es normal):
Code:
}elseif($liga=="usercp"){
//benachrichtigung pm und/oder email
//neue Saison
//neuer Spieltag
//$botname Nachrichten
//Teamname ändern
//Spieler aufhören
	if($usercp=="save"){
		$db->query("UPDATE bb".$n."_elfer_liga_teams set pm='".$elf_pm."',email='".$elf_email."',neusaison='".$elf_neusaison."',neuspieltag='".$elf_neuspieltag."',elferbot='".$elf_elferbot."',schluss='".$elf_schluss."' where spielername='$wbbuserdata[username]'");
	}
	if($usercp=="wechsel"){
		$db->query("UPDATE bb".$n."_elfer_liga_teams set teamname='".addslashes($teamname)."',wechsel=wechsel-1 where spielername='$wbbuserdata[username]'");
		$db->query("UPDATE bb".$n."_elfer_liga_save set teamname='".addslashes($teamname)."' where spielername='$wbbuserdata[username]'");
		$db->query("INSERT INTO bb".$n."_elfer_chat set message='Spieler $user_name wechselt seinen Teamnamen in ".addslashes($teamname)."',name='$botname',zeit='".time()."'");

	}
	$service=$db->query_first("select * from bb".$n."_elfer_liga_teams where spielername='$wbbuserdata[username]'");
	$service_pm=$service[pm];
	$service_email=$service[email];
	$service_neusaison=$service[neusaison];
	$service_neuspieltag=$service[neuspieltag];
	$service_elferbot=$service[elferbot];
	$service_schluss=$service[schluss];
	$service_wechsel=$service[wechsel];
	$service_teamname=$service[teamname];
	$elfer_1="<input type=\"radio\" name=\"elf_pm\" id=\"radio_pm_1\" value=\"1\"".(($service_pm==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_pm_1\"> Empfangen </label> <input type=\"radio\" name=\"elf_pm\" id=\"radio_pm_2\" value=\"0\"".(($service_pm==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_pm_2\"> Nicht Empfangen </label>";
	$elfer_2="<input type=\"radio\" name=\"elf_email\" id=\"radio_email_1\" value=\"1\"".(($service_email==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_email_1\"> Empfangen </label> <input type=\"radio\" name=\"elf_email\" id=\"radio_email_2\" value=\"0\"".(($service_email==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_email_2\"> Nicht Empfangen </label>";
	$elfer_3="<input type=\"radio\" name=\"elf_neusaison\" id=\"radio_neusaison_1\" value=\"1\"".(($service_neusaison==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_neusaison_1\"> Empfangen </label> <input type=\"radio\" name=\"elf_neusaison\" id=\"radio_neusaison_2\" value=\"0\"".(($service_neusaison==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_neusaison_2\"> Nicht Empfangen </label>";
	$elfer_4="<input type=\"radio\" name=\"elf_neuspieltag\" id=\"radio_neuspieltag_1\" value=\"1\"".(($service_neuspieltag==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_neuspieltag_1\"> Empfangen </label> <input type=\"radio\" name=\"elf_neuspieltag\" id=\"radio_neuspieltag_2\" value=\"0\"".(($service_neuspieltag==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_neuspieltag_2\"> Nicht Empfangen </label>";
	$elfer_5="<input type=\"radio\" name=\"elf_elferbot\" id=\"radio_elferbot_1\" value=\"1\"".(($service_elferbot==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_elferbot_1\"> Empfangen </label> <input type=\"radio\" name=\"elf_elferbot\" id=\"radio_elferbot_2\" value=\"0\"".(($service_elferbot==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_elferbot_2\"> Nicht Empfangen </label>";
	$elfer_6="<input type=\"radio\" name=\"elf_schluss\" id=\"radio_schluss_1\" value=\"1\"".(($service_schluss==1) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_schluss_1\"> Aufhören </label> <input type=\"radio\" name=\"elf_schluss\" id=\"radio_schluss_2\" value=\"0\"".(($service_schluss==0) ? ("checked=\"checked\"") : (""))." /><label for=\"radio_schluss_2\"> Weiterspielen </label>";
if ($service_wechsel<>0){
 $wechsel = '<table style="width:'.$style['tableinwidth'].'" cellpadding="0" cellspacing="0" border="0">
  <tr><td style="width:100%; height:5px"></td></tr>
 </table>

 <form action="elfer_liga.php" method="post">
 <input type="hidden" name="liga" value="usercp" />
 <input type="hidden" name="usercp" value="wechsel" />
 <input type="hidden" name="sid" value="'.$session[hash].'" />
 <table style="width:'.$style['tableinwidth'].'" cellpadding="4" cellspacing="1" border="0" class="tableinborder">
  <tr class="tabletitle" style="width:100%">
   <td colspan="2" align="left" valign="top" style="width:100%">
    <span class="normalfont">'.$lang->items['LANG_GLOBAL_ELFER_LIGA_UCP_9'].' '.$service_wechsel.' '.$lang->items['LANG_GLOBAL_ELFER_LIGA_UCP_10'].'</span>
   </td>
  </tr>
  <tr class="tableb" style="width:100%">
   <td align="left" valign="top" style="width:100%">
    <input class="input" type="text" name="teamname" value="'.$service_teamname.'" size="15" maxlength="20" />&nbsp;&nbsp;<input type="submit" value="Name ändern" class="input" />
   </td>
  </tr>
 </table>
 </form>';
}
	eval("\$tpl->output(\"".$tpl->get("elfer_liga_usercp")."\");");
	exit();
}
Ich weiß beim besten Willen nicht warum das bei dem einem Kunden so ist und woran das liegen könnte.
Kann da einer weiterhelfen ?
Mit Zitat antworten