Members: 16,996
Threads: 38,868
Posts: 159,480
Online: 53

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 08.12.2004, 17:32   #1 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 7
t.marsel is on a distinguished road
Default Probleme mit SMF-Bridge 2.0

Hallo Leute,

ich habe da ein ziemliches Problem mit der SMF-Bridge 2.0.....

Folgendes:

Ich habe Mambo 4.5.1 installiert und im Mambo-Verzeichnis habe ich einen Unterordner "forum" erstellt. In diesen Unterordner habe ich das SMF 1.0 RC2 von der SM-Homepage installiert.
Mambo und SMF verwenden die gleiche Datenbank, mit unterschiedlichen Datenbank Prefixes (mos_ und smf_).
Dann habe ich die aktuelle SMF-Bridge installiert, und zwar so, wie es in den einzelnen Readmes steht. Ich habe auch in meinem Template den php-code aus der Readme von mod_smf_login eingefügt, den richtigen Pfad von Forum habe ich ebenfalls definiert (com_smf - Konfigurationsdatei).

Es funktioniert aber nicht: Wenn ich meine Seite aufrufe, kommt ganz oben die Fehlermeldung:

Quote:
Please don't access SSI.php by URL directly; you may want to use the path ('C:\\apachefriends\\xampp\\htdocs\\linux4gamer\\f orum\\SSI.php') or add ?ssi_function=something.
Das Login-Modul funktioniert auch nicht richtg, es erscheinen nur die leeren Eingabefelder, ohne eine Bezeichnung und auf dem "Login-Button" steht auch kein "login" oder sonst was, eifach nur leere Schaltfläche.
Klicke ich darauf, kommt folgende Fehlermeldung:

Quote:
Please don't access SSI.php by URL directly; you may want to use the path ('C:\\apachefriends\\xampp\\htdocs\\linux4gamer\\f orum\\SSI.php') or add ?ssi_function=something.
Fatal error: Call to undefined function: reloadsettings() in C:\apachefriends\xampp\htdocs\linux4gamer\componen ts\com_smf\smf.php on line 30
Auch im Admin-Bereich von Mambo kann ich die Punkte "Components -> Simple Machines Forum -> Edit config" und "Components -> Simple Machines Forum Registration -> Edit Config" nicht aufrufen, ich werde darauf hin auf die Home-Seite des Admin-Centers zurückgeleitet.

Ich habe schon zig-mal die einzelnen Readmes überflogen, ob ich vielleicht etwas vergessen habe, aber ich habe nichts gefunden....

Vielleicht könnte mir jemand helfen, ich wäre wirklich sehr dankbar dafür, Danke gleich mal im Voraus

Mfg
t.marsel
t.marsel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09.12.2004, 17:15   #2 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 7
strolch is on a distinguished road
Default Re: Probleme mit SMF-Bridge 2.0

Ahoi .....

also, zu einen - hast du den ssi pfad als aller erstes im template hinterlegt ?

Code:
<?php  require once ($smf_path . "D://apachefriends//xampp//htdocs//mambo/smf/SSI.php");?>
dann, in der smf.php im verzeichnis /components/com_smf/

Code:
require ($smf_path . "D://apachefriends//xampp//htdocs//mambo//smf//SSI.php");
und in der config.smf.php

Code:
<?php $smf_path = "(/srv/www/htdocs/web43/html/orgII";?>
verzeichnis components/com_smf_registration/ datei smf_registration.php

Code:
require ($smf_path . "D://apachefriends//xampp//htdocs//mambo//smf//SSI.php");
ssi.php ins smf verzeichnis kopiert ?

Datei settings.php im forum root verzeichnis

Code:
########## Forum Info ##########
$mbname = 'My Community';		# The name of your forum.
$language = 'german';		# The default language file set for the forum.
$boardurl = 'http://localhost/mambo/smf';		# URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'info@mambohosting.org';		# Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = 'SMFCookie10';		# Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'localhost';
$db_name = 'deinDBname';
$db_user = 'root';
$db_passwd = '';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'D://apachefriends//xampp//htdocs//mambo//smf';		# The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'D://apachefriends//xampp//htdocs//mambo//smf//Sources';		# Path to the Sources directory.
Datei index.template.php im verzeichnis /smf/themes/default

noch folgendes ändern

Code:
action=login2 ändern in action=mambo_login
und
action=logout ändern in action=mambo_logout
Zu guter letzt noch in der language file deutsch und englisch diese zeile anpassen

Code:
$txt['welcome_guest'] = 'Willkommen, <b>' . $txt[28] . '</b>. <br/> Bitte einloggen oder <a href="http://localhost/mambo/index.php?option=com_smf_registration&task=register">registrieren</a>.';
!!! Das backend kannst du knicken, die einträge dort funktionieren nicht !!!
Bei mir läuft das geraffel lokal sowie auf dem server und ich glaube das es das jetzt gewesen sein müsste, falls nicht kannst du mir ne emaill schreiben, ich schaue dann nochmal nach.

grüße
__________________
marcus riedewald | http://www.mambohosting.org | eMail info @ mambohosting.org |
and a part of http://mamboportal.ch
strolch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.12.2004, 20:08   #3 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 7
t.marsel is on a distinguished road
Default Re: Probleme mit SMF-Bridge 2.0

Danke für deine Antwort, aber ich konnte bereits das Problem von selbst lösen....

Folgender Fehler, der auf meine Schuld zurückzuführen ist, war der Grund:

Ich habe die Datei MOS_smf.php nur in das Hauptverzeichnis meines Forums kopiert und nicht in das "Sources" Verzeichnis des Forums. In der Anleitung steht, man soll diese Datei in das Source-Verzeichnis von SMF kopieren und ich habe das wohl einfach mit Quellverzeichnis übersetzt und das dann als "Hauptverzeichnis" interpretiert....ein simpler Verständniss-Fehler

Weiters habe ich in der beim $smf_path nicht den Absoluten Pfad angegeben, sondern "http://localhost/mambo/usw...."

Also, sorry, dass ich hier unnötig gefragt habe, wo ich doch mein Problem schlussendlich selbst lösen konnte....

Aber trotzdem Danke für die Hilfe

Mfg
game-freak
t.marsel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Probleme mit JS-Bibliothek overLIB? TomH. Mambo 4.5 Allgemein 5 20.02.2005 01:34
How to integrate SMF Forum in Template using the bridge? nexius Mambo 4.5.1 General Talk 0 13.11.2004 13:04
SMF bridge - SMF admin unavailable afaton Component 'How Do I' Questions 0 31.10.2004 20:20
MOS-SMF Bridge 2.0 beta wolfi Neuigkeiten 5 24.10.2004 17:48


All times are GMT +2. The time now is 19:53.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.