Tio Akima Posted June 17, 2017 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 191 Reputation: 138 Joined: 09/24/12 Last Seen: April 14 Share Posted June 17, 2017 Hi guys I made some edits to the fluxcp layout, but now I have the following error: Does anyone know why you are giving this error while trying to login? FluxCP is complex, I can not solve it. Link to comment Share on other sites More sharing options...
0 Akkarin Posted June 18, 2017 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: April 15 Share Posted June 18, 2017 It means you've removed this: (themes/default/account/login.php) <?php if (count($serverNames) > 1): ?> <tr> <th><label for="login_server"><?php echo htmlspecialchars(Flux::message('AccountServerLabel')) ?></label></th> <td> <select name="server" id="login_server"<?php if (count($serverNames) === 1) echo ' disabled="disabled"' ?>> <?php foreach ($serverNames as $serverName): ?> <option value="<?php echo htmlspecialchars($serverName) ?>"><?php echo htmlspecialchars($serverName) ?></option> <?php endforeach ?> </select> </td> </tr> <?php endif ?> Or that you've changed something so that the code skips over the server selection. If you only have one server defined in your config/servers.php file then it won't be displayed anyway, so it's safe to add it back. Link to comment Share on other sites More sharing options...
0 Tio Akima Posted June 20, 2017 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 191 Reputation: 138 Joined: 09/24/12 Last Seen: April 14 Author Share Posted June 20, 2017 On 2017-6-18 at 2:52 PM, Akkarin said: It means you've removed this: (themes/default/account/login.php) <?php if (count($serverNames) > 1): ?> <tr> <th><label for="login_server"><?php echo htmlspecialchars(Flux::message('AccountServerLabel')) ?></label></th> <td> <select name="server" id="login_server"<?php if (count($serverNames) === 1) echo ' disabled="disabled"' ?>> <?php foreach ($serverNames as $serverName): ?> <option value="<?php echo htmlspecialchars($serverName) ?>"><?php echo htmlspecialchars($serverName) ?></option> <?php endforeach ?> </select> </td> </tr> <?php endif ?> Or that you've changed something so that the code skips over the server selection. If you only have one server defined in your config/servers.php file then it won't be displayed anyway, so it's safe to add it back. Hello akkarin thanks for your message. You helped me to clarify some doubts. And about my error, I had created two users in the database with the same name. Then the conflict was happening. I delete a user and resolved. Thanks for the clarification. solved! Link to comment Share on other sites More sharing options...
Question
Tio Akima
Hi guys
I made some edits to the fluxcp layout, but now I have the following error:
Does anyone know why you are giving this error while trying to login?
FluxCP is complex, I can not solve it.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts