Sie sind nicht angemeldet.

1

Donnerstag, 9. April 2020, 07:58

Fehler nach BackUp

Hallo zusammen,
Ich muss mein Root-Server neu aufsetzten, ich habe vorher ein Komplett BackUp von der Seite & SQL gemacht.
Nun bekomme ich seit tagen diese Fehlermeldung auf meiner Seite:


Deprecated: define(): Declaration of case-insensitive constants is deprecated in /var/www/......./includes/config.inc.php on line 109
ich muss wie im folgenden Code steht die zeilen von true auf false stellen.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 
von true auf false & line 241,263
*/
define('GLOBAL_PAGE_DIR',		$settings['page_dir'], false);
define('GLOBAL_ADDON_DIR',		$settings['page_dir'].'/includes/addons', false);
define('GLOBAL_CSS_DIR',		$settings['page_dir'].'/includes/css', false);
define('GLOBAL_FUNCTIONS_DIR',	$settings['page_dir'].'/includes/functions', false);
define('GLOBAL_JQUERY_DIR',		$settings['page_dir'].'/includes/jquery', false);
define('GLOBAL_LYTEBOX_DIR',	$settings['page_dir'].'/includes/lytebox', false);
define('GLOBAL_MEDIA_DIR',		$settings['page_dir'].'/includes/media', false);
define('GLOBAL_MODULE_DIR',		$settings['page_dir'].'/includes/module', false);
define('GLOBAL_TEMP_DIR',		$settings['page_dir'].'/includes/temp', false);
define('GLOBAL_TEMPLATES_DIR',	$settings['page_dir'].'/includes/templates', false);
define('GLOBAL_TEMPLATE_DIR',	$settings['page_dir'].'/includes/templates/'.$settings['page_template'], false);
define('GLOBAL_UPLOAD_DIR',		$settings['page_dir'].'/includes/upload',true);
define('GLOBAL_WYSIWYG_DIR',	$settings['page_dir'].'/includes/wysiwyg', false);


Kontakfomular:

Quellcode

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
Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 10



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 11



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 12



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 13



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 14



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 15



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 16



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 17



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 19



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 20



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 21



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 22



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 23



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 24



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 25



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 27



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 28



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 29



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 30



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 31



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 33



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 34



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 36



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 37



Deprecated:  define(): Declaration of case-insensitive constants is deprecated in /var/www/..../includes/module/kontaktformular/inc/frontend.language.de.inc.php on line 38

Hat jemand eine Lösung?

Werbung

2

Montag, 13. April 2020, 22:13

Lass den dritten Parameter weg, den braucht es nicht, da „false“ in alten Versionen die Standardeinstellung und in neuen Versionen nicht mehr unterstützt wird.

Also so:
define('GLOBAL_PAGE_DIR', $settings['page_dir']);

Überall das „false“ wegnehmen. Sollte funktionieren.

PS. Du scheinst eine PHP Version ab 7 zu nutzen. Ich weiss nicht, wie aktuell das CMS auf diese Version geportet wurde. Könnte, muss aber nicht, noch weitere Fehler geben.

Werbung

3

Dienstag, 14. April 2020, 08:00

Halol Prime,define('GLOBAL_PAGE_DIR', $settings['page_dir']);

damit läuft es Danke
Ja nutzt PHP7,3

Werbung