-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.php
105 lines (99 loc) · 10.2 KB
/
install.php
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
<?php
// Language definitions used in install.php
$lang_install = array(
// Install Form
'Install PunBB' => 'Install PunBB %s',
'Choose language' => 'Change installer language',
'Choose language help' => 'You can change the language of this install script if you find it easier to follow the instructions in your own language. Just choose your language from the list of installed ones below.',
'Installer language' => 'Installer language:',
'Choose language legend' => 'Installer language',
'Install intro' => 'In order to install PunBB you must complete the form set out below. Please read the instructions provided before completing the form. If you encounter any difficulties with the installation, please refer to the documentation supplied as part of PunBB\'s download package.',
'Part1' => 'Part 1 — Database setup',
'Part1 intro' => 'Please enter the requested information in order to setup your database for PunBB. You must know all the information asked for before proceeding with the installation. Help with completing this part of the form is set out below.',
'Database type' => 'Database type',
'Database name' => 'Database name',
'Database server' => 'Database server',
'Database username' => 'Database username',
'Database password' => 'Database password',
'Database user pass' => 'Database username and password',
'Table prefix' => 'Table prefix',
'Database type info' => 'PunBB currently supports MySQL, PostgreSQL and SQLite. If your database of choice is missing from the drop-down menu below, it means this PHP environment does not have support for that particular database. More information regarding support for particular versions of each database can be found in the FAQ.',
'Mysql type info' => 'PunBB has detected that your PHP environment supports two different ways of communicating with MySQL. The two options are called "<em>standard</em>" and "<em>improved</em>". If you are uncertain which one to use, start by trying improved and if that fails, try standard.',
'Database server info' => 'Enter the address of the database server (example: <em>localhost</em>, <em>mysql1.example.com</em> or <em>208.77.188.166</em>). You can specify a custom port number if your database doesn\'t run on the default port (example: <em>localhost:3580</em>). For SQLite support, just enter anything or leave it at \'localhost\'.',
'Database name info' => 'Enter the name of the database that PunBB will be installed into. The database must exist. For SQLite, this is the relative path to the database file. If the SQLite database file does not exist, PunBB will attempt to create it.',
'Database username info' => 'Enter the username and password used for connecting to the selected database. Ignore for SQLite.',
'Table prefix info' => 'Optional — enter a database table prefix. By specifying a table prefix you can run multiple copies of PunBB in the same database (example: <em>foo_</em>).',
'Part1 legend' => 'Database information',
'Database type help' => 'Select type of database.',
'Database server help' => 'The address of your database server. For SQLite enter anything.',
'Database name help' => 'Existing database PunBB will be installed to.',
'Database username help' => 'For database connection. Ignore for SQLite.',
'Database password help' => 'For database connection. Ignore for SQLite.',
'Table prefix help' => 'Optional database table prefix e.g. "foo_".',
'Part2' => 'Part 2 — Forum Administrator setup',
'Part2 legend' => 'Administrator\'s details',
'Part2 intro' => 'Please enter the requested information in order to setup an administrator account for your PunBB installation. You can create more administrators and moderators later.',
'Admin username' => 'Admin\'s username',
'Admin password' => 'Admin\'s password',
'Admin confirm password' => 'Confirm password',
'Admin e-mail' => 'Admin\'s email',
'Username help' => 'Between 2 and 25 characters.',
'Password help' => 'Minimum 4 characters. cAsE sEnsiTive.',
'Confirm password help' => 'Re-enter exactly as before.',
'E-mail address help' => 'A valid current email address for the forum administrator.',
'Part3' => 'Part 3 — Forum setup',
'Part3 legend' => 'Forum information',
'Part3 intro' => 'Please enter the requested information. Pay particular attention to entering your base URL and read the instructions set out below carefully.',
'Base URL' => 'Base URL',
'Base URL info' => 'Please pay particular attention when entering your Base URL. You must set the correct Base URL or your forum will not work properly. The Base URL is the URL (without trailing slash) of your PunBB forum (example: <em>http://forum.example.com</em> or <em>http://example.com/~myuser</em>). Please note that the preset value below is just an educated guess by PunBB.',
'Base URL help' => 'The URL (without trailing slash) of your PunBB installation.',
'Pun repository' => 'Pun repository',
'Pun repository help' => 'Install pun_repository extension (one-click extension downloader) after forum installation.',
'Start install' => 'Start install', // Label for submit button
'Required' => '(Required)',
'Required warn' => 'All fields with bold label must be completed before this form is submitted.',
// Install errors
'No database support' => 'This PHP environment does not have support for any of the databases that PunBB supports. PHP needs to have support for either MySQL, PostgreSQL or SQLite in order for PunBB to be installed.',
'Missing database name' => 'You must enter a database name. Please go back and correct.',
'Username too long' => 'Usernames must be no more than 25 characters long. Please go back and correct.',
'Username too short' => 'Usernames must be at least 2 characters long. Please go back and correct.',
'Pass too short' => 'Passwords must be at least 4 characters long. Please go back and correct.',
'Username guest' => 'The username guest is reserved. Please go back and correct.',
'Username BBCode' => 'Usernames may not contain any of the text formatting tags (BBCode) that the forum uses. Please go back and correct.',
'Username reserved chars' => 'Usernames may not contain all the characters \', " and [ or ] at once. Please go back and correct.',
'Username IP' => 'Usernames may not be in the form of an IP address. Please go back and correct.',
'Invalid email' => 'The administrator email address you entered is invalid. Please go back and correct.',
'Missing base url' => 'You must enter a base URL. Please go back and correct.',
'No such database type' => '\'%s\' is not a valid database type.',
'Invalid MySQL version' => 'You are running MySQL version %1$s. PunBB requires at least MySQL %2$s to run properly. You must upgrade your MySQL installation before you can continue.',
'Invalid table prefix' => 'The table prefix \'%s\' contains illegal characters or is too long. The prefix may contain the letters a to z, any numbers and the underscore character. They must however not start with a number. The maximum length is 40 characters. Please choose a different prefix.',
'SQLite prefix collision' => 'The table prefix \'sqlite_\' is reserved for use by the SQLite engine. Please choose a different prefix.',
'PunBB already installed' => 'A table called "%1$susers" is already present in the database "%2$s". This could mean that PunBB is already installed or that another piece of software is installed and is occupying one or more of the table names PunBB requires. If you want to install multiple copies of PunBB in the same database, you must choose a different table prefix.',
'Invalid language' => 'The language pack you have chosen doesn\'t seem to exist or is corrupt. Please recheck and try again.',
'InnoDB Not Supported' => 'You are running MySQL version without InnoDB support.',
// Used in the install
'Default language' => 'Default language',
'Default language help' => '(If you remove a language pack you must update this setting)',
'Default announce heading' => 'Sample announcement',
'Default announce message' => '<p>Enter your announcement here.</p>',
'Default rules' => 'Enter your rules here.',
'Default category name' => 'Test category',
'Default forum name' => 'Test forum',
'Default forum descrip' => 'This is just a test forum',
'Default topic subject' => 'Test post',
'Default post contents' => 'If you are looking at this (which I guess you are), the install of PunBB appears to have worked! Now log in and head over to the administration control panel to configure your forum.',
'Default rank 1' => 'New member',
'Default rank 2' => 'Member',
// Installation completed form
'Success description' => 'Congratulations! PunBB %s has been successfully installed.',
'Final instructions' => 'Final instructions',
'No write info 1' => 'Important! To finalize the installation, you need to click on the button below to download a file called config.php. You then need to upload this file to the root directory of your PunBB installation.',
'No write info 2' => 'Once you have uploaded config.php, PunBB will be fully installed! You may then %s once config.php has been uploaded.',
'Go to index' => 'go to the forum index',
'Warning' => 'Warning!',
'No cache write' => '<strong>The cache directory is currently not writable!</strong> In order for PunBB to function properly, the directory named <em>cache</em> must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.',
'No avatar write' => '<strong>The avatar directory is currently not writable!</strong> If you want users to be able to upload their own avatar images you must see to it that the directory named <em>img/avatars</em> is writable by PHP. You can later choose to save avatar images in a different directory (see Administration/Settings/Features). Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.',
'File upload alert' => '<strong>File uploads appear to be disallowed on this server!</strong> If you want users to be able to upload their own avatar images you must enable the file_uploads configuration setting in PHP. Once file uploads have been enabled, avatar uploads can be enabled in Administration/Settings/Features.',
'Download config' => 'Download config.php file', // Label for submit button
'Write info' => 'PunBB has been fully installed! You may now %s.',
);