Sql Error nach registrierung!?!

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Benutzeravatar
winnetou
Mitglied
Beiträge: 850
Registriert: 13.11.2008 12:20
Wohnort: Bremen
Kontaktdaten:

Re: Sql Error nach registrierung!?!

Beitrag von winnetou »

kein Plan....ich warte erstmal das Spiel morgen ab! Bevor ich hier noch ne 2 Abmahnung bekomme....
Lach
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: Sql Error nach registrierung!?!

Beitrag von franki »

So also ich den Style jetzt mal bei mir installiert und hat alles sauber geklappt :)

HIER meine overall_header.html

Ich hoffe mal, dass Du die phpbb-Version 3.0.7_PL1 verwendest da ich den Style auf phpbb3.0.7 umgeschrieben (aktualisiert) habe.
LG Franki
Latza
Gesperrt
Beiträge: 531
Registriert: 05.05.2009 17:57

Re: Sql Error nach registrierung!?!

Beitrag von Latza »

Hmm ich hab letztens erst mein Board upgedatet und den Style (auch per Hand).
Kannst du mir mal sagen was du alles in der overall_header verändert hast? Das Design ist ja nur etwas breit und unten auf dem index_body stimmen ein paar tabellen nicht. Wenn das jetzt nicht so viel arbeit für dich ist , kannst du mir ja mal sagen wie ich das wieder hinbekomme ... .
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: Sql Error nach registrierung!?!

Beitrag von franki »

Hast Du mal meine overall_header.html bei dir eingefügt.

Habe ich als Pastebin in dem vorigen Beitrag mit eingefügt.
LG Franki
Latza
Gesperrt
Beiträge: 531
Registriert: 05.05.2009 17:57

Re: Sql Error nach registrierung!?!

Beitrag von Latza »

Ja hab ich gemacht. Und die Grafiken waren wieder richtig positioniert. Aber wegen meinen ganzen Mods hab ich das besser wieder rückgängig gemacht bevor irgendwas nicht mehr funktioniert. Eigentlich hab ich per Hand mein Style auch upgedatet. Aber wieso die Grafiken falsch sind hab ich keine ahnung.
Auf dem Index Body fehlt ja bei mir die ganze Statistik Tabelle.
Das ist die originale Datei ohne veränderung von meinem style:

Code: Alles auswählen

<tr>
	<td class="cat" colspan="2"><h4 style="color: #1DA9D8;">&nbsp;{L_STATISTICS}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}<br />{RECORD_USERS}</p></td>
</tr>
	<tr>
		<td class="tablefooter" colspan="5"></td>
	</tr>
</table>
<br clear="all" />
Das ist meine :

Code: Alles auswählen

<tr>
	<td class="cat" colspan="2"><h4 style="color: #c90707;">&nbsp;{L_STATISTICS}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}<br />{RECORD_USERS}</p></td>
</tr>
	<tr>
		<td class="tablefooter" colspan="5"></td>
	</tr>
</table>
<br clear="all" />
Sind doch gleich? Aber wieso werden die Tabellen nicht angezeigt bei mir?
Latza
Gesperrt
Beiträge: 531
Registriert: 05.05.2009 17:57

Re: Sql Error nach registrierung!?!

Beitrag von Latza »

Ich hab mal unsere overall_headers jetzt verglichen.
Also ich hab nach "Portal" gesucht und gesehen das ich eine Funktion mehr drinn hatte als du. Dann hab ich geschaut und gesehen das ich das hier :

Code: Alles auswählen

<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
Zwischen dem hier hatte :

Code: Alles auswählen

<div id="wrapheader">
<div id="logodesc">
Also so :

Code: Alles auswählen

<div id="wrapheader">
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<div id="logodesc">
Aber als ich diese Funktion rausgenommen habe , alle cache geleert habe , ging aufeinmal meine Seite nicht mehr. Es kam eine Fehlermeldung und eine weiße Seite. Als ich die Funktion wieder dazu gemacht habe , funktionierte alles wieder. Also wieso funktionierte es bei dir obwohl du die Funktion nicht hattest? Die anderen hab ich auch verglichen und da hatten wir beide das gleiche.
Und wie ich mein Design wieder etwas schmaler machen kann (so wie es eigt sein sollte) hab ich immer noch nicht rausgefunden.
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: Sql Error nach registrierung!?!

Beitrag von franki »

Kontrolliere mal die index_body.html und die overall_footer.html ob da evtl. ein <div> oder etwas anderes nicht geschlossen wird.

In der overall_footer müssten, wenn ich das richtig sehe, am Anfang der Datei drei (3) </div> hintereinander kommen
und danach ein </body>

Weil die werden in der overall_header.html nicht geschlossen
1.

Code: Alles auswählen

<div class="outside">
2.

Code: Alles auswählen

<div class="inside">
3.

Code: Alles auswählen

<div id="wrapheader">
LG Franki
Latza
Gesperrt
Beiträge: 531
Registriert: 05.05.2009 17:57

Re: Sql Error nach registrierung!?!

Beitrag von Latza »

Nicht direkt am anfang aber etwas weiter unten werden mehr divs geschlossen als es überhaupt gibt in der overall_footer.html :

Code: Alles auswählen

	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

<!--
	You can edit this style, but you can't create new style on Melankolia base.
	Please don't delete footer links. Thanks for using.
	
	Ercan Koç 

	erckoc@gmail.com www.foruz.org
//-->

<div id="wrapfooter">
	<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
	<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
	<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
	<br /><span class="gensmall">Dizayn <a href="http://www.foruz.org/"><strong>Ercan Koc</strong></a></span>
	<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>
</div>
<div class="nobottomgap"></div>
</div>
<div class="bottom-left"></div><div class="bottom-center"></div><div class="bottom-right">
</div>
<!-- IF S_REIMG -->
	<script type="text/javascript">
		if (window.reimg_version)
		{
			reimg_loading("{REIMG_LOADING_IMG_SRC}");
		}
	</script>
<!-- ENDIF -->
</body>
</html>
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: Sql Error nach registrierung!?!

Beitrag von franki »

Klar das sind ja auch die offenen <div> in der overall_header.html.

Die overall_footer.html scheint okay zu sein :-?

So ich habe den Fehler gefunden. Du hast beim einfügen des Logos zu viele <div> geschlossen was im orig. offen bleibt und
dadurch zu viele </div> in der overall_footer.html.

Ich habe jetzt mal deine Mod-Änderungen (außer Portal) in meine overall_header.html übernommen und versuche es jetzt mal mit dieser.

Code: Alles auswählen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE reimg_content.html -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<link href="{T_THEME_PATH}/bbcodebox3.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}

}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

/**
*  Code-Spoiler BBCode by Nerdy [3]
*  www.phpbb3bbcodes.com | BCForum.eu
*/
function select_codespoiler(a)
{
	var e = a.parentNode.parentNode.getElementsByTagName('code')[0];
	if (window.getSelection)
	{
		var s = window.getSelection();
		if (s.setBaseAndExtent)
		{
			s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
		}
		else
		{
			var r = document.createRange();
			r.selectNodeContents(e);
			s.removeAllRanges();
			s.addRange(r);
		}
	}
	else if (document.getSelection)
	{
		var s = document.getSelection();
		var r = document.createRange();
		r.selectNodeContents(e);
		s.removeAllRanges();
		s.addRange(r);
	}
	else if (document.selection)
	{
		var r = document.body.createTextRange();
		r.moveToElementText(e);
		r.select();
	}
}
function toggle_codespoiler(a, s)
{
	var e = a.parentNode.parentNode.getElementsByTagName('dd')[0];
	if (!s)
	{
		s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
	}
	e.style.display = (s == 1) ? 'block' : 'none';
}

// ]]>
</script>

<link href="{T_THEME_PATH}/web/style.css" rel="stylesheet" type="text/css" media="screen, projection" />

</head>

<body class="{S_CONTENT_DIRECTION}">
	<div class="outside">
		<div class="top-left"></div>
		<div class="top-center"></div>
		<div class="top-right"></div>
		<div class="inside">
			<div class="notopgap">
				<a name="top"></a>

				<div id="wrapheader">
					<div id="logodesc">
						<a class="logo" href="{U_INDEX}"><img src="{T_IMAGESET_PATH}/site-logo-{SITE_LOGO_RANDOM}.png" alt="Logo" title="Logo" /></a>
					</div>
					<br />
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
					<table class="tablebg" cellspacing="1" width="100%">
						<tr>
							<td class="row1" height="60px" width="73%">
								<p class="breadcrumbs">
									<!-- IF U_PORTAL --><a href="{U_PORTAL}"><strong><img src="{T_IMAGESET_PATH}/folder.gif" alt="#" />{L_PORTAL}</strong></a> &nbsp; <!-- ENDIF --><a href="{U_INDEX}"><strong><img src="{T_IMAGESET_PATH}/folder.gif" alt="#" />{L_INDEX}</strong></a>
									<!-- BEGIN navlinks --> &#187; <strong><strong></strong>&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
									<br />
									<!-- IF TOPIC_TITLE --><!-- IF U_VIEW_TOPIC --><img src="{T_IMAGESET_PATH}/folder2.gif" alt="#" /><a class="topictitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ENDIF --><!-- ENDIF -->
								</p>
								<div align="center">
									<p>
										<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- ENDIF -->
										<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
									</p>
								</div>
							</td>
							<td class="row2" height="60px" width="27%">
								<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
									<form method="post" action="{S_LOGIN_ACTION}" style="float:left;position:relative;">	
										<table width="100%" cellspacing="0">
											<tr>
												<!-- IF SCRIPT_NAME == 'index' -->
													<td width="50%"><span class="genmed">{L_USERNAME}:</span><br /><span class="genmed">{L_PASSWORD}:</span></td>
													<td width="50%"><input tabindex="100" class="post" type="text" name="username" size="10" /><br /><input tabindex="101" class="post" type="password" name="password" size="10" /></td>
													<td width="50%"  nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --><span class="genmed">Remember me</span> <input tabindex="102" type="checkbox"  class="radio" name="autologin" /><!-- ENDIF --><br /><input tabindex="103" type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
												<!-- ELSE -->
													<span class="genmed"><a href="{U_LOGIN_LOGOUT}"><strong>{L_LOGIN_LOGOUT}</strong></a>
														<!-- IF not S_IS_BOT -->
															<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->&nbsp;|&nbsp;<a href="{U_REGISTER}"><strong>{L_REGISTER}</strong></a><!-- ENDIF -->
														<!-- ENDIF -->
													</span>
												<!-- ENDIF -->
											</tr>
										</table>
										{S_LOGIN_REDIRECT}
										{S_FORM_TOKEN}
									</form>
								<!-- ENDIF -->
								<table width="100%" cellspacing="0">
									<tr>
										<td class="genmed">
											<!-- IF not S_IS_BOT -->
												<!-- IF S_USER_LOGGED_IN -->
													<strong>Hi,&nbsp;{S_USERNAME}</strong>&nbsp;<b>(</b><a href="{U_LOGIN_LOGOUT}">{L_LOGOUT}</a><b>)</b><br />
													{LAST_VISIT_DATE}<br />
													<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- ENDIF -->
													<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF -->
												<!-- ENDIF -->
											<!-- ENDIF -->
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<!-- IF not S_USER_LOGGED_IN -->
						<table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
							<tr align="center">
								<!-- IF not S_IS_BOT -->
									<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><td class="menu2"> <a href="{U_REGISTER}" >{L_REGISTER}</a></td><!-- ENDIF -->
									<td class="menu2"><a href="{U_LOGIN_LOGOUT}" rel="nofollow">{L_LOGIN}</a></td>
								<!-- ENDIF -->
								<!-- IF S_DISPLAY_SEARCH --><td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td><!-- ENDIF -->
								<td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
							</tr>
						</table>
					<!-- ENDIF -->

					<!-- IF S_USER_LOGGED_IN -->
						<table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> 
							<tr align="center">
								<td class="menu2"><a href="{U_PROFILE}" rel="nofollow">{L_PROFILE}</a></td>
									<!-- IF S_DISPLAY_SEARCH -->
										<td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td>
										<td class="menu2"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></td>
										<td class="menu2"><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></td>
										<td class="menu2"><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></td>
										<td class="menu2"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a></td>
									<!-- ENDIF -->
								<td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
							</tr>
						</table>
					<!-- ENDIF -->
					<br />

					<br style="clear: both;" />
<!-- ENDIF -->
LG Franki
Latza
Gesperrt
Beiträge: 531
Registriert: 05.05.2009 17:57

Re: Sql Error nach registrierung!?!

Beitrag von Latza »

Hab unsre Datein wieder verglichen und paar Sachen entfernet. Jetzt klappts :) . Danke für deine Hilfe.
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“