You are not logged in.

  • Login
Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

K4w4

User / Kunde

  • "K4w4" is male
  • "K4w4" started this thread

Posts: 151

Location: Flensburg

Occupation: Schüler

  • Send private message

1

Thursday, June 26th 2014, 4:42pm

| RootServer | Linux | PhpMyAdmin | Fehler |

Hey wenn ich auf meine Website gehe (http://**.21*.**0.*/phpmyadmin/) gehe komm nicht die phpmyadminseite sondern das:

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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * forms frameset
 *
 * @uses    $GLOBALS['cfg']['QueryHistoryDB']
 * @uses    $GLOBALS['cfg']['Server']['user']
 * @uses    $GLOBALS['cfg']['DefaultTabServer']     as src for the mainframe
 * @uses    $GLOBALS['cfg']['DefaultTabDatabase']   as src for the mainframe
 * @uses    $GLOBALS['cfg']['NaviWidth']            for navi frame width
 * @uses    $GLOBALS['collation_connection']    from $_REQUEST (grab_globals.lib.php)
 *                                              or common.inc.php
 * @uses    $GLOBALS['available_languages'] from common.inc.php (select_lang.lib.php)
 * @uses    $GLOBALS['db']
 * @uses    $GLOBALS['charset']
 * @uses    $GLOBALS['lang']
 * @uses    $GLOBALS['text_dir']
 * @uses    $_ENV['HTTP_HOST']
 * @uses    PMA_getRelationsParam()
 * @uses    PMA_purgeHistory()
 * @uses    PMA_generate_common_url()
 * @uses    PMA_VERSION
 * @uses    session_write_close()
 * @uses    time()
 * @uses    PMA_getenv()
 * @uses    header()                to send charset
 * @package phpMyAdmin
 */

/**
 * Gets core libraries and defines some variables
 */
require_once './libraries/common.inc.php';

// free the session file, for the other frames to be loaded
session_write_close();

// Gets the host name
if (empty($HTTP_HOST)) {
    if (PMA_getenv('HTTP_HOST')) {
        $HTTP_HOST = PMA_getenv('HTTP_HOST');
    } else {
        $HTTP_HOST = '';
    }
}


// purge querywindow history
$cfgRelation = PMA_getRelationsParam();
if ($GLOBALS['cfg']['QueryHistoryDB'] && $cfgRelation['historywork']) {
    PMA_purgeHistory($GLOBALS['cfg']['Server']['user']);
}
unset($cfgRelation);


/**
 * pass variables to child pages
 */
$drops = array('lang', 'server', 'collation_connection',
    'db', 'table');

foreach ($drops as $each_drop) {
    if (array_key_exists($each_drop, $_GET)) {
        unset($_GET[$each_drop]);
    }
}
unset($drops, $each_drop);

if (! strlen($GLOBALS['db'])) {
    $main_target = $GLOBALS['cfg']['DefaultTabServer'];
} elseif (! strlen($GLOBALS['table'])) {
    $_GET['db'] = $GLOBALS['db'];
    $main_target = $GLOBALS['cfg']['DefaultTabDatabase'];
} else {
    $_GET['db'] = $GLOBALS['db'];
    $_GET['table'] = $GLOBALS['table'];
    $main_target = $GLOBALS['cfg']['DefaultTabTable'];
}

$url_query = PMA_generate_common_url($_GET);

if (isset($GLOBALS['target']) && is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
    $main_target = $GLOBALS['target'];
}

$main_target .= $url_query;

$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][1];


// start output
include ('./libraries/header_http.inc.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="<?php echo $lang_iso_code; ?>"
    lang="<?php echo $lang_iso_code; ?>"
    dir="<?php echo $GLOBALS['text_dir']; ?>">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin <?php echo PMA_VERSION; ?> -
    <?php echo htmlspecialchars($HTTP_HOST); ?></title>
<meta http-equiv="Content-Type"
    content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
<meta name="robots" content="noindex,nofollow" />
<script type="text/javascript">
// <![CDATA[
    // definitions used in common.js
    var common_query = '<?php echo PMA_escapeJsString(PMA_generate_common_url('', '', '&'));?>';
    var opendb_url = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['DefaultTabDatabase']); ?>';
    var safari_browser = <?php echo PMA_USR_BROWSER_AGENT == 'SAFARI' ? 'true' : 'false' ?>;
    var querywindow_height = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowHeight']); ?>;
    var querywindow_width = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowWidth']); ?>;
    var collation_connection = '<?php echo PMA_escapeJsString($GLOBALS['collation_connection']); ?>';
    var lang = '<?php echo PMA_escapeJsString($GLOBALS['lang']); ?>';
    var server = '<?php echo PMA_escapeJsString($GLOBALS['server']); ?>';
    var table = '<?php echo PMA_escapeJsString($GLOBALS['table']); ?>';
    var db    = '<?php echo PMA_escapeJsString($GLOBALS['db']); ?>';
    var token = '<?php echo PMA_escapeJsString($_SESSION[' PMA_token ']); ?>';
    var text_dir = '<?php echo PMA_escapeJsString($GLOBALS['text_dir']); ?>';
    var pma_absolute_uri = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['PmaAbsoluteUri']); ?>';
    var pma_text_default_tab = '<?php echo PMA_escapeJsString(PMA_getTitleForTarget($GLOBALS['cfg']['DefaultTabTable'])); ?>';
    var pma_text_left_default_tab = '<?php echo PMA_escapeJsString(PMA_getTitleForTarget($GLOBALS['cfg']['LeftDefaultTabTable'])); ?>';

    // for content and navigation frames

    var frame_content = 0;
    var frame_navigation = 0;
    function getFrames() {
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
        frame_content = window.frames[1];
        frame_navigation = window.frames[0];
<?php } else { ?>
        frame_content = window.frames[0];
        frame_navigation = window.frames[1];
<?php } ?>
    }
    var onloadCnt = 0;
    var onLoadHandler = window.onload;
    window.onload = function() {
        if (onloadCnt == 0) {
            if (typeof(onLoadHandler) == "function") {
                onLoadHandler();
            }
            if (typeof(getFrames) != 'undefined' && typeof(getFrames) == 'function') {
                getFrames();
            }
            onloadCnt++;
        }
    };
// ]]>
</script>
<?php
echo PMA_includeJS('jquery/jquery-1.4.4.js');
echo PMA_includeJS('update-location.js');
echo PMA_includeJS('common.js');
?>
</head>
<frameset cols="<?php
if ($GLOBALS['text_dir'] === 'rtl') {
    echo '*,';
}
echo $GLOBALS['cfg']['NaviWidth'];
if ($GLOBALS['text_dir'] === 'ltr') {
    echo ',*';
}
?>" rows="*" id="mainFrameset">
    <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
    <frame frameborder="0" id="frame_navigation"
        src="navigation.php<?php echo $url_query; ?>"
        name="frame_navigation" />
    <?php } ?>
    <frame frameborder="0" id="frame_content"
        src="<?php echo $main_target; ?>"
        name="frame_content" />
    <?php if ($GLOBALS['text_dir'] === 'rtl') { ?>
    <frame frameborder="0" id="frame_navigation"
        src="navigation.php<?php echo $url_query; ?>"
        name="frame_navigation" />
    <?php } ?>
    <noframes>
        <body>
            <p><?php echo __('phpMyAdmin is more friendly with a <b>frames-capable</b> browser.'); ?></p>
        </body>
    </noframes>
</frameset> </html>



Hab schon neuinstalliert nichts funkt .... :/

Java-Quelltext

1
2
3
if(isCoding("K4w4")) {
     player.sendMessage("@mcf_ ist der Beste!");
}

  • "sondereinsatzkommando" is male

Posts: 4,140

Thanks: 16

  • Send private message

2

Thursday, June 26th 2014, 5:05pm

Ist PHP auf dem Webserver installiert?
Who will fix me now? Dive in when I'm down?
Save me from myself, DON'T LET ME DROWN :love:

K4w4

User / Kunde

  • "K4w4" is male
  • "K4w4" started this thread

Posts: 151

Location: Flensburg

Occupation: Schüler

  • Send private message

3

Thursday, June 26th 2014, 5:07pm

Ist PHP Auf dem Webserver Installiert?
Ja habe ich installiert mit apt-get install php5 !

Java-Quelltext

1
2
3
if(isCoding("K4w4")) {
     player.sendMessage("@mcf_ ist der Beste!");
}

  • "sondereinsatzkommando" is male

Posts: 4,140

Thanks: 16

  • Send private message

4

Thursday, June 26th 2014, 5:12pm

Installier die Pakete libapache2-mod-php5 und php5-mysql auch nochmal und starte den Webserver neu.
Who will fix me now? Dive in when I'm down?
Save me from myself, DON'T LET ME DROWN :love:

K4w4

User / Kunde

  • "K4w4" is male
  • "K4w4" started this thread

Posts: 151

Location: Flensburg

Occupation: Schüler

  • Send private message

5

Thursday, June 26th 2014, 5:15pm

Installier sterben Pakete libapache2-mod-php5 und php5-mysql verfügbar nochmal und Starte Höhle Webserver neu.
Andert Sich Stern Habe jetzt das.. Gemacht .. (Hatte es BEREITS Installiert):



root@X100:~# apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@X100:~# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@X100:~# /etc/init.d/apache2 restart
[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using *1.*14.***.* for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using *1.**4.***.8 for ServerName
. ok

Java-Quelltext

1
2
3
if(isCoding("K4w4")) {
     player.sendMessage("@mcf_ ist der Beste!");
}

  • "sondereinsatzkommando" is male

Posts: 4,140

Thanks: 16

  • Send private message

6

Thursday, June 26th 2014, 5:23pm

Erstell' mal ne test.php mit folgendem Inhalt:

PHP Source code

1
2
3
<?php
phpinfo();
?>


Anschließend rufst du die test.php auf.
Who will fix me now? Dive in when I'm down?
Save me from myself, DON'T LET ME DROWN :love:

K4w4

User / Kunde

  • "K4w4" is male
  • "K4w4" started this thread

Posts: 151

Location: Flensburg

Occupation: Schüler

  • Send private message

7

Thursday, June 26th 2014, 5:32pm

Erstell' mal ne test.php mit folgendem Inhalt:

PHP Source code

1
2
3
<?php
phpinfo();
?>


Anschließend rufst du die test.php auf.
Wir auch so angezeigt:

PHP Source code

1
2
3
<?php
phpinfo();
?>

Java-Quelltext

1
2
3
if(isCoding("K4w4")) {
     player.sendMessage("@mcf_ ist der Beste!");
}

maxs97

User / Kunde

  • "maxs97" is male

Posts: 1,358

Location: /root

Occupation: Schüler /Administrator

Thanks: 36

  • Send private message

8

Friday, June 27th 2014, 6:23am

A2enmod php5?
Ansonsten hast du vlt das falsche mpm installiert, Versuch mal : apt-get install apache2-mpm-prefork

kocacola97

User / Kunde

  • "kocacola97" is male

Posts: 117

Location: Germany, NRW

Occupation: Schüler

Thanks: 2

  • Send private message

9

Wednesday, July 16th 2014, 7:34pm

PHP wird wohl nicht funktionieren ^^ Hast du es schonmal neu installiert?

Rgds,
Kocacola

  • "sondereinsatzkommando" is male

Posts: 4,140

Thanks: 16

  • Send private message

10

Wednesday, July 16th 2014, 7:37pm

Wenn du dir mal die Posts davor durchgeoesen hättest, wüsstest du, dass das bereits getan wurde.
Who will fix me now? Dive in when I'm down?
Save me from myself, DON'T LET ME DROWN :love:

dethfighter

User / Kunde

Posts: 557

  • Send private message

11

Wednesday, July 16th 2014, 8:47pm

versuchen die Apache IP auf local zu setzen? :)

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net