und wie genau meinst du das mit anklickbar???
eventuel könntest du kurz die url sagen?
mfg Lokutos
Hi,
Ich habe ne Menge fehler weiß nicht ob das schon geklärt worden war undzwar ich habe das vms1.2.4. Auf der Seite wo ich die shoutbox habe sind viele mysql fehler
Zitat:
Warning: trim() expects parameter 1 to be string, array given in /users/crazy4lose/www/module/Shoutbox/module.php on line 55
.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }
Warning: trim() expects parameter 1 to be string, array given in /users/crazy4lose/www/module/Shoutbox/module.php on line 129
.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }
Warning: file() [function.file]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /users/crazy4lose/www/module/Shoutbox/copyright.php on line 3
.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }
Warning: file(http://www.kaidl.de/marketing/backli...se.bplaced.net) [function.file]: failed to open stream: no suitable wrapper could be found in /users/crazy4lose/www/module/Shoutbox/copyright.php on line 3
.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }
Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /users/crazy4lose/www/module/Shoutbox/copyright.php on line 4
.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }
Warning: file_get_contents(http://www.kaidl.de/marketing/backli...se.bplaced.net) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /users/crazy4lose/www/module/Shoutbox/copyright.php on line 4
Vllt. kann mir ja wer helfen
MFG
Heard112
URL_fopen auf ON stellen
sonnst gehen auch Anmeldung und IF nicht
MFG Lokutos
Habe urplötzlich auch solche Fehlermeldungen wie:
Hat aber bis eben die letzten 2 Monate funktioniert ohne das ich was verstellt habe oOCode:Warning: file(http://www.kaidl.de/marketing/backli...il-forces.de): failed to open stream: Connection timed out in /srv/www/bla/bla/httpdocs/module/Shoutbox/copyright.php on line 3 Warning: file_get_contents(http://www.kaidl.de/marketing/backli...il-forces.de): failed to open stream: HTTP request failed! in /srv/www/bla/bla/httpdocs/module/Shoutbox/copyright.php on line 4
Kann mir da einer helfen? Kommt auch manchmal, dass schon zu viele aktive Verbindungen auf die DB zugreifen.
LG
TweetyMR
Edit: Habe eben mitbekommen, dass das Problem auch bei anderen besteht. Also kanns ja eigentlich nicht an meinem Server liegen.
Der Ersteller bindet da von seienr URL Inhalte ein, sobald es da Probleme gibt, darfst du natürlich das Copyright entfernen, müsstest es aber theoretisch wieder einbauen, wenn dieser Fehler behoben wurde.
jo hab auch so n problem... hab erstmal die copyright.php verschoben das reduziert die fehlermeldungen und seitenladezeit enorm ;) - bitte mal hier bescheidsagen wenns wieder geht
Maddin scheint ja nich mehr so aktiv zu sein...^^
Habe noch ein Problem entdeckt: Wenn ich die SB auf der Startseite eingebaut habe, wird mein JS Menü nicht mehr richtig angzeigt und die <marquee>'s lufen auch nicht mehr...
Woran kann das liegen? Ich denke mal dadurch, dass AJAX sich die ganze Zeit refresht? Reloadinterval ist normal eingestellt (10 Sekunden)
Mir ist nur aufgefallen, dass das Menü auch spinnt wenn die Banner länger zum laden brauchen. 2. Frage: Kann man sowas irgendwie preloaden?
Vielen Dank
TweetyMR
hi ich habe das mit der kontobuchung so gemacht
Aber es kommt keine meldung das was gebucht wurde, und einen buchuneintrag gibt es auch nicht.Es gibz auch keine vergütungPHP-Code:
<head>
<style type="text/css">
.smileys {
width:480px;
}
</style>
<script language="JavaScript">
function addValue(text)
{
document.Shoutbox.Eintrag.value = document.Shoutbox.Eintrag.value + text;
}
</script>
</head>
<? head ('Shoutbox'); ?>
<?php
include 'module/Shoutbox/files/inc/functions.inc.php';
if(get_magic_quotes_gpc()) {
array_stripslashes($_GET);
array_stripslashes($_POST);
array_stripslashes($_COOKIE);
}
$uid_finden = db_query("Select * FROM ".$db_prefix."_userdaten where uid = ".$_SESSION['uid'].""); // UID in der Datenbank finden
$nick = @mysql_fetch_array($uid_finden); // Zugehörigen Nicknamen aufrufen
$admin_auslesen = db_query("Select * FROM ".$db_prefix."_shoutbox_admin");
$style_auslesen = db_query("Select * FROM ".$db_prefix."_shoutbox_style");
$smileys_auslesen = db_query("Select * FROM ".$db_prefix."_shoutbox_smileys");
$admin = mysql_fetch_assoc ($admin_auslesen);
$style = mysql_fetch_assoc ($style_auslesen);
if ($_GET['Eintraege'] != "alt")
{
echo ('<center>
<iframe src="module/Shoutbox/ausgabe.php" height="'.$style['iframe_height'].'" width="'.$style['iframe_width'].'" scrolling="'.$style['iframe_scrolling'].'" frameborder="'.$style['iframe_frameborder'].'"></iframe>');
} else {
echo ('<iframe src="module/Shoutbox/ausgabe.php?Eintraege=alt" height="'.$style['iframe_height'].'" width="'.$style['iframe_width'].'" scrolling="'.$style['iframe_scrolling'].'" frameborder="'.$style['iframe_frameborder'].'"></iframe></center>');
}
if ($_GET['Eintraege'] != 'alt'){
if ($admin['Gaeste'] == 'ja')
if (trim ($nick) == ""){
$nick['nickname'] = "Gast";
echo ("
<br />
<form name=\"Shoutbox\" method=\"post\" action=\"\">
<input name=\"Eintrag\" type=\"text\" size=\"65\" maxlength=\"".$admin['max_nachricht']."\" />
<input name=\"Submit\" type=\"submit\" value=\"Eintragen\" />
</form>
");
} elseif (trim ($nick) != "") {
echo ("
<br />
<form name=\"Shoutbox\" method=\"post\" action=\"\">
<input name=\"Eintrag\" type=\"text\" size=\"65\" maxlength=\"".$admin['max_nachricht']."\" />
<input name=\"Submit\" type=\"submit\" value=\"Eintragen\" />
</form>
");
}
if ($admin['Gaeste'] == 'nein') {
if (trim ($nick) != ""){
echo ("
<br />
<form name=\"Shoutbox\" method=\"post\" action=\"\">
<input name=\"Eintrag\" type=\"text\" size=\"65\" maxlength=\"".$admin['max_nachricht']."\" />
<input name=\"Submit\" type=\"submit\" value=\"Eintragen\" />
</form>
");
}
}
}
# Abfragen ob abgeschickt wurde (Das wusste ich auch noch xD)
if ($_POST['Submit'] == 'Eintragen'){
if (trim ($_POST['Eintrag']) != "" and strlen ($_POST['Eintrag']) > $admin['min_nachricht']){
# Time ist kein String sondern integer, deshalb da keine '' (THX an Gremlin)
mysql_query ("INSERT INTO ".$db_prefix."_shoutbox (Inhalt, Nickname, Datum) VALUES ('".addslashes(htmlspecialchars($_POST['Eintrag']))."', '".$nick['nickname']."', ".time().")");
if ($admin['bez_sb'] == 'ja' && $_SESSION['login'] == 'true') {
$reload_db = db_query ("SELECT * FROM ".$db_prefix."_shoutbox_reload WHERE Reload >= ".time()." AND UID = ".$_SESSION['uid']."");
if (!mysql_num_rows ($reload_db)) {
kontobuchung ('+', $admin['bez_verguetung'], $_SESSION['uid']);
db_query ("INSERT INTO ".$db_prefix."_shoutbox_reload SET Reload = ".(time() + $admin['bez_reload']).", UID = ".$_SESSION['uid']."");
}
if ($admin['bez_sb'] == 'ja' && $_SESSION['login'] == 'true') {
$reload_db = db_query ("SELECT * FROM ".$db_prefix."_shoutbox_reload WHERE Reload >= ".time()." AND UID = ".$_SESSION['uid']."");
if (!mysql_num_rows ($reload_db)) {
buchungsliste ('CB'.create_code(12), '+'.$admin['bez_verguetung'], 'Shoutbox verguetung', $_SESSION['uid']);
db_query ("INSERT INTO ".$db_prefix."_shoutbox_reload SET Reload = ".(time() + $admin['bez_reload']).", UID = ".$_SESSION['uid']."");
}
db_query ("DELETE FROM ".$db_prefix."_shoutbox_reload WHERE Reload <= ".time()."");
}
db_query ("DELETE FROM ".$db_prefix."_shoutbox_reload WHERE Reload <= ".time()."");
}
# Wenn vorhanden dann Fehlermeldung ausgeben: (THX an Gremlin)
if (mysql_error()) echo mysql_error();
# wo db_connect(); da muss auch db_close(); hin ;) (THX an Gremlin)
mysql_close() or die(mysql_error());
} else {
echo "Fehler: Die eingegebene Nachricht ist zu kurz.<br /><br />";
}
}
if ($_GET['Eintraege'] == 'alt'){
echo "<br /><br /><strong><center><a href=\"javascript:history.back()\">Neue Einträge anzeigen</a></center><br /></strong>";
} else {
echo "<strong><center><a href=\"?Eintraege=alt\">Alte Einträge anzeigen</a></center><br /></strong>";
}
if ($_GET['Eintraege'] != 'alt'){
if (trim ($nick) != ""){
if(mysql_num_rows($smileys_auslesen)) {
echo "<div class=\"smileys\">";
while($row = mysql_fetch_assoc($smileys_auslesen)) {
echo "<a href=\"javascript:;\"><img src=\"module/Shoutbox/files/smileys/".$row['img_src']."\" border=\"0\" onclick=\"addValue('".$row['img_short']."')\" /></a> ";
}
echo "</div>";
}
}
}
// You can add everything here (e.g. "All rights reserved by YourSite.com") but it's strongly restricted to change or remove the Copyright!
// Begin Copyrigt
include "copyright.php";
// End Copyrigt
foot ();
?>
<a href="" onClick="history.back()">
Hallo,
habe mir soeben mal dieses addon eingebaut!
Aber wie bekomme ich es hin das mir der nick oder die id angezeigt wird?
Mir wird immer nur Gast angezeigt!
Hilfe
einloggen?