Issues (1149)

upgrade/language/english/install.php (1 issue)

1
<?php
2
3
define('_INSTALL_L0', 'Welcome to the Install Wizard for XOOPS 2.0');
4
define('_INSTALL_L70',
5
       'Please change the file permission for mainfile.php so that it is writeable by the server (i.e. chmod 777 mainfile.php on a UNIX/LINUX server, or check the properties of the file and make sure the read-only flag is not set on a Windows server ). Reload this page once you have changed the permission setting.');
6
//define("_INSTALL_L71","Click on the button below to begin the installation.");
0 ignored issues
show
Unused Code Comprehensibility introduced by
86% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
7
define('_INSTALL_L1', 'Open mainfile.php with your text editor and find the following codes on line 31:');
8
define('_INSTALL_L2', 'Now, change this line to:');
9
define('_INSTALL_L3', 'Next, on line 35, change %s to %s');
10
define('_INSTALL_L4', 'OK, I have set the above setings, let me try again!');
11
define('_INSTALL_L5', 'WARNING!');
12
define('_INSTALL_L6', 'There is a mismatch between your XOOPS_ROOT_PATH configuration on line 31 of mainfile.php and the root path info we have detected.');
13
define('_INSTALL_L7', 'Your setting: ');
14
define('_INSTALL_L8', 'We detected: ');
15
define('_INSTALL_L9', '( On MS platforms, you may receive this error message even when your configuration is correct. If that is the case, please press the button below to continue)');
16
define('_INSTALL_L10', 'Plesae press the button below to continue if this is really ok.');
17
define('_INSTALL_L11', 'The server path to your XOOPS root directory: ');
18
define('_INSTALL_L12', 'URL to your XOOPS root directory: ');
19
define('_INSTALL_L13', 'If the above setting is correct, press the button below to continue.');
20
define('_INSTALL_L14', 'Next');
21
define('_INSTALL_L15', 'Please open mainfile.php and enter required DB settings data');
22
define('_INSTALL_L16', '%s is the hostname of your database server.');
23
define('_INSTALL_L17', '%s is the username of your database account.');
24
define('_INSTALL_L18', '%s is the password required to access your database.');
25
define('_INSTALL_L19', '%s is the name of your database in which XOOPS tables will be created.');
26
define('_INSTALL_L20', '%s is the prefix for tables that will be made during the installation.');
27
define('_INSTALL_L21', 'The following database was not found on the server:');
28
define('_INSTALL_L22', 'Attempt to create it?');
29
define('_INSTALL_L23', 'Yes');
30
define('_INSTALL_L24', 'No');
31
define('_INSTALL_L25', 'We have detected the following database information from your configuration in mainfile.php. Please fix it now if this is not correct.');
32
define('_INSTALL_L26', 'Database Configuration');
33
define('_INSTALL_L51', 'Database');
34
define('_INSTALL_L66', 'Choose the database to be used');
35
define('_INSTALL_L27', 'Database Hostname');
36
define('_INSTALL_L67', "Hostname of the database server. If you are unsure, 'localhost' works in most cases.");
37
define('_INSTALL_L28', 'Database Username');
38
define('_INSTALL_L65', 'Your database user account on the host');
39
define('_INSTALL_L29', 'Database Name');
40
define('_INSTALL_L64', 'The name of database on the host. The installer will attempt to create the database if not exist');
41
define('_INSTALL_L52', 'Database Password');
42
define('_INSTALL_L68', 'Password for your database user account');
43
define('_INSTALL_L30', 'Table Prefix');
44
define('_INSTALL_L63', "This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.");
45
define('_INSTALL_L54', 'Use persistent connection?');
46
define('_INSTALL_L69', "Default is 'NO'. Choose 'NO' if you are unsure.");
47
define('_INSTALL_L55', 'XOOPS Physical Path');
48
define('_INSTALL_L59', 'Physical path to your main XOOPS directory WITHOUT trailing slash');
49
define('_INSTALL_L56', 'XOOPS Virtual Path (URL)');
50
define('_INSTALL_L58', 'Virtual path to your main XOOPS directory WITHOUT trailing slash');
51
52
define('_INSTALL_L31', 'Could not create database. Contact the server administrator for details.');
53
define('_INSTALL_L32', 'Installation Complete');
54
define('_INSTALL_L33', "Click <a href='../index.php'>HERE</a> to see the home page of your site.");
55
define('_INSTALL_L35', "If you had any errors, please contact the dev team at <a href='http://www.xoops.org/' target='_blank'>XOOPS.org</a>");
56
define('_INSTALL_L36', "Please choose your site admin's name and password.");
57
define('_INSTALL_L37', 'Admin Name');
58
define('_INSTALL_L38', 'Admin Email');
59
define('_INSTALL_L39', 'Admin Password');
60
define('_INSTALL_L74', 'Confirm Password');
61
define('_INSTALL_L40', 'Create Tables');
62
define('_INSTALL_L41', 'Please go back and type in all the required info.');
63
define('_INSTALL_L42', 'Back');
64
define('_INSTALL_L57', 'Please enter %s');
65
66
// %s is database name
67
define('_INSTALL_L43', 'Database %s created!');
68
69
// %s is table name
70
define('_INSTALL_L44', 'Unable to make %s');
71
define('_INSTALL_L45', 'Table %s created.');
72
73
define('_INSTALL_L46',
74
       "In order for the modules included in the package to work correctly, the following files must be writeable by the server. Please change the permission setting for these files. (i.e. 'chmod 666 file_name' and 'chmod 777 dir_name' on a UNIX/LINUX server, or check the properties of the file and make sure the read-only flag is not set on a Windows server)");
75
define('_INSTALL_L47', 'Next');
76
77
define('_INSTALL_L53', 'Please confirm the following submitted data:');
78
79
define('_INSTALL_L60', 'Could not write into mainfile.php. Please check the file permission and try again.');
80
define('_INSTALL_L61', 'Could not write to mainfile.php. Contact the server administrator for details.');
81
define('_INSTALL_L62', 'Configuration data has been saved successfully to mainfile.php.');
82
define('_INSTALL_L72', "The following directories must be created with the write permission by the server. (i.e. 'chmod 777 directory_name' on a UNIX/LINUX server)");
83
define('_INSTALL_L73', 'Invalid Email');
84
85
// add by haruki
86
define('_INSTALL_L80', 'introduction');
87
define('_INSTALL_L81', 'check file permissions');
88
define('_INSTALL_L82', 'Checking file and directory permissions..');
89
define('_INSTALL_L83', 'File %s is NOT writable.');
90
define('_INSTALL_L84', 'File %s is writable.');
91
define('_INSTALL_L85', 'Directory %s is NOT writable.');
92
define('_INSTALL_L86', 'Directory %s is writable.');
93
define('_INSTALL_L87', 'No errors detected.');
94
define('_INSTALL_L89', 'general settings');
95
define('_INSTALL_L90', 'General configuration');
96
define('_INSTALL_L91', 'confirm');
97
define('_INSTALL_L92', 'save settings');
98
define('_INSTALL_L93', 'modify settings');
99
define('_INSTALL_L88', 'Saving configuration data..');
100
define('_INSTALL_L94', 'check path & URL');
101
define('_INSTALL_L127', 'Checking file path & URL settings..');
102
define('_INSTALL_L95', 'Could not detect the physical path to your XOOPS directory.');
103
define('_INSTALL_L96', 'There is a conflict between the detected physical path (%s) and the one you input.');
104
define('_INSTALL_L97', '<b>Physical path</b> is correct.');
105
106
define('_INSTALL_L99', '<b>Physical path</b> must be a directory.');
107
define('_INSTALL_L100', '<b>Virtual path</b> is a valid URL.');
108
define('_INSTALL_L101', '<b>Virtual path</b> is not a valid URL.');
109
define('_INSTALL_L102', 'confirm database settings');
110
define('_INSTALL_L103', 'restart from the beginning');
111
define('_INSTALL_L104', 'check database');
112
define('_INSTALL_L105', 'atempt to create database');
113
define('_INSTALL_L106', 'Could not connect to the database server.');
114
define('_INSTALL_L107', 'Please check the database server and its configuration.');
115
define('_INSTALL_L108', 'Connection to database server is OK.');
116
define('_INSTALL_L109', 'Database %s does not exists.');
117
define('_INSTALL_L110', 'Database %s exists and connectable.');
118
define('_INSTALL_L111', 'Database connection is OK.<br>Press the button below to create database tables.');
119
define('_INSTALL_L112', 'admin user setting');
120
define('_INSTALL_L113', 'Table %s deleted.');
121
define('_INSTALL_L114', 'Failed creating database tables.');
122
define('_INSTALL_L115', 'Database tables created.');
123
define('_INSTALL_L116', 'insert data');
124
define('_INSTALL_L117', 'finish');
125
126
define('_INSTALL_L118', 'Failed creating table %s.');
127
define('_INSTALL_L119', '%d entries inserted to table %s.');
128
define('_INSTALL_L120', 'Failed inserting %d entries to table %s.');
129
130
define('_INSTALL_L121', 'Constant %s written to %s.');
131
define('_INSTALL_L122', 'Failed writing constant %s.');
132
133
define('_INSTALL_L123', 'File %s stored in cache/ directory.');
134
define('_INSTALL_L124', 'Failed storing file %s to cache/ directory.');
135
136
define('_INSTALL_L125', 'File %s overwritten by %s.');
137
define('_INSTALL_L126', 'Could not write to file %s.');
138
139
define('_INSTALL_L130', 'The installer has detected tables for XOOPS 1.3.x in your database.<br>The installer will now attempt to upgrade your database to XOOPS2.');
140
define('_INSTALL_L131', 'Tables for XOOPS2 already exist in your database.');
141
define('_INSTALL_L132', 'update tables');
142
define('_INSTALL_L133', 'Table %s updated.');
143
define('_INSTALL_L134', 'Failed updating table %s.');
144
define('_INSTALL_L135', 'Failed updating database tables.');
145
define('_INSTALL_L136', 'Database tables updated.');
146
define('_INSTALL_L137', 'update modules');
147
define('_INSTALL_L138', 'update comments');
148
define('_INSTALL_L139', 'update avatars');
149
define('_INSTALL_L140', 'update smilies');
150
define('_INSTALL_L141', 'The installer will now update each module to work with XOOPS2.<br>Make sure that you have uploaded all files in XOOPS2 package to your server.<br>This may take a while to complete.');
151
define('_INSTALL_L142', 'Updating modules..');
152
define('_INSTALL_L143', 'The installer will now update configuration data of XOOPS 1.3.x to be used with XOOPS2.');
153
define('_INSTALL_L144', 'update config');
154
define('_INSTALL_L145', 'Comment (ID: %s) inserted to the database.');
155
define('_INSTALL_L146', 'Could not insert comment (ID: %s) to the database.');
156
define('_INSTALL_L147', 'Updating comments..');
157
define('_INSTALL_L148', 'Update complete.');
158
define('_INSTALL_L149', 'The installer will now update comment posts in XOOPS 1.3.x to be used in XOOPS2.<br>This may take a while to complete.');
159
define('_INSTALL_L150', 'The installer will now update the smiley and user rank images to be used with XOOPS2.<br>This may take a while to complete.');
160
define('_INSTALL_L151', 'The installer will now update the user avatar images to be used in XOOPS2.<br>This may take a while to complete.');
161
define('_INSTALL_L155', 'Updating smiley/rank images..');
162
define('_INSTALL_L156', 'Updating user avatar images..');
163
define('_INSTALL_L157', 'Select the default user group for each group type');
164
define('_INSTALL_L158', 'Groups in 1.3.x');
165
define('_INSTALL_L159', 'Webmasters');
166
define('_INSTALL_L160', 'Register Users');
167
define('_INSTALL_L161', 'Anonymous Users');
168
define('_INSTALL_L162', 'You must select a default group for each group type.');
169
define('_INSTALL_L163', 'Table %s dropped.');
170
define('_INSTALL_L164', 'Failed deleting table %s.');
171
define('_INSTALL_L165', 'The site is currently closed for maintainance. Please come back later.');
172
173
// %s is filename
174
define('_INSTALL_L152', 'Could not open %s.');
175
define('_INSTALL_L153', 'Could not update %s.');
176
define('_INSTALL_L154', '%s updated.');
177
178
define('_INSTALL_L128', 'Choose language to be used for the installation process');
179
define('_INSTALL_L200', 'Reload');
180
181
define('_INSTALL_CHARSET', 'ISO-8859-1');
182
define('_MU_UPDATE', 'Upgrade EFQ Directory');
183