ImpressCMS/impresscms

View on GitHub
htdocs/install/language/english/install.php

Summary

Maintainability
F
1 wk
Test Coverage

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
Severity: Major
Found in htdocs/install/language/english/install.php and 1 other location - About 1 wk to fix
htdocs/install/language/nederlands/install.php on lines 1..234

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

Further Reading

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.");

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

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.");

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

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

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

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

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

Expected 1 space after comma in function call; 2 found
Open

define( "DB_PASS_HELP",  "Password of your database user account"); // L68

Expected 0 spaces before closing bracket; 1 found
Open

define( "REQUIREMENTS", "Requirements" );

Space after opening parenthesis of function call prohibited
Open

define( "RECOMMENDED_SETTINGS", "Recommended settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INTRODUCTION_TITLE", "Welcome to the ImpressCMS installation assistant" );        // L0

Space after opening parenthesis of function call prohibited
Open

define( "CONFIGURATION_CHECK", "Configuration check" );

Space after opening parenthesis of function call prohibited
Open

define( "TABLES_CREATION_TITLE", "Database tables creation" );

Space after opening parenthesis of function call prohibited
Open

define( "MODULES_INSTALL_TITLE", "Installation of modules " );

Expected 0 spaces before closing bracket; 1 found
Open

define( "MODULES_INSTALL_TITLE", "Installation of modules " );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_HOST_LABEL", "Server hostname" );    // L27

Space after opening parenthesis of function call prohibited
Open

define( "DB_PREFIX_LABEL", "Table prefix" );    // L30

Expected 0 spaces before closing bracket; 1 found
Open

define( "BUTTON_REFRESH", "Refresh" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "IS_WRITABLE", "%s is writable." ); // L84

Space after opening parenthesis of function call prohibited
Open

define( "ERR_READ_MAINFILE", "Could not open mainfile.php for reading" );

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.");

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_INVALID_DBCHARSET", "The charset '%s' is not supported." );

No space found after comma in function call
Open

define("BUTTON_CREATE_TUST_PATH","Create Trust Path");

No space found after comma in function call
Open

define('_CORE_PASSLEVEL2','Weak');

Expected 0 spaces before closing bracket; 1 found
Open

define( "_PHP_VERSION", "PHP version" );

Space after opening parenthesis of function call prohibited
Open

define( "SETTING_NAME", "Setting name" );

Space after opening parenthesis of function call prohibited
Open

define( "CURRENT", "Current" );

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "SUCCESS", "Success" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INITIAL_SETTINGS", "Initial settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "XOOPS_ROOT_PATH_LABEL", "ImpressCMS documents root physical path" ); // L55

Space after opening parenthesis of function call prohibited
Open

define( "LEGEND_DATABASE", "Database" ); // L51

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_SALT_LABEL", "Password Salt Key" );    // L98

Space after opening parenthesis of function call prohibited
Open

define( "ERR_WRITING_CONSTANT", "Failed writing constant %s." ); // L122

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_READ_MAINFILE", "Could not open mainfile.php for reading" );

No space found after comma in function call
Open

define("_DEF_LANG_TAGS",'en,de'); //Add local translation

Space after opening parenthesis of function call prohibited
Open

define( "SERVER_API", "Server API" );

Space after opening parenthesis of function call prohibited
Open

define( "WARNING", "Warning" );

Space after opening parenthesis of function call prohibited
Open

define( "INSTALL_OUTOF", " out of " );

Space after opening parenthesis of function call prohibited
Open

define( "DATABASE_CONFIG_TITLE", "Database configuration" );

Space after opening parenthesis of function call prohibited
Open

define( "DATA_INSERTION", "Data insertion" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATA_INSERTION", "Data insertion" );

Space after opening parenthesis of function call prohibited
Open

define( "DATA_INSERTION_TITLE", "Saving your settings to the database" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "WELCOME_TITLE", "Installation of ImpressCMS completed" );        // L0

Space after opening parenthesis of function call prohibited
Open

define( "SAFE_MODE_TITLE", "Safe Mode On" );

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." );

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

Space after opening parenthesis of function call prohibited
Open

define( "DB_COLLATION_LABEL", "Database collation" );

Space after opening parenthesis of function call prohibited
Open

define( "DB_PCONNECT_LABEL", "Use persistent connection" );    // L54

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_PCONNECT_LABEL", "Use persistent connection" );    // L54

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_SALT_LABEL", "Password Salt Key" ); // L99

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." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ROWS_INSERTED", "%d entries inserted to table %s." ); // L119

Space after opening parenthesis of function call prohibited
Open

define( "ROWS_FAILED", "Failed inserting %d entries to table %s." ); // L120

Space after opening parenthesis of function call prohibited
Open

define( "ERR_NO_DBCONNECTION", "Could not connect to the database server." ); // L106

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_READ_SDATA", "Could not open sdata.php for reading" );

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.");

No space found after comma in function call
Open

define("_DEF_LANG_NAMES",'english,german'); //Add local translation

No space found after comma in function call
Open

define("_LOCAL_LANG_NAMES",'English,Deutsch'); //Add local translation

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_DISPLAY_LABEL", "Admin Display Name" ); // L37

Space after opening parenthesis of function call prohibited
Open

define( "PHP_EXTENSION", "%s extension" );

Space after opening parenthesis of function call prohibited
Open

define( "CHAR_ENCODING", "Character encoding" );

Space after opening parenthesis of function call prohibited
Open

define( "_PHP_VERSION", "PHP version" );

Space after opening parenthesis of function call prohibited
Open

define( "FAILED", "Failed" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INSTALL_STEP", "Step" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INSTALL_OUTOF", " out of " );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CONFIG_SAVE", "Configuration save" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "TABLES_CREATION_TITLE", "Database tables creation" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "SAFE_MODE", "Safe Mode On" );

Space after opening parenthesis of function call prohibited
Open

define( "XOOPS_ROOT_PATH_LABEL", "ImpressCMS documents root physical path" ); // L55

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

Space after opening parenthesis of function call prohibited
Open

define( "LEGEND_ADMIN_ACCOUNT", "Administrator account" );

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_LOGIN_LABEL", "Admin login" ); // L37

Space after opening parenthesis of function call prohibited
Open

define( "ERR_CHARSET_NOT_SET", "Default character set is not set for ImpressCMS database." );

No space found after comma in function call
Open

define("_INSTALL_CHARSET","utf-8");

Expected 0 spaces before closing bracket; 1 found
Open

define( "RECOMMENDED_SETTINGS", "Recommended settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "RECOMMENDED_EXTENSIONS", "Recommended extensions" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "NONE", "None" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "WARNING", "Warning" );

Space after opening parenthesis of function call prohibited
Open

define( "PATHS_SETTINGS_TITLE", "Paths settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATABASE_CONFIG_TITLE", "Database configuration" );

Space after opening parenthesis of function call prohibited
Open

define( "CONFIG_SAVE", "Configuration save" );

Space after opening parenthesis of function call prohibited
Open

define( "NO_PHP5_TITLE", "No PHP 7" );

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

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_PREFIX_LABEL", "Table prefix" );    // L30

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_EMAIL_LABEL", "Admin e-mail" ); // L38

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_PASS_LABEL", "Admin password" ); // L39

Space after opening parenthesis of function call prohibited
Open

define( "XOOPS_FOUND", "%s found" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "IS_NOT_WRITABLE", "%s is NOT writable." ); // L83

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." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_REQUIRED", "Please enter all the required info." ); // L41

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.");

Space after opening parenthesis of function call prohibited
Open

define( "ERR_INVALID_DBCOLLATION", "The collation '%s' is not supported." );

No space found after comma in function call
Open

define("WELCOME_ANONYMOUS","Welcome to an ImpressCMS powered website !");

Expected 0 spaces before closing bracket; 1 found
Open

define( "SHOW_HIDE_HELP", "Show/hide help text" );

Space before opening parenthesis of function call prohibited
Open

define ("ALTERNATE_LANGUAGE_MSG","Download an alternate language pack from the ImpressCMS website");

No space found after comma in function call
Open

define ("ALTERNATE_LANGUAGE_MSG","Download an alternate language pack from the ImpressCMS website");

Space after opening parenthesis of function call prohibited
Open

define( "XML_PARSING", "XML parsing" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "FAILED", "Failed" );

Space after opening parenthesis of function call prohibited
Open

define( "INSTALL_H3_STEPS", "Steps" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INSTALL_H3_STEPS", "Steps" );

Space after opening parenthesis of function call prohibited
Open

define( "WELCOME", "Welcome" );

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

Space after opening parenthesis of function call prohibited
Open

define( "DB_USER_LABEL", "User name" );    // L28

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_USER_LABEL", "User name" );    // L28

Space after opening parenthesis of function call prohibited
Open

define( "DB_NAME_LABEL", "Database name" );    // L29

Expected 0 spaces before closing bracket; 1 found
Open

define( "BUTTON_PREVIOUS", "Previous" ); // L42

Space after opening parenthesis of function call prohibited
Open

define( "BUTTON_NEXT", "Next" ); // L47

Expected 0 spaces before closing bracket; 1 found
Open

define( "CHECKING_PERMISSIONS", "Checking file and directory permissions..." ); // L82

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." );

Space after opening parenthesis of function call prohibited
Open

define( "ERR_COPY_MAINFILE", "Could not copy the distribution file to mainfile.php" );

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

No space found after comma in function call
Open

define('_CORE_PASSLEVEL3','Good');

Expected 0 spaces before closing bracket; 1 found
Open

define( "XOOPS_INSTALL_WIZARD", " %s - Installation Wizard" );

Space after opening parenthesis of function call prohibited
Open

define( "LANGUAGE_SELECTION_TITLE", "Choose your language");        // L128

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATABASE_CONNECTION_TITLE", "Database connection" );

Space after opening parenthesis of function call prohibited
Open

define( "TABLES_CREATION", "Tables creation" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INITIAL_SETTINGS_TITLE", "Please enter your initial settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "NO_PHP5", "No PHP 7" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "PHP_EXTENSION", "%s extension" );

Space after opening parenthesis of function call prohibited
Open

define( "WELCOME_TITLE", "Installation of ImpressCMS completed" );        // L0

Space after opening parenthesis of function call prohibited
Open

define( "SAFE_MODE", "Safe Mode On" );

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "INSTALL_COPYRIGHT", "Copyright &copy; 2007-" . date('Y', time()) . " <a href=\"https://www.impresscms.org\" target=\"_blank\">The ImpressCMS Project</a>" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_COLLATION_LABEL", "Database collation" );

Space after opening parenthesis of function call prohibited
Open

define( "LANGUAGE_SELECTION", "Language selection" );

Space after opening parenthesis of function call prohibited
Open

define( "ERR_READ_SDATA", "Could not open sdata.php for reading" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_INVALID_DBCOLLATION", "The collation '%s' is not supported." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CHAR_ENCODING", "Character encoding" );

No space found after comma in function call
Open

define("_LOCAOL_STNAME",'ImpressCMS'); //Link to local support site

Space after opening parenthesis of function call prohibited
Open

define( "RECOMMENDED", "Recommended" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "PATHS_SETTINGS", "Paths settings" );

Space after opening parenthesis of function call prohibited
Open

define( "INSTALL_STEP", "Step" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATABASE_CONNECTION", "Database connection" );

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_PASS_LABEL", "Password" );    // L52

Space after opening parenthesis of function call prohibited
Open

define( "DATABASE_CONNECTION_TITLE", "Database connection" );

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." );

Space after opening parenthesis of function call prohibited
Open

define( "DATABASE_CONFIG", "Database configuration" );

Space after opening parenthesis of function call prohibited
Open

define( "CONFIG_SAVE_TITLE", "Saving your system configuration" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "NO_PHP5_TITLE", "No PHP 7" );

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.");

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." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "LEGEND_ADMIN_ACCOUNT", "Administrator account" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "XOOPS_FOUND", "%s found" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "TABLE_CREATED", "Table %s created." ); // L45

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_WRITING_CONSTANT", "Failed writing constant %s." ); // L122

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_CHARSET_NOT_SET", "Default character set is not set for ImpressCMS database." );

No space found after comma in function call
Open

define("_MD_AM_MULTLOGINMSG_TXT",'It was not possible to login on the site!! <br />

No space found after comma in function call
Open

define("_LOCAL_SENSORTXT",'#OOPS#'); //Add local translation

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_EMAIL_LABEL", "Admin e-mail" ); // L38

Expected 0 spaces before closing bracket; 1 found
Open

define( "BUTTON_SHOW_SITE", "Show my site" );

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_NOT_ALTERED", "Failed updating table %s."); // L134

Space after opening parenthesis of function call prohibited
Open

define( "ERR_NO_XOOPS_FOUND", "No ImpressCMS installation could be found in the specified folder." );

Space after opening parenthesis of function call prohibited
Open

define( "ERR_PASSWORD_MATCH", "The two passwords do not match" );

No space found after comma in function call
Open

define("_INSTALL_PHYSICAL_PATH","Physical path");

Space after opening parenthesis of function call prohibited
Open

define( "REQUIREMENTS", "Requirements" );

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

Space after opening parenthesis of function call prohibited
Open

define( "CONFIGURATION_CHECK_TITLE", "Checking your server configuration" );

Space after opening parenthesis of function call prohibited
Open

define( "BUTTON_PREVIOUS", "Previous" ); // L42

Expected 0 spaces before closing bracket; 1 found
Open

define( "ALL_PERM_OK", "All Permissions are correct." );

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

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." );

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_ALTERED", "Table %s updated."); // L133

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_NO_DATABASE", "Could not create database. Contact the server administrator for details." ); // L31

Space after opening parenthesis of function call prohibited
Open

define( "ERR_INVALID_DBCHARSET", "The charset '%s' is not supported." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "SERVER_API", "Server API" );

Space after opening parenthesis of function call prohibited
Open

define( "DATABASE_CONNECTION", "Database connection" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CONFIG_SAVE_TITLE", "Saving your system configuration" );

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." );

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

Space after opening parenthesis of function call prohibited
Open

define( "DB_HOST_LABEL", "Server hostname" );    // L27

Space after opening parenthesis of function call prohibited
Open

define( "DB_PASS_HELP",  "Password of your database user account"); // L68

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.");

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." );

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." );

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." );

Space after opening parenthesis of function call prohibited
Open

define( "SHOW_HIDE_HELP", "Show/hide help text" );

Space before opening parenthesis of function call prohibited
Open

define ("ALTERNATE_LANGUAGE_LNK_URL", "https://sourceforge.net/projects/impresscms/files/ImpressCMS%20Languages/");

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." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_NO_XOOPS_FOUND", "No ImpressCMS installation could be found in the specified folder." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "RECOMMENDED", "Recommended" );

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

Space after opening parenthesis of function call prohibited
Open

define( "NONE", "None" );

Space after opening parenthesis of function call prohibited
Open

define( "SUCCESS", "Success" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_COPY_MAINFILE", "Could not copy the distribution file to mainfile.php" );

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

Space after opening parenthesis of function call prohibited
Open

define( "XOOPS_INSTALL_WIZARD", " %s - Installation Wizard" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "INTRODUCTION", "Introduction" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CONFIGURATION_CHECK_TITLE", "Checking your server configuration" );

Space after opening parenthesis of function call prohibited
Open

define( "INITIAL_SETTINGS", "Initial settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "SAFE_MODE_TITLE", "Safe Mode On" );

Space after opening parenthesis of function call prohibited
Open

define( "BUTTON_REFRESH", "Refresh" );

Space after opening parenthesis of function call prohibited
Open

define( "BUTTON_SHOW_SITE", "Show my site" );

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." );

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_NO_DBCONNECTION", "Could not connect to the database server." ); // L106

No space found after comma in function call
Open

define("_INSTALL_LOCAL_SITE",'https://www.impresscms.org/'); //Link to local support site

No space found after comma in function call
Open

define('_CORE_PASSLEVEL4','Strong');

Space before opening parenthesis of function call prohibited
Open

define ("ALTERNATE_LANGUAGE_LNK_MSG", "Select another language not listed here.");

Space after opening parenthesis of function call prohibited
Open

define( "RECOMMENDED_EXTENSIONS", "Recommended extensions" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "SETTING_NAME", "Setting name" );

Space after opening parenthesis of function call prohibited
Open

define( "INTRODUCTION", "Introduction" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATA_INSERTION_TITLE", "Saving your settings to the database" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "LEGEND_CONNECTION", "Server connection" );

Space after opening parenthesis of function call prohibited
Open

define( "DB_PASS_LABEL", "Password" );    // L52

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.");

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_PASS_LABEL", "Admin password" ); // L39

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_SALT_LABEL", "Password Salt Key" ); // L99

Space after opening parenthesis of function call prohibited
Open

define( "DATABASE_CREATED", "Database %s created!" ); // L43

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATABASE_CREATED", "Database %s created!" ); // L43

Expected 0 spaces before closing bracket; 1 found
Open

define( "TABLE_NOT_CREATED", "Unable to create table %s" ); // L118

No space found after comma in function call
Open

define("_LOCAL_SLOCGAN",'Make a lasting impression'); //Link to local support site

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "LANGUAGE_SELECTION", "Language selection" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DATABASE_CONFIG", "Database configuration" );

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "XOOPS_URL_LABEL", "Website location (URL)" ); // L56

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

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_LOGIN_LABEL", "Admin login" ); // L37

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_CONFIRMPASS_LABEL", "Confirm password" ); // L74

Expected 0 spaces before closing bracket; 1 found
Open

define( "BUTTON_NEXT", "Next" ); // L47

Space after opening parenthesis of function call prohibited
Open

define( "IS_NOT_WRITABLE", "%s is NOT writable." ); // L83

Space after opening parenthesis of function call prohibited
Open

define( "IS_WRITABLE", "%s is writable." ); // L84

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_DROPPED", "Table %s dropped."); // L163

Space after opening parenthesis of function call prohibited
Open

define( "ERR_REQUIRED", "Please enter all the required info." ); // L41

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_PASSWORD_MATCH", "The two passwords do not match" );

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.");

No space found after comma in function call
Open

define("WELCOME_WEBMASTER","Welcome Webmaster !");

Space after opening parenthesis of function call prohibited
Open

define( "ADMIN_DISPLAY_LABEL", "Admin Display Name" ); // L37

Expected 0 spaces before closing bracket; 1 found
Open

define( "XML_PARSING", "XML parsing" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CURRENT", "Current" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "CONFIGURATION_CHECK", "Configuration check" );

Space after opening parenthesis of function call prohibited
Open

define( "PATHS_SETTINGS", "Paths settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "PATHS_SETTINGS_TITLE", "Paths settings" );

Space after opening parenthesis of function call prohibited
Open

define( "NO_PHP5", "No PHP 7" );

Space after opening parenthesis of function call prohibited
Open

define( "MODULES_INSTALL", "Install modules" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "MODULES_INSTALL", "Install modules" );

Space after opening parenthesis of function call prohibited
Open

define( "LEGEND_CONNECTION", "Server connection" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "DB_NAME_LABEL", "Database name" );    // L29

Space after opening parenthesis of function call prohibited
Open

define( "DB_SALT_LABEL", "Password Salt Key" );    // L98

Expected 0 spaces before closing bracket; 1 found
Open

define( "ADMIN_CONFIRMPASS_LABEL", "Confirm password" ); // L74

Space after opening parenthesis of function call prohibited
Open

define( "CHECKING_PERMISSIONS", "Checking file and directory permissions..." ); // L82

Space after opening parenthesis of function call prohibited
Open

define( "ALL_PERM_OK", "All Permissions are correct." );

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

Expected 0 spaces before closing bracket; 1 found
Open

define( "ERR_INVALID_EMAIL", "Invalid Email" ); // L73

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

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

No space found after comma in function call
Open

define('_CORE_PASSLEVEL1','Too short');

Space after opening parenthesis of function call prohibited
Open

define( "INSTALL_COPYRIGHT", "Copyright &copy; 2007-" . date('Y', time()) . " <a href=\"https://www.impresscms.org\" target=\"_blank\">The ImpressCMS Project</a>" );

Space after opening parenthesis of function call prohibited
Open

define( "INTRODUCTION_TITLE", "Welcome to the ImpressCMS installation assistant" );        // L0

Expected 0 spaces before closing bracket; 1 found
Open

define( "TABLES_CREATION", "Tables creation" );

Space after opening parenthesis of function call prohibited
Open

define( "INITIAL_SETTINGS_TITLE", "Please enter your initial settings" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "WELCOME", "Welcome" );

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.");

Space after opening parenthesis of function call prohibited
Open

define( "XOOPS_URL_LABEL", "Website location (URL)" ); // L56

Expected 0 spaces before closing bracket; 1 found
Open

define( "LEGEND_DATABASE", "Database" ); // L51

Space after opening parenthesis of function call prohibited
Open

define( "BUTTON_FINISH", "Finish" );

Expected 0 spaces before closing bracket; 1 found
Open

define( "BUTTON_FINISH", "Finish" );

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_NOT_CREATED", "Unable to create table %s" ); // L118

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_CREATED", "Table %s created." ); // L45

Space after opening parenthesis of function call prohibited
Open

define( "ROWS_INSERTED", "%d entries inserted to table %s." ); // L119

Expected 0 spaces before closing bracket; 1 found
Open

define( "ROWS_FAILED", "Failed inserting %d entries to table %s." ); // L120

Space after opening parenthesis of function call prohibited
Open

define( "TABLE_NOT_DROPPED", "Failed deleting table %s."); // L164

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." );

Space after opening parenthesis of function call prohibited
Open

define( "ERR_INVALID_EMAIL", "Invalid Email" ); // L73

Space after opening parenthesis of function call prohibited
Open

define( "ERR_NO_DATABASE", "Could not create database. Contact the server administrator for details." ); // L31

No space found after comma in function call
Open

define("_LOCAL_FOOTER",'Powered by ImpressCMS &copy; 2007-' . date('Y', time()) . ' <a href=\"https://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>'); //footer Link to local support site

Unexpected spaces found.
Open

         - You left the site or close the browser window without clicking the logout button.<br />

Unexpected spaces found.
Open

        Wait a few minutes and try again later. If the problems still persists contact the site administrator.');

Unexpected spaces found.
Open

        <p align="left" style="color:red;">

Unexpected spaces found.
Open

         - Someone else logged in on the site using your username and password.<br />

Unexpected spaces found.
Open

         - You are already logged in on the site.<br />

Unexpected spaces found.
Open

        </p>

Unexpected spaces found.
Open

        Possible causes:<br />

There are no issues that match your filters.

Category
Status