...
Common Installation Issues
Errors
- Connection FAILED. Ensure that you have created the database and that the credentials are correct.
- Check to ensure the hostname, database name, user, and password you entered are correct and try again.
If the credentials are correct you may have MySQL old_passwords enabled. Disable old_passwords for your database or update your user's password:
Code Block language bash % mysql % SET SESSION old_passwords=0; % SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');
IIS
- Submitting data reloads the current page
There is an issue with your web.config file. Try the following web.config file:
Code Block <?xml version="1.0"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Main Rule" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Next, update /lib/init.php and make the following change:
Code Block // define("HTACCESS", file_exists(ROOTWEBDIR . ".htaccess")); define("HTACCESS", true);