Cat Mod 2.1.1 Aktuelle Version + Style installieren

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Elvis
Mitglied
Beiträge: 3373
Registriert: 26.05.2003 22:39

Cat Mod 2.1.1 Aktuelle Version + Style installieren

Beitrag von Elvis »

Hi,
habe mir den og Mod im Testforum eingebaut und das ganze Local bei mir auch. Dann bin ich hin gegangen habe den Attachment eingebaut und ein kompplett neues Design gemacht. Das neue design wie was wo habe ich hier aus der KB als hilfestellung genommen. Styles subSilver kopiert alle Wörte von subSilver in Fifo umbenannt usw. wo ich fertig war habe ich das neue Design auf dem server hochgeladen und wollte es installieren. Beim installen bekommei ch aber diese FM :/
Could not insert theme data!

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Courier New\'', sans-serif', '10', '11', '12', '444444', '586F58

INSERT INTO phpbb_themes (template_name, style_name, images_pack, custom_tpls, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3, img_size_poll, img_size_privmsg) VALUES ('Fifo', 'Fifo', '', '', 'Fifo.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', '', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, \''Courier New\'', sans-serif', '10', '11', '12', '444444', '586F58', 'BD8080', '', '', '', '0', '0')

Line : 122
File : admin_styles.php
hier mal die Zeilen (108 bis 138) aus der admin_styles.php

Code: Alles auswählen

	$sql .= ") VALUES (";

			for($i = 0; $i < count($db_values); $i++)
			{
				$sql .= "'" . $db_values[$i] . "'";
				if($i != (count($db_values) - 1))
				{
					$sql .= ", ";
				}
			}
			$sql .= ")";
			
			if( !$result = $db->sql_query($sql) )
			{
				message_die(GENERAL_ERROR, "Could not insert theme data!", "", __LINE__, __FILE__, $sql);
			}
			
			$message = $lang['Theme_installed'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");

//-- mod : categories hierarchy ------------------------------------------------
//-- add
			$themes = new themes();
			$themes->read(true);
//-- fin mod : categories hierarchy --------------------------------------------

			message_die(GENERAL_MESSAGE, $message);
		}
		else
		{
			
			$installable_themes = array();
was soll das denn, in der Datei habe ich garnichts gemacht :/
Benutzeravatar
Milan Baroš
Mitglied
Beiträge: 34
Registriert: 12.06.2005 11:54

Beitrag von Milan Baroš »

Kann es sein, dass du das hättest ausführen müssen?

Code: Alles auswählen

INSERT INTO phpbb_themes (template_name, style_name, images_pack, custom_tpls, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3, img_size_poll, img_size_privmsg) VALUES ('Fifo', 'Fifo', '', '', 'Fifo.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', '', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, \''Courier New\'', sans-serif', '10', '11', '12', '444444', '586F58', 'BD8080', '', '', '', '0', '0') 
Gruß
Benutzeravatar
Elvis
Mitglied
Beiträge: 3373
Registriert: 26.05.2003 22:39

Beitrag von Elvis »


seit wann muß man ein SQL Befehl ausführen wenn man ein eigenes Style gebastelt hat und es importieren will :o

oder läft es beim Cat Mod anderes?
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“