Monday, May 21st 2012, 10:02pm UTC+2

You are not logged in.

  • Login
  • Register

1

Wednesday, November 3rd 2010, 10:50am

Wunschbox aufrufen

Hallo

ich habe die Suchfunktion schon genutzt aber nix gefunden. Ich habe alles ordnungsgemäß installiert hat auch keine fehler gebracht wenn ich aber jetzt auf fertig stellen und zur wunschbox klicke dann kommt folgender fehler

Fatal error: Cannot redeclare class RootConfig in /www/htdocs/w00bfad5/Wunschbox/inc/config.php on line 48

kann damit gar nichts anfangen weil normalerweise in der Zeile 48 nichts steht???

Über Hilfe wäre ich äußerst Dankbar

MfG Black



Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

2

Wednesday, November 3rd 2010, 10:52am

Hallo Black, welche PHP-Version benutzt du den auf dem Server?

lg Cluster


3

Wednesday, November 3rd 2010, 3:54pm

ich hab diese versionen alle zur verfügung
5.2.12 / 5.2.12 / 4.4.9 / 5.3.1

Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

4

Wednesday, November 3rd 2010, 11:17pm

Kannst du einmal in die config.php auf deinem Webspace schauen (FTP)?
Eigentlich müsste da schon mehr drin stehen ;)


5

Thursday, November 4th 2010, 3:15pm

also meine config sieht so aus wenns hilft

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
// ####################################################################################################
// # Wunschbox v2.0.0 #
// ####################################################################################################
// # Copyright ? 2009 by Raphael Bornhauser (kintaro) #
// # Contact: [email]admin@kintaro.ch[/email] #
// # Homepage: [url]http://www.kintaro.ch[/url] #
// # Based on Wunschbox v1.3.3 by Andreas Bieder (Cluster) #
// ####################################################################################################
// # Leave this header in every file !!! #
// # #
// ####################################################################################################
// # Sichtbare und unsichtbare Copyright Hinweise dürfen ohne ausdrückliche Zustimmungen #
// # der Urheberrechte-Inhaber (wie oben) nicht entfernt oder verändert werden. #
// # Weitere Infos zum Copyright: [b]Sonstiges[/b] [url='http://www.funcom.at/wbb/wunschbox-script/428-copyrightverweis/']Copyrightverweis[/url] #
// ####################################################################################################
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
if (!defined('SCRIPTNAME')) {
echo 'Unzul&auml;ssiger Scriptaufruf';
exit;
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?>

Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

6

Thursday, November 4th 2010, 3:22pm

Das Problem ist wohl, dass der während der Installation des Scriptes die Seite neu geladen wurde (F5 oder Rücktaste), auf jeden Fall, wurde die Operation für die Zugangsdaten der Datenbank ein paar Mal ausgeführt.

Reduziere den Inhalt von:

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
// ####################################################################################################
// # Wunschbox v2.0.0 #
// ####################################################################################################
// # Copyright ? 2009 by Raphael Bornhauser (kintaro) #
// # Contact: [email]admin@kintaro.ch[/email] #
// # Homepage: [url]http://www.kintaro.ch[/url] #
// # Based on Wunschbox v1.3.3 by Andreas Bieder (Cluster) #
// ####################################################################################################
// # Leave this header in every file !!! #
// # #
// ####################################################################################################
// # Sichtbare und unsichtbare Copyright Hinweise dürfen ohne ausdrückliche Zustimmungen #
// # der Urheberrechte-Inhaber (wie oben) nicht entfernt oder verändert werden. #
// # Weitere Infos zum Copyright: [b]Sonstiges[/b] [url='http://www.funcom.at/wbb/wunschbox-script/428-copyrightverweis/']Copyrightverweis[/url] #
// ####################################################################################################
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
if (!defined('SCRIPTNAME')) {
echo 'Unzul&auml;ssiger Scriptaufruf';
exit;
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?>



auf:

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
// ####################################################################################################
// # Wunschbox v2.0.0 #
// ####################################################################################################
// # Copyright ? 2009 by Raphael Bornhauser (kintaro) #
// # Contact: [email]admin@kintaro.ch[/email] #
// # Homepage: [url]http://www.kintaro.ch[/url] #
// # Based on Wunschbox v1.3.3 by Andreas Bieder (Cluster) #
// ####################################################################################################
// # Leave this header in every file !!! #
// # #
// ####################################################################################################
// # Sichtbare und unsichtbare Copyright Hinweise dürfen ohne ausdrückliche Zustimmungen #
// # der Urheberrechte-Inhaber (wie oben) nicht entfernt oder verändert werden. #
// # Weitere Infos zum Copyright: [b]Sonstiges[/b] [url='http://www.funcom.at/wbb/wunschbox-script/428-copyrightverweis/']Copyrightverweis[/url] #
// ####################################################################################################
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
if (!defined('SCRIPTNAME')) {
echo 'Unzul&auml;ssiger Scriptaufruf';
exit;
}
?><?php
class RootConfig
{

var $HOST "localhost";
var $USER "d00f25a9";
var $PW "******";
var $DB "d00f25a9";
var $PREFIX "wb_";
}
?>


Und dann überprüf noch, ob die Zugangsdaten der SQL Datenbank korrekt sind.

lg Cluster


7

Friday, November 5th 2010, 6:53am

Kann nur tausendmal danke sagen wie das passieren konnte keine Ahnung funktioniert alles bestens dankeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee echt toller support hier muß ich sagen ..... weiter so

Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

8

Friday, November 5th 2010, 11:14am

Keine Ursache, viel Spaß mit der Wunschbox :)