Problem with the registry on my homepage

03/16/2014 14:38 #SpongeB0ZZ##1
Kann mir jemand bitte bei das problem helfen ich weiß nicht was ich verändern soll damit es geht

----------

Can someone please help with the problem I do not know what I should change so it goes

[Only registered and activated users can see links. Click Here To Register...]
03/16/2014 14:41 serbansubs#2
You connection with ODBC database are wrong,check details again :)
03/16/2014 14:46 #SpongeB0ZZ##3
where should I check oO
03/16/2014 15:37 glossypvp#4
Let me give real help.
So it says ms_con variable is not defined.
I guess you are using mssql_connect function, or odbc_connect and it's not defined.

Check your config file, or that file where your script is connecting to the database. It can be a mistype maybe.

If your script is connecting to the db with a pre-defined function, like:
PHP Code:
function connect_to_db () {
   ...

Use global variables, like $GLOBALS['ms_con'].
03/16/2014 16:01 Syntaxfehler#5
Stehen in "includes/config.php" die richtigen MSSQL-Daten drin?
03/17/2014 06:58 #SpongeB0ZZ##6
Quote:
Originally Posted by Syntaxfehler View Post
Stehen in "includes/config.php" die richtigen MSSQL-Daten drin?
Ja gerade nochmal gecheckt stehen richtig drin.
03/18/2014 15:51 Syntaxfehler#7
Quote:
Originally Posted by #SpongeB0ZZ# View Post
Ja gerade nochmal gecheckt stehen richtig drin.
Hm, okay - vielleicht ist deine Version auch verbuggt, ich kenne das Veröffentliche nicht.

Ich kann jetzt nur Vermutungen anstellen.

Steht in der config.php etwas von $gcon? Wenn Ja, benenne es in $ms_con um, wenn Nein: Keine Ahnung.
03/18/2014 17:29 #SpongeB0ZZ##8
Quote:
Originally Posted by Syntaxfehler View Post
Hm, okay - vielleicht ist deine Version auch verbuggt, ich kenne das Veröffentliche nicht.

Ich kann jetzt nur Vermutungen anstellen.

Steht in der config.php etwas von $gcon? Wenn Ja, benenne es in $ms_con um, wenn Nein: Keine Ahnung.
Ok werde ich mal schauen
03/19/2014 09:54 Weom#9
Code:
$gcon = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS);
Bennene das mal in:
Code:
$ms_con = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS);
um.
03/19/2014 13:40 Syntaxfehler#10
Quote:
Originally Posted by Weom View Post
Code:
$gcon = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS);
Bennene das mal in:
Code:
$ms_con = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS);
um.
Ist ja nicht so, dass ich genau das geschrieben habe.
03/19/2014 14:02 Weom#11
Quote:
Originally Posted by Syntaxfehler View Post
Ist ja nicht so, dass ich genau das geschrieben habe.
Ist ja so, dass ich alles lese was andere schreiben.
03/19/2014 15:36 #SpongeB0ZZ##12
Ich habe das umgeändert, was ihr mir geschrieben habt :)
aber jetzt kommt noch so ein Fehler <.<

[Only registered and activated users can see links. Click Here To Register...]
03/19/2014 19:02 Syntaxfehler#13
In der Tabelle TACCOUNT musst du die Spalte "szMail" erstellen - Typ: varchar

Und du brauchst die TACCOUNT_BACKUP-Tabelle, die muss dasselbe beinhalten wie die TACCOUNT-Tabelle.

Quote:
Originally Posted by Weom View Post
Ist ja so, dass ich alles lese was andere schreiben.
Genau.
03/20/2014 06:19 #SpongeB0ZZ##14
Quote:
Originally Posted by Syntaxfehler View Post
In der Tabelle TACCOUNT musst du die Spalte "szMail" erstellen - Typ: varchar

Und du brauchst die TACCOUNT_BACKUP-Tabelle, die muss dasselbe beinhalten wie die TACCOUNT-Tabelle.



Genau.
Habe die Tabellen erstellt, der Fehler bleibt aber trz. ._.
03/20/2014 09:28 michamo#15
you can use other registers:)

[Only registered and activated users can see links. Click Here To Register...] :)