Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ошибка Template core/front/global/loginPopup is throwing an error

Featured Replies

Posted

Всем привет. Столкнулся с такой проблемой сегодня, что внезапно появилась ошибка (предоставлена ниже) у неавторизованных пользователей.

Зарегистрироваться и войти на форум естественно не получается. Пробовал очищать кэш и ставить дефолт шаблон - не помогло. Какие еще могут быть варианты? И от чего?

В гугле никакой информации не нашел

[[Template core/front/global/loginPopup is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Не поверите, но как только создал тему проблема решилась.

Но интересно от чего это могло возникнуть?

UPD: Если включить режим дизайнера то всё работает.

Если выключить, то опять ошибка.

  • Author
1 минуту назад, Sipsb сказал:

Устаревший стиль

ну не может же быть такого, что работал-работал, и сегодня прям все стили перестали работать включая дефолт.

Никаких обнов не было.

Edited by September^^

  • Author
Только что, Sipsb сказал:

Посмотрите, что тут. 

  Скрыть контент

Screenshot_1.jpg

 

<ips:template parameters="$login" />
<div id='elUserSignIn_menu' class='ipsMenu ipsMenu_auto ipsHide'>
	<div data-role="loginForm">
		{{if count ( $login->forms( FALSE, TRUE ) ) > 1}}
			<div class='ipsColumns ipsColumns_noSpacing'>
				<div class='ipsColumn ipsColumn_wide' id='elUserSignIn_internal'>
		{{endif}}
		{{foreach $login->forms( FALSE, TRUE ) as $k => $form}}
			{{if $k === '_standard'}}
				{$form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'global', 'core', 'front' ), 'loginPopupForm' ) )|raw}
			{{endif}}
		{{endforeach}}
		{{if count ( $login->forms( FALSE, TRUE ) ) > 1}}
				</div>
				<div class='ipsColumn ipsColumn_wide'>
					<div class='ipsPad' id='elUserSignIn_external'>
						<div class='ipsAreaBackground_light ipsPad_half'>
							<p class='ipsType_reset ipsType_small ipsType_center'><strong>{lang="sign_in_with_these"}</strong></p>
							<br>
							{{foreach $login->forms( FALSE, TRUE ) as $k => $form}}
								{{if $k !== '_standard'}}
									<div class='ipsPad_half ipsType_center'>
										{$form|raw}
									</div>
								{{endif}}
							{{endforeach}}
						</div>
					</div>
				</div>
			</div>
		{{endif}}
	</div>
</div>

Я даже копировал уже шаблоны со второго форума моего, всё равно такая ерунда.

  • Author

Проблему решил. Сломал голову, но всё выяснил.

В общем всё началось с этой темы 

Я удалил приложение Discord, но оно оказывается еще было добавлено в методы авторизации. Отключил в методах авторизации Discord и всё заработало.

Тему можно закрыть)

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.