Similar blocks of code found in 2 locations. Consider refactoring. Open
<?php
/**
* Installer main english strings declaration file.
* @copyright The ImpressCMS project https://www.impresscms.org/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 2294.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Expected 1 space after comma in function call; 2 found Open
define( "DB_CHARSET_HELP", "MySQL includes character set support that enables you to store data using a variety of character sets and perform comparisons according to a variety of collations.");
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_SALT_HELP", "This salt key will be appended to passwords in function icms_encryptPass(), and is used to create a totally unique secure password. Do Not change this key once your site is live, doing so will render ALL passwords invalid. If you are unsure, just keep the default"); // L97
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_COLLATION_HELP", "A collation is a set of rules for comparing characters in a character set.");
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_PCONNECT_HELPS", "Persistent connections are useful with slower internet connections. They are not generally required for most installations."); // L69
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_USER_HELP", "Name of the user account that will be used to connect to the database server"); // L65
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_PREFIX_HELP", "This prefix will be added to all new tables created to avoid name conflicts in the database. If you are unsure, just keep the default"); // L63
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_HOST_HELP", "Hostname of the database server. If you are unsure, <em>localhost</em> works in most cases"); // L67
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_NAME_HELP", "The name of database on the host. The installer will attempt to create a database if one does not exist"); // L64
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
define( "DB_PASS_HELP", "Password of your database user account"); // L68
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "REQUIREMENTS", "Requirements" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "RECOMMENDED_SETTINGS", "Recommended settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INTRODUCTION_TITLE", "Welcome to the ImpressCMS installation assistant" ); // L0
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CONFIGURATION_CHECK", "Configuration check" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLES_CREATION_TITLE", "Database tables creation" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "MODULES_INSTALL_TITLE", "Installation of modules " );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "MODULES_INSTALL_TITLE", "Installation of modules " );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_HOST_LABEL", "Server hostname" ); // L27
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PREFIX_LABEL", "Table prefix" ); // L30
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "BUTTON_REFRESH", "Refresh" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "IS_WRITABLE", "%s is writable." ); // L84
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_READ_MAINFILE", "Could not open mainfile.php for reading" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_WRITE_SDATA", "Could not write into sdata.php. Please check the file permission and try again.");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_INVALID_DBCHARSET", "The charset '%s' is not supported." );
- Exclude checks
No space found after comma in function call Open
define("BUTTON_CREATE_TUST_PATH","Create Trust Path");
- Exclude checks
No space found after comma in function call Open
define('_CORE_PASSLEVEL2','Weak');
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "_PHP_VERSION", "PHP version" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SETTING_NAME", "Setting name" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CURRENT", "Current" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "RECOMMENDED_EXTENSIONS_MSG", "These extensions are not required for normal use, but may be necessary to exploit
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SUCCESS", "Success" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INITIAL_SETTINGS", "Initial settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_ROOT_PATH_LABEL", "ImpressCMS documents root physical path" ); // L55
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "LEGEND_DATABASE", "Database" ); // L51
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_SALT_LABEL", "Password Salt Key" ); // L98
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_WRITING_CONSTANT", "Failed writing constant %s." ); // L122
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_READ_MAINFILE", "Could not open mainfile.php for reading" );
- Exclude checks
No space found after comma in function call Open
define("_DEF_LANG_TAGS",'en,de'); //Add local translation
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SERVER_API", "Server API" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "WARNING", "Warning" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INSTALL_OUTOF", " out of " );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATABASE_CONFIG_TITLE", "Database configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATA_INSERTION", "Data insertion" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATA_INSERTION", "Data insertion" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATA_INSERTION_TITLE", "Saving your settings to the database" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "WELCOME_TITLE", "Installation of ImpressCMS completed" ); // L0
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SAFE_MODE_TITLE", "Safe Mode On" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SAFE_MODE_CONTENT", "ImpressCMS has detected PHP is running in Safe Mode. Because of this, your installation cannot continue. Please work with your hosting provider to change your environment before attempting to install again." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_URL_HELP", "Main URL that will be used to access your ImpressCMS installation" ); // L58
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_COLLATION_LABEL", "Database collation" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PCONNECT_LABEL", "Use persistent connection" ); // L54
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_PCONNECT_LABEL", "Use persistent connection" ); // L54
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_SALT_LABEL", "Password Salt Key" ); // L99
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "READY_CREATE_TABLES", "No ImpressCMS tables were detected.<br />The installer is now ready to create the ImpressCMS system tables.<br />Press <em>next</em> to proceed." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ROWS_INSERTED", "%d entries inserted to table %s." ); // L119
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ROWS_FAILED", "Failed inserting %d entries to table %s." ); // L120
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_NO_DBCONNECTION", "Could not connect to the database server." ); // L106
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_READ_SDATA", "Could not open sdata.php for reading" );
- Exclude checks
No space found after comma in function call Open
define("TRUST_PATH_VALIDATE","A suggested name for the Trust path has been created above for you. If you wish to use an alternative name, please replace the above location with your choice of name.<br /><br />When done, please click on the Create Trust Path button.");
- Exclude checks
No space found after comma in function call Open
define("_DEF_LANG_NAMES",'english,german'); //Add local translation
- Exclude checks
No space found after comma in function call Open
define("_LOCAL_LANG_NAMES",'English,Deutsch'); //Add local translation
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_DISPLAY_LABEL", "Admin Display Name" ); // L37
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "PHP_EXTENSION", "%s extension" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CHAR_ENCODING", "Character encoding" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "_PHP_VERSION", "PHP version" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "FAILED", "Failed" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INSTALL_STEP", "Step" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INSTALL_OUTOF", " out of " );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CONFIG_SAVE", "Configuration save" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "TABLES_CREATION_TITLE", "Database tables creation" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SAFE_MODE", "Safe Mode On" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_ROOT_PATH_LABEL", "ImpressCMS documents root physical path" ); // L55
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PREFIX_HELP", "This prefix will be added to all new tables created to avoid name conflicts in the database. If you are unsure, just keep the default"); // L63
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "LEGEND_ADMIN_ACCOUNT", "Administrator account" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_LOGIN_LABEL", "Admin login" ); // L37
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_CHARSET_NOT_SET", "Default character set is not set for ImpressCMS database." );
- Exclude checks
No space found after comma in function call Open
define("_INSTALL_CHARSET","utf-8");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "RECOMMENDED_SETTINGS", "Recommended settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "RECOMMENDED_EXTENSIONS", "Recommended extensions" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "NONE", "None" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "WARNING", "Warning" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "PATHS_SETTINGS_TITLE", "Paths settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATABASE_CONFIG_TITLE", "Database configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CONFIG_SAVE", "Configuration save" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "NO_PHP5_TITLE", "No PHP 7" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "_INSTALL_TRUST_PATH_HELP", "This is the physical location of your ImpressCMS trust path. The trust path is a folder where ImpressCMS and its modules will store some sensible code and information for more security. It is recommended that this folder be outside of the web root, making it not accessible by a browser. If the folder does not exist, ImpressCMS will try and create it. If this is not possible, you will need to create it.<br /><br /><a target='_blank' href='https://www.impresscms.org/modules/simplywiki/index.php?page=Trust_Path'>Click here</a> to learn more about the Trust path." ); // L59
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_NAME_HELP", "The name of database on the host. The installer will attempt to create a database if one does not exist"); // L64
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_PREFIX_LABEL", "Table prefix" ); // L30
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_EMAIL_LABEL", "Admin e-mail" ); // L38
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_PASS_LABEL", "Admin password" ); // L39
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_FOUND", "%s found" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "IS_NOT_WRITABLE", "%s is NOT writable." ); // L83
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATA_ALREADY_INSERTED", "ImpressCMS data is stored in your database already. No further data will be stored by this action.<br />Press <em>next</em> to go to the next step." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_REQUIRED", "Please enter all the required info." ); // L41
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_WRITE_MAINFILE", "Could not write into mainfile.php. Please check the file permission and try again.");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_INVALID_DBCOLLATION", "The collation '%s' is not supported." );
- Exclude checks
No space found after comma in function call Open
define("WELCOME_ANONYMOUS","Welcome to an ImpressCMS powered website !");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SHOW_HIDE_HELP", "Show/hide help text" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
define ("ALTERNATE_LANGUAGE_MSG","Download an alternate language pack from the ImpressCMS website");
- Exclude checks
No space found after comma in function call Open
define ("ALTERNATE_LANGUAGE_MSG","Download an alternate language pack from the ImpressCMS website");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XML_PARSING", "XML parsing" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "FAILED", "Failed" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INSTALL_H3_STEPS", "Steps" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INSTALL_H3_STEPS", "Steps" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "WELCOME", "Welcome" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_URL_HELP", "Main URL that will be used to access your ImpressCMS installation" ); // L58
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_USER_LABEL", "User name" ); // L28
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_USER_LABEL", "User name" ); // L28
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_NAME_LABEL", "Database name" ); // L29
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "BUTTON_PREVIOUS", "Previous" ); // L42
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "BUTTON_NEXT", "Next" ); // L47
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CHECKING_PERMISSIONS", "Checking file and directory permissions..." ); // L82
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "READY_INSERT_DATA", "The installer is now ready to insert initial data into your database." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_COPY_MAINFILE", "Could not copy the distribution file to mainfile.php" );
- Exclude checks
No space found after comma in function call Open
define("_ADM_USE_RTL","0"); // turn this to 1 if your language is right to left
- Exclude checks
No space found after comma in function call Open
define('_CORE_PASSLEVEL3','Good');
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_INSTALL_WIZARD", " %s - Installation Wizard" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "LANGUAGE_SELECTION_TITLE", "Choose your language"); // L128
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATABASE_CONNECTION_TITLE", "Database connection" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLES_CREATION", "Tables creation" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INITIAL_SETTINGS_TITLE", "Please enter your initial settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "NO_PHP5", "No PHP 7" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "PHP_EXTENSION", "%s extension" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "WELCOME_TITLE", "Installation of ImpressCMS completed" ); // L0
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SAFE_MODE", "Safe Mode On" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_ROOT_PATH_HELP", "This is the physical path of the ImpressCMS documents folder, the very web root of your ImpressCMS application" ); // L59
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INSTALL_COPYRIGHT", "Copyright © 2007-" . date('Y', time()) . " <a href=\"https://www.impresscms.org\" target=\"_blank\">The ImpressCMS Project</a>" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_COLLATION_LABEL", "Database collation" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "LANGUAGE_SELECTION", "Language selection" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_READ_SDATA", "Could not open sdata.php for reading" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_INVALID_DBCOLLATION", "The collation '%s' is not supported." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CHAR_ENCODING", "Character encoding" );
- Exclude checks
No space found after comma in function call Open
define("_LOCAOL_STNAME",'ImpressCMS'); //Link to local support site
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "RECOMMENDED", "Recommended" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "PATHS_SETTINGS", "Paths settings" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INSTALL_STEP", "Step" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATABASE_CONNECTION", "Database connection" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_USER_HELP", "Name of the user account that will be used to connect to the database server"); // L65
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_PASS_LABEL", "Password" ); // L52
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATABASE_CONNECTION_TITLE", "Database connection" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_CHARSET_LABEL", "Database character set, we STRONGLY recommend you to use UTF-8 as default." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATABASE_CONFIG", "Database configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CONFIG_SAVE_TITLE", "Saving your system configuration" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "NO_PHP5_TITLE", "No PHP 7" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "NO_PHP5_CONTENT","PHP 7.4.0 minimum is required (PHP 8.1 is recommended) for ImpressCMS to function properly - your installation cannot continue. Please work with your hosting provider to upgrade your environment to a version of PHP that is newer than 7.4.0 (8.1 is recommended) before attempting to install again.");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_CHARSET_LABEL", "Database character set, we STRONGLY recommend you to use UTF-8 as default." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "LEGEND_ADMIN_ACCOUNT", "Administrator account" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_FOUND", "%s found" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "TABLE_CREATED", "Table %s created." ); // L45
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_WRITING_CONSTANT", "Failed writing constant %s." ); // L122
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_CHARSET_NOT_SET", "Default character set is not set for ImpressCMS database." );
- Exclude checks
No space found after comma in function call Open
define("_MD_AM_MULTLOGINMSG_TXT",'It was not possible to login on the site!! <br />
- Exclude checks
No space found after comma in function call Open
define("_LOCAL_SENSORTXT",'#OOPS#'); //Add local translation
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_EMAIL_LABEL", "Admin e-mail" ); // L38
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "BUTTON_SHOW_SITE", "Show my site" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_NOT_ALTERED", "Failed updating table %s."); // L134
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_NO_XOOPS_FOUND", "No ImpressCMS installation could be found in the specified folder." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_PASSWORD_MATCH", "The two passwords do not match" );
- Exclude checks
No space found after comma in function call Open
define("_INSTALL_PHYSICAL_PATH","Physical path");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "REQUIREMENTS", "Requirements" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "RECOMMENDED_EXTENSIONS_MSG", "These extensions are not required for normal use, but may be necessary to exploit
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CONFIGURATION_CHECK_TITLE", "Checking your server configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "BUTTON_PREVIOUS", "Previous" ); // L42
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ALL_PERM_OK", "All Permissions are correct." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_TABLES_FOUND", "The ImpressCMS system tables already exists in your database.<br />Press <em>next</em> to go to the next step." ); // L131
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "READY_SAVE_MAINFILE", "The installer is now ready to save the specified settings to <em>mainfile.php</em>.<br />Press <em>next</em> to proceed." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_ALTERED", "Table %s updated."); // L133
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_NO_DATABASE", "Could not create database. Contact the server administrator for details." ); // L31
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_INVALID_DBCHARSET", "The charset '%s' is not supported." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SERVER_API", "Server API" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATABASE_CONNECTION", "Database connection" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CONFIG_SAVE_TITLE", "Saving your system configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SAFE_MODE_CONTENT", "ImpressCMS has detected PHP is running in Safe Mode. Because of this, your installation cannot continue. Please work with your hosting provider to change your environment before attempting to install again." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "_INSTALL_TRUST_PATH_HELP", "This is the physical location of your ImpressCMS trust path. The trust path is a folder where ImpressCMS and its modules will store some sensible code and information for more security. It is recommended that this folder be outside of the web root, making it not accessible by a browser. If the folder does not exist, ImpressCMS will try and create it. If this is not possible, you will need to create it.<br /><br /><a target='_blank' href='https://www.impresscms.org/modules/simplywiki/index.php?page=Trust_Path'>Click here</a> to learn more about the Trust path." ); // L59
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_HOST_LABEL", "Server hostname" ); // L27
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PASS_HELP", "Password of your database user account"); // L68
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_COLLATION_HELP", "A collation is a set of rules for comparing characters in a character set.");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "READY_CREATE_TABLES", "No ImpressCMS tables were detected.<br />The installer is now ready to create the ImpressCMS system tables.<br />Press <em>next</em> to proceed." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "READY_INSERT_DATA", "The installer is now ready to insert initial data into your database." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "READY_SAVE_MAINFILE", "The installer is now ready to save the specified settings to <em>mainfile.php</em>.<br />Press <em>next</em> to proceed." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SHOW_HIDE_HELP", "Show/hide help text" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
define ("ALTERNATE_LANGUAGE_LNK_URL", "https://sourceforge.net/projects/impresscms/files/ImpressCMS%20Languages/");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_COULD_NOT_ACCESS", "Could not access the specified folder. Please verify that it exists and is readable by the server." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_NO_XOOPS_FOUND", "No ImpressCMS installation could be found in the specified folder." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "RECOMMENDED", "Recommended" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_NEED_WRITE_ACCESS", "The server must be given write access to the following files and folders<br />(i.e. <em>chmod 777 directory_name</em> on a UNIX/LINUX server)" ); // L72
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "NONE", "None" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "SUCCESS", "Success" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_COPY_MAINFILE", "Could not copy the distribution file to mainfile.php" );
- Exclude checks
No space found after comma in function call Open
define("_EXT_DATE_FUNC","0"); // change 0 to 1 if this language has an extended date function
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_INSTALL_WIZARD", " %s - Installation Wizard" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "INTRODUCTION", "Introduction" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CONFIGURATION_CHECK_TITLE", "Checking your server configuration" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INITIAL_SETTINGS", "Initial settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SAFE_MODE_TITLE", "Safe Mode On" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "BUTTON_REFRESH", "Refresh" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "BUTTON_SHOW_SITE", "Show my site" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATA_ALREADY_INSERTED", "ImpressCMS data is stored in your database already. No further data will be stored by this action.<br />Press <em>next</em> to go to the next step." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_NO_DBCONNECTION", "Could not connect to the database server." ); // L106
- Exclude checks
No space found after comma in function call Open
define("_INSTALL_LOCAL_SITE",'https://www.impresscms.org/'); //Link to local support site
- Exclude checks
No space found after comma in function call Open
define('_CORE_PASSLEVEL4','Strong');
- Exclude checks
Space before opening parenthesis of function call prohibited Open
define ("ALTERNATE_LANGUAGE_LNK_MSG", "Select another language not listed here.");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "RECOMMENDED_EXTENSIONS", "Recommended extensions" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "SETTING_NAME", "Setting name" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INTRODUCTION", "Introduction" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATA_INSERTION_TITLE", "Saving your settings to the database" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "LEGEND_CONNECTION", "Server connection" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PASS_LABEL", "Password" ); // L52
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_CHARSET_HELP", "MySQL includes character set support that enables you to store data using a variety of character sets and perform comparisons according to a variety of collations.");
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_PASS_LABEL", "Admin password" ); // L39
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_SALT_LABEL", "Password Salt Key" ); // L99
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DATABASE_CREATED", "Database %s created!" ); // L43
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATABASE_CREATED", "Database %s created!" ); // L43
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "TABLE_NOT_CREATED", "Unable to create table %s" ); // L118
- Exclude checks
No space found after comma in function call Open
define("_LOCAL_SLOCGAN",'Make a lasting impression'); //Link to local support site
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_PCONNECT_HELPS", "Persistent connections are useful with slower internet connections. They are not generally required for most installations."); // L69
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "LANGUAGE_SELECTION", "Language selection" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DATABASE_CONFIG", "Database configuration" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_ROOT_PATH_HELP", "This is the physical path of the ImpressCMS documents folder, the very web root of your ImpressCMS application" ); // L59
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_URL_LABEL", "Website location (URL)" ); // L56
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_HOST_HELP", "Hostname of the database server. If you are unsure, <em>localhost</em> works in most cases"); // L67
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_SALT_HELP", "This salt key will be appended to passwords in function icms_encryptPass(), and is used to create a totally unique secure password. Do Not change this key once your site is live, doing so will render ALL passwords invalid. If you are unsure, just keep the default"); // L97
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_LOGIN_LABEL", "Admin login" ); // L37
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_CONFIRMPASS_LABEL", "Confirm password" ); // L74
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "BUTTON_NEXT", "Next" ); // L47
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "IS_NOT_WRITABLE", "%s is NOT writable." ); // L83
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "IS_WRITABLE", "%s is writable." ); // L84
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_DROPPED", "Table %s dropped."); // L163
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_REQUIRED", "Please enter all the required info." ); // L41
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_PASSWORD_MATCH", "The two passwords do not match" );
- Exclude checks
No space found after comma in function call Open
define("TRUST_PATH_NEED_CREATED_MANUALLY","It was not possible to create the trust path. Please create it manually and click on the following Refresh button.");
- Exclude checks
No space found after comma in function call Open
define("WELCOME_WEBMASTER","Welcome Webmaster !");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ADMIN_DISPLAY_LABEL", "Admin Display Name" ); // L37
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XML_PARSING", "XML parsing" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CURRENT", "Current" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "CONFIGURATION_CHECK", "Configuration check" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "PATHS_SETTINGS", "Paths settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "PATHS_SETTINGS_TITLE", "Paths settings" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "NO_PHP5", "No PHP 7" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "MODULES_INSTALL", "Install modules" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "MODULES_INSTALL", "Install modules" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "LEGEND_CONNECTION", "Server connection" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "DB_NAME_LABEL", "Database name" ); // L29
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "DB_SALT_LABEL", "Password Salt Key" ); // L98
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ADMIN_CONFIRMPASS_LABEL", "Confirm password" ); // L74
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "CHECKING_PERMISSIONS", "Checking file and directory permissions..." ); // L82
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ALL_PERM_OK", "All Permissions are correct." );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "XOOPS_TABLES_FOUND", "The ImpressCMS system tables already exists in your database.<br />Press <em>next</em> to go to the next step." ); // L131
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ERR_INVALID_EMAIL", "Invalid Email" ); // L73
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_NEED_WRITE_ACCESS", "The server must be given write access to the following files and folders<br />(i.e. <em>chmod 777 directory_name</em> on a UNIX/LINUX server)" ); // L72
- Exclude checks
No space found after comma in function call Open
define("_MD_AM_RSSLOCALLINK_DESC",'https://www.impresscms.org/modules/news/rss.php'); //Link to the rrs of local support site
- Exclude checks
No space found after comma in function call Open
define('_CORE_PASSLEVEL1','Too short');
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INSTALL_COPYRIGHT", "Copyright © 2007-" . date('Y', time()) . " <a href=\"https://www.impresscms.org\" target=\"_blank\">The ImpressCMS Project</a>" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INTRODUCTION_TITLE", "Welcome to the ImpressCMS installation assistant" ); // L0
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "TABLES_CREATION", "Tables creation" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "INITIAL_SETTINGS_TITLE", "Please enter your initial settings" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "WELCOME", "Welcome" );
- Exclude checks
No space found after comma in function call Open
define( "NO_PHP5_CONTENT","PHP 7.4.0 minimum is required (PHP 8.1 is recommended) for ImpressCMS to function properly - your installation cannot continue. Please work with your hosting provider to upgrade your environment to a version of PHP that is newer than 7.4.0 (8.1 is recommended) before attempting to install again.");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "XOOPS_URL_LABEL", "Website location (URL)" ); // L56
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "LEGEND_DATABASE", "Database" ); // L51
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "BUTTON_FINISH", "Finish" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "BUTTON_FINISH", "Finish" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_NOT_CREATED", "Unable to create table %s" ); // L118
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_CREATED", "Table %s created." ); // L45
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ROWS_INSERTED", "%d entries inserted to table %s." ); // L119
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
define( "ROWS_FAILED", "Failed inserting %d entries to table %s." ); // L120
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "TABLE_NOT_DROPPED", "Failed deleting table %s."); // L164
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_COULD_NOT_ACCESS", "Could not access the specified folder. Please verify that it exists and is readable by the server." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_INVALID_EMAIL", "Invalid Email" ); // L73
- Exclude checks
Space after opening parenthesis of function call prohibited Open
define( "ERR_NO_DATABASE", "Could not create database. Contact the server administrator for details." ); // L31
- Exclude checks
No space found after comma in function call Open
define("_LOCAL_FOOTER",'Powered by ImpressCMS © 2007-' . date('Y', time()) . ' <a href=\"https://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>'); //footer Link to local support site
- Exclude checks
Unexpected spaces found. Open
- You left the site or close the browser window without clicking the logout button.<br />
- Exclude checks
Unexpected spaces found. Open
Wait a few minutes and try again later. If the problems still persists contact the site administrator.');
- Exclude checks
Unexpected spaces found. Open
<p align="left" style="color:red;">
- Exclude checks
Unexpected spaces found. Open
- Someone else logged in on the site using your username and password.<br />
- Exclude checks
Unexpected spaces found. Open
- You are already logged in on the site.<br />
- Exclude checks
Unexpected spaces found. Open
</p>
- Exclude checks
Unexpected spaces found. Open
Possible causes:<br />
- Exclude checks