Решено Не зайти на форум

Статус
В этой теме нельзя размещать новые ответы.

nictic123

Проверенные
Сообщения
910
Реакции
920
Баллы
855
Добрый день! Сегодня залогинился под учеткой админа и внес правки в extra.less. После этого при попытке зайти на форум появляется это окно:
1526718253164.png
Стоит отметить, что я не уверен, сохранился ли extra.less, так как надписи об успешном сохранении не появилось. При этом с гостевой учетки из другого браузера я все так же могу заходить на форум, но при попытке логина в любую учетку, не обязательно администратора, "не удается получить доступ к сайту"
 
Режим отладки включить и показать, что Вы там пытаетесь внести в шаблон.
Форум уже работает. Режим отладки включен, в шаблоне менял цвета вот тут вот:
Less:
.first-statistics-block {
    display: none;
    padding: 10px;
    background: #1b1b1b;
    border-width: 1px;
    border-style: solid;
    margin-bottom: 5px;
    border-top-color: #272a2e;
    border-right-color: #272a2e;
    border-bottom-color: #272a2e;
    border-left-color: #272a2e;
    margin-bottom: 15px;
    border-radius: 4px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -webkit-transition-property: border margin;
    transition-property: border margin;

    &.thread {
        width: auto;

        @media (max-width: @xf-responsiveWide)
        {
            width: 100%;
        }

        @media (max-width: 360px)
        {
              width: auto;
        }
    }
   
    &.user {
        float: left;
        width: 30%;
       
        & .change-tab-statistic.selected {
            display: block;
        }
       
        & .change-tab-statistic {
            display: none;
            margin-right: 0;
        }
       
        & .tab-list {
            padding-bottom: 3px;
        }

        @media (max-width: @xf-responsiveWide)
        {
            display: none !important;
        }

        @media (max-width: 360px)
        {
              display: none !important;
        }
    }
   
    & .tab-list {
        font-size: 18px;
        padding-bottom: 20px;
        color: #47a7eb;
       
        & .change-tab-statistic {
             & .icon-tab-before {
                 @media (max-width: @xf-responsiveWide) {
                     display: inherit;
                 }
            }
            & span.text {
                 @media (max-width: @xf-responsiveWide) {
                     display: none;
                 }
            }
        }
       
        a.refresh-button {
            float: right;
            color: #fff;
        }

    }
   
    .extra-phrase {
        float: right;
        font-size: 12px;
        color: #3ec1d9;
        max-width: 120px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.first-statistics-block .content {
    list-style: none;
    padding: 0px;
    margin: 0px;
    max-height: 200px;
    overflow-y: auto;
    position: relative;
    height: 200px;
   
    & .loading {
        background: url('load1.gif') no-repeat center;
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
    }
   
    .item {
        border-bottom: 1px solid #222222;
        padding: 3px;
        padding-right: 7px;
       
        &:first-child {
            padding-top: 0;
        }
       
        .title {
            width: 68%;
            display: inline-block;
           
            a {
                color: #fff;
            }
        }
       
        & .before-item-icon {
            margin-right: 2px;
           
            &.user-icon {
                color: #fff;
            }
        }
   
        .postDate {
            color: #7b7b7b;
   
            @media (max-width: @xf-responsiveWide)
            {  
                display: none;
            }
   
            @media (max-width: 360px)
            {
                    display: none;
            }
        }
   
        span {
            &.username {
                float: right;
                width: 120px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                text-align: right;
                display: inline-block;
   
                @media (max-width: @xf-responsiveWide)
                {  
                    display: none;
                }
   
                @media (max-width: 360px)
                {
                        display: none;
                }
            }
        }
    }
   
    .item.is-unread .title:before,
    .item .title:before {
        font-family: FontAwesome;
        font-size: 16px;
    }
   
    .item.is-unread .title:before {
        color: #FFF;
        content: "\f101";
    }
   
    .item .title:before {
        color: #FFF;
        content: "\f101";
    }
}

.change-tab-statistic {
    margin-right: 10px;
    color: #FFF;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;


    &:hover {
        text-decoration: none;
        color: #c7bcae;
    }

    &.selected {
        color: #c7bcae;
        margin-right: 10px;
        border-bottom: 3px solid #c7bcae;
        padding-bottom: 5px;
    }
   
    & .open-menu-icon {
        margin-left: 2px;
    }
}

.fs-tab-menu {
    display: none;
    position: absolute;
    background: #c7bcae;
    border-width: 1px;
    border-style: solid;
    margin-bottom: 5px;
    border-top-color: #000000;
    border-right-color: #000000;
    border-bottom-color: #000000;
    border-left-color: #000000;
    padding: 10px;
   
    & .change-tab-statistic {
        display: block;
        margin-right: 0;
        border-bottom: 1px solid #c7bcae;
        padding-bottom: 5px;
       
        &:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }
       
        &.selected {
            font-weight: bold;
        }
       
        & .icon-item {
            margin-right: 5px;
        }
       
        & .open-menu-icon {
            display: none;
        }
    }
}
P.S. Сейчас редактирую шаблон, все работает спокойно
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу