Перейти к содержанию

Maqlao

Актив
  • Постов

    376
  • Зарегистрирован

  • Посещение

  • Победитель дней

    2

Сообщения, опубликованные Maqlao

  1. Спойлер
    {{$idField = $comment::$databaseColumnId;}}
    {{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
    {{if $comment->isIgnored()}}
    	<div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
    		{lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$comment->$idField}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
    		<ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
    			<li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
    			<li class='ipsMenu_sep ipsJS_show'><hr></li>
    			<li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
    			<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
    		</ul>
    	</div>
    {{endif}}
    <a id='comment-{$comment->$idField}'></a>
    <article {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox ipsResponsive_pull {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone {{if $comment->author()->hasHighlightedReplies()}}ipsComment_highlighted{{endif}} {{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->hidden() OR $item->hidden() === -2}}ipsModerated{{endif}} {{if ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid )}}ipsComment_solved{{endif}}'>
    	{{if $item->isQuestion() and !$comment->new_topic}}
    		{template="postRating" group="topics" app="forums" params="$item, $comment, $votes"}
    	{{endif}}
    
    	{{if $comment->author()->hasHighlightedReplies() || ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid ) || $comment->isFeatured() || ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
    		<div class='ipsResponsive_showPhone ipsComment_badges'>
    			<ul class='ipsList_reset ipsFlex ipsFlex-fw:wrap ipsGap:2 ipsGap_row:1'>
    				{{if $comment->author()->hasHighlightedReplies()}}
    					<li><strong class='ipsBadge ipsBadge_large ipsBadge_highlightedGroup'>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->name" raw="true"}</strong></li>
    				{{endif}}
    				{{if ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid )}}
    					<li><strong class='ipsBadge ipsBadge_large ipsBadge_positive ipsBadge_reverse'><i class='fa fa-check'></i> {lang="this_is_a_solved_post"}</strong></li>
    				{{endif}}
    				{{if $comment->isFeatured()}}
    					<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_featured_post"}</strong></li>
    				{{endif}}
    				{{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
    					<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_post"}</strong></li>
    				{{endif}}
    			</ul>
    		</div>
    	{{endif}}
    
    	<div class='cAuthorPane_mobile ipsResponsive_showPhone'>
    		<div class='cAuthorPane_photo'>
    			<div class='cAuthorPane_photoWrap'>
    				{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
    				
    			</div>
    		</div>
    		<div class='cAuthorPane_content'>
    			<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_break ipsType_blendLinks ipsFlex ipsFlex-ai:center'>
    				{template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), TRUE, $comment->isAnonymous()"}
    			</h3>
    			<div class='ipsType_light ipsType_reset'>
    				<a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->$idField ) )}' rel="nofollow" class='ipsType_blendLinks'>{$comment->dateLine()|raw}</a>
    				{{if $comment->ip_address and \IPS\Member::loggedIn()->modPermission('can_use_ip_tools') and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) )}}
    					&middot; <a class='ipsType_blendLinks ipsType_light ipsType_noUnderline ipsType_noBreak' href="{url="app=core&module=modcp&controller=modcp&tab=ip_tools&ip=$comment->ip_address" seoTemplate="modcp_ip_tools"}" data-ipsMenu data-ipsMenu-menuID='{$comment->$idField}_ip_menu'>{lang="ip_short"} <i class='fa fa-angle-down'></i></a>
    				{{endif}}
    			</div>
    		</div>
    	</div>
    	<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>
    		<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break'><strong>{template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), FALSE, $comment->isAnonymous()"}</strong>
    			
    		</h3>
    		<ul class='cAuthorPane_info ipsList_reset'>
    			<li data-role='photo' class='cAuthorPane_photo'>
    				<div class='cAuthorPane_photoWrap'>
    					{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
    					
    				</div>
    			</li>
    			
    			{{if $comment->author()->member_id}}
    				<li data-role='stats' class='ipsMargin_top'>
    					<ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats">
    						<li>
    							{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}
    								<a href="{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=content" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" rel="nofollow" title="{lang="member_post_count" pluralize="$comment->author()->member_posts"}" data-ipsTooltip class="ipsType_blendLinks">
    							{{endif}}
    								<i class="fa fa-comment"></i> {number="$comment->author()->member_posts" format="short"}
    							{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}
    								</a>
    							{{endif}}
    						</li>
    						{{if isset( $comment->author_solved_count )}}
    							<li>
    								{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}
    									<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=solutions" seoTemplate="profile_solutions" seoTitle="$comment->author()->members_seo_name"}' rel="nofollow" title="{lang="solved_badge_tooltip" pluralize="$comment->author_solved_count"}" data-ipsTooltip class='ipsType_blendLinks'>
    								{{endif}}		
    									   <i class='fa fa-check-circle'></i> {number="$comment->author_solved_count"}
    								{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}
    									</a>
    								{{endif}}
    							</li>
    						{{endif}}
    					</ul>
    				</li>
    			{{endif}}
    			{{if $comment->author()->member_id}}
    				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
    			{{endif}}
    		</ul>
    	</aside>
    	<div class='ipsColumn ipsColumn_fluid ipsMargin:none'>
    		{template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
    	</div>
    </article>

     

    Это все что есть там.

  2. Домен тут не причем, я же говорю поставил на старый хостинг все, + домен другой прикрепил.

    Все работает.

    А на новом хосте нет.

    Видимо пути директории не совпадают или что-то еще.

     

  3. 10 минут назад, Zero108 сказал:

    Настроить сертификат для домена в панели управления сервером. Или обратиться к хостеру.

    Все настроено.

    Залил щас на старый хостинг, все работает.

    А на новом не хочет.

  4. 9 часов назад, Desti сказал:

    Имя в сертификате не соответствует имени сайта в настройках сервера apache | nginx. 
     

    Как это поправить?

    А версия php стоит 7.4, на старом хосте тоже эта версия стояла.

    У меня еще в корне была создана директорию "home" и там лежал шаблон html главной страницы.

    Разрабатывал кое-что.

    Вот и он включается, нормально работает.

    А вот форум не хочет.

  5. Такие вот ошибки нашли в тех.поддрежке хоста.

    [Thu Aug 11 19:54:21.911519 2022] [ssl:warn] [pid 2035028] AH01909: site-name-ru.k109543.hostru13.fornex.host:443:0 server certificate does NOT include an ID which matches the server name
    [Thu Aug 11 20:25:58.911526 2022] [lsapi:error] [pid 2187118] [client 94.140.246.32:0] [host site-name.ru] Backend fatal error: PHP Fatal error:  Uncaught IPS\\Db\\Exception: No such file or directory in /home/k109543/public_html/site-name.ru/system/Db/Db.php:269\nStack trace:\n#0 /home/k109543/public_html/site-name.ru/system/Db/Db.php(356): IPS\\_Db->_establishConnection(false)\n#1 /home/k109543/public_html/site-name.ru/system/Db/Db.php(487): IPS\\_Db->checkConnection(false)\n#2 /home/k109543/public_html/site-name.ru/system/Db/Db.php(972): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/k109543/public_html/site-name.ru/system/Session/Admin.php(112): IPS\\_Db->replace('core_sys_cp_ses...', Array)\n#4 [internal function]: IPS\\Session\\_Admin->write('41f3a328b2c5807...', '')\n#5 [internal function]: session_write_close()\n#6 {main}\n  thrown in /home/k109543/public_html/site-name.ru/system/Db/Db.php on line 269\n

     

  6. Да я уже все перепробывал) 

    Не понимаю что за дичь.

    Говорю, до этого ставил на тест на бесплатный хостинг все работало отлично.

    Права все выставленны правильно.

     

    9 минут назад, macar сказал:

    Anche самый простой способ понять где проблема.

    Переименуй index.php создай свой простенький index.html. если все ок то проблемы с файлами или базой форума, или пхп, что вообщем врядли.

    Попробывал, не помогло.

    5 минут назад, Zero108 сказал:

    Вобще движок очень капризный. Я не мог на одном хостинге под одним пользователем создать из сайта его дубликат - тоже выдавало похожую ошибку. Связываю это с работой кеширования Redis. Установка с нуля прошла успешно.

    Да я вот тоже поробывал, накатил нульцевый, все работает.

    А вот мой, мозга парит.(

    А это что значит?

    [11-Aug-2022 19:40:56 UTC] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/k109543/public_html/site-name.ru/init.php on line 957

     

  7. 3 минуты назад, Zero108 сказал:

    Anche создай этот файл с указанным содержимым и залей его по ftp в корневую директорию. Также причиной может быть то, что после переноса не выставлены правильные права CHMOD на папки и не задан правильный пользователь. Также, если файлы сайта переносились по одному, а не архивом, во время передачи могла быть ошибка, часть файлов не перенеслась, либо была перенесена с ошибками. Нужно переносить одним архивом весь сайт и разархивировать все сразу. Например, перенес site.zip и затем выполнил по ssh терминалу команду unzip site.zip для этого архива. Тогда точно файлы не потеряются. 

    Переносил целиком архивом.

    А вот по поводу правильного пользователя, можно по конкретней пожалуйста.

×
×
  • Создать...