Jump to content
  • 0

Question

Posted

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.

 

2 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted
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!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...