Bitte Helftz mir BITTE ich hänge seit zwei wochen hier rum !

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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
bmf24
Mitglied
Beiträge: 123
Registriert: 21.12.2004 11:49
Wohnort: Nürnberg

Bitte Helftz mir BITTE ich hänge seit zwei wochen hier rum !

Beitrag von bmf24 »

hallo ich habe eine Fehler meldung

Code: Alles auswählen

Warning: file_exists() [function.file-exists]: Unable to access in /home/www/htdocs/mutluluk.de/includes/functions.php on line 257
phpBB : Kritischer Fehler 

Could not query database for theme info

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '' at line 3 
Keinder weiss was das ist ...
Ich wollte den Intro + Portal installieren
jedoch bekomme ich so etwas ..
ich habe alles genau nach Anleitung gemacht
aber trotzdem geht nichts ..

PROFI PHPler bitte helft mir
Benutzeravatar
Nico Haase
Mitglied
Beiträge: 1100
Registriert: 10.08.2003 15:19
Wohnort: Neu-Anspach / Darmstadt
Kontaktdaten:

Beitrag von Nico Haase »

stell mal die functions.php zum download bereit
Buchtips.net bietet mehr als 2500 Buchrezensionen
bmf24
Mitglied
Beiträge: 123
Registriert: 21.12.2004 11:49
Wohnort: Nürnberg

Beitrag von bmf24 »

ich sende sie hier hin...
Ich habe es in ZIP gepackt..
freu mich schon sehr dass es klappt

http://www.mutluluk.de/abc/functions.zip
Benutzeravatar
Nico Haase
Mitglied
Beiträge: 1100
Registriert: 10.08.2003 15:19
Wohnort: Neu-Anspach / Darmstadt
Kontaktdaten:

Beitrag von Nico Haase »

was ist denn die standardsprache deines forums? deutsch? existiert dann der ordner language/lang_german/? und poste mal die komplette fehlermeldung, da ist doch noch mehr, oder?
Buchtips.net bietet mehr als 2500 Buchrezensionen
bmf24
Mitglied
Beiträge: 123
Registriert: 21.12.2004 11:49
Wohnort: Nürnberg

Beitrag von bmf24 »

als standart habe ich türkisch eingestellt sonst habe ich gar keine fehlermeldungen mehr.

Beim ausführen der datei .....Install.php war alles erfolgreich installiert.
bmf24
Mitglied
Beiträge: 123
Registriert: 21.12.2004 11:49
Wohnort: Nürnberg

Beitrag von bmf24 »

stimmt in der Beschreibung sollte ich die language Datei umschreiben
muss ich wohl die türkische umschreiben ??
ist das der Fehler ?

Hier habe ich die Install beschreibung...

Code: Alles auswählen

## EasyMod 0.0.7 compliant
##############################################################
## MOD Title: Intro + Portal - Full Install 1.50a
## MOD Author: AWSW <> http://www.awsw.de
##
## MOD Description: Adds an Intro and Portal to your phpBB2, that can be managed over the Administration Panel. All knwon addons of the MOD in before released versions, are included in this new MOD and can be enabled or disabled in the Administration Panel. Funktions for the Birthday MOD, Last Visit MOD, Chat Box MOD and the Global Announcement MOD are also installed, and can be activated in the ACP. You´ll find more notes there.
##
## MOD Version: 1.50
##
## Installation Level: moderate
## Installation Time: 15 Minutes
##
## Generator: phpBB2 Mod Maker 0.1.67
##############################################################
## This MOD is released under the GPL License. Intellectual Property is retained by the MOD Author(s) listed above. http://www.gnu.org
##############################################################
## For Security Purposes, Please Check: http://www.awsw.de/ for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. You´ll find support to this MOD at http://www.phpbb.de/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up Your Complete Database And All Files Related To This MOD !
##############################################################
##         INSTALLATION OF THE INTRO + PORTAL - MOD:
##############################################################

#
#-----[ COPY TO FOLDER ]------------------------------------------
#
# german: Dateien in vorgesehene Verzeichnisse kopieren
#

COPY IntroPortalMOD_root/intro_portal_mod_db_install.php TO intro_portal_mod_db_install.php
copy IntroPortalMOD_root/admin/admin_introportalmod.php to admin/admin_introportalmod.php
copy IntroPortalMOD_root/admin/admin_introportalmodnav.php to admin/admin_introportalmodnav.php
copy IntroPortalMOD_root/language/lang_english/lang_introportal.php to language/lang_english/lang_introportal.php
copy IntroPortalMOD_root/language/lang_german/lang_introportal.php to language/lang_german/lang_introportal.php
copy IntroPortalMOD_root/templates/subSilver/intro_body.tpl to templates/subSilver/intro_body.tpl
copy IntroPortalMOD_root/templates/subSilver/portal_body.tpl to templates/subSilver/portal_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmod_body.tpl to templates/subSilver/admin/introportalmod_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnav_body.tpl to templates/subSilver/admin/introportalmodnav_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnavedit_body.tpl to templates/subSilver/admin/introportalmodnavedit_body.tpl
copy IntroPortalMOD_root/.htaccess to .htaccess
copy IntroPortalMOD_root/intro.php to intro.php
copy IntroPortalMOD_root/portal.php to portal.php
copy IntroPortalMOD_root/portal_heise_ticker.php to portal_heise_ticker.php
copy IntroPortalMOD_root/portal_poll.php to portal_poll.php

#
#-----[ SQL ]------------------------------------------
#
# german: SQL Datenbankänderungen ausführen
#

FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!!

Beispiel: http://www.domain.de/phpbb2/intro_portal_mod_db_install.php

RUN THE FILE intro_portal_mod_db_install.php FROM THE FORUMROOT (main-directory of your forum) AND DELETE IT AFTER THAT !!!

Example: http://www.domain.com/phpbb2/intro_portal_mod_db_install.php

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

common.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

while ( $row = $db->sql_fetchrow($result) )
{
	$board_config[$row['config_name']] = $row['config_value'];
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
$sql = "SELECT * FROM " . INTROPORTALMOD_TABLE;
if( ($result = $db->sql_query($sql)) )
while ( $row = $db->sql_fetchrow($result) )
{
	$introportalmod_config[$row['config_name']] = $row['config_value'];
}
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Davor einfügen
#

// Intro + Portal MOD START
$lang['Viewing_Intro'] = "Viewing the Intro";
$lang['Viewing_Portal'] = "Viewing the Portal";
$lang['IntroPortalMOD1'] = "Intro";
$lang['IntroPortalMOD2'] = "Portal";
$lang['IntroPortalMOD3'] = "Index";
$lang['IntroPortalMOD4'] = "www.phpbb.de";
$lang['IntroPortalMOD5'] = "www.phpbb.com";
$lang['IntroPortalMOD6'] = "phpBB Support";
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

language/lang_german/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

$lang['Search_new'] = 'Beiträge seit dem letzten Besuch anzeigen';

#
#-----[ REPLACE WITH ]------------------------------------------
#
# german: Ersetze mit
#

$lang['Search_new'] = 'Beiträge seit dem letzten Besuch';

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Danvor einfügen
#

// Intro + Portal MOD START
$lang['Viewing_Intro'] = "Betrachtet das Intro";
$lang['Viewing_Portal'] = "Betrachtet das Portal";
$lang['IntroPortalMOD1'] = "Intro";
$lang['IntroPortalMOD2'] = "Portal";
$lang['IntroPortalMOD3'] = "Index";
$lang['IntroPortalMOD4'] = "www.phpbb.de";
$lang['IntroPortalMOD5'] = "www.phpbb.com";
$lang['IntroPortalMOD6'] = "phpBB Support";
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

includes/constants.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

define('PAGE_GROUPCP', -11);

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
define('PAGE_INTRO', -12);
define('PAGE_PORTAL', -13);
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
define('INTROPORTALMOD_TABLE', $table_prefix.'introportalmod');
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

//
// Parse and show the overall header.
//
$template->set_filenames(array(

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Davor einfügen
#

// Intro + Portal MOD START
if( $introportalmod_config['introportalmod_disable'] == "0" )
{
	$template->assign_block_vars('switch_introportalmod_disable', array());
}
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
'L_IntroPortalMOD1' => $lang['IntroPortalMOD1'],
'L_IntroPortalMOD2' => $lang['IntroPortalMOD2'],
'L_IntroPortalMOD3' => $lang['IntroPortalMOD3'],

'U_IntroPortalMOD1' => append_sid('intro.'.$phpEx),
'U_IntroPortalMOD2' => append_sid('portal.'.$phpEx),
'U_IntroPortalMOD3' => append_sid('index.'.$phpEx),
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

viewonline.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "faq.$phpEx";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx";
	break;
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

admin/index.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "index.$phpEx?pane=right";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx?pane=right";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx?pane=right";
	break;
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "index.$phpEx?pane=right";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx?pane=right";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx?pane=right";
	break;
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

<tr>
	<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

<!-- Intro + Portal MOD START -->
<!-- BEGIN switch_introportalmod_disable -->
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><b>&nbsp;<a href="{U_IntroPortalMOD1}">{L_IntroPortalMOD1}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD2}">{L_IntroPortalMOD2}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp;</b></span></td>
</tr>
<!-- END switch_introportalmod_disable -->
<!-- Intro + Portal MOD END -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# german: Speichere/Schließe alle Dateien
#
# The Intro and the Portal should work now !
#
# german: Das Intro und das Portal sollte nun funktionieren !
#
# HTH AWSW
# http://www.awsw.de
#
# EoM
Benutzeravatar
Nico Haase
Mitglied
Beiträge: 1100
Registriert: 10.08.2003 15:19
Wohnort: Neu-Anspach / Darmstadt
Kontaktdaten:

Beitrag von Nico Haase »

ist denn das türkische sprachpaket bei dir installiert? wenn ja: ergänz einfach die sachen, die für /language/lang_german/* angegeben sind in den entsprechenden dateien in /language/lang_türkisch/* (der ordner heißt wahrscheinlich anders, ich weiß aber nicht, wie)
Buchtips.net bietet mehr als 2500 Buchrezensionen
Antworten

Zurück zu „phpBB 2.0: Mod Support“