Jump to content

После сброса кеша не отображается сайт


Recommended Posts

Добрый день!

 

Воспользовалась кнопкой "Сбросить кеш" в админке сайта.  Сайт не отображается, белая страница. До этого не выгружались изменения с хостинга, рекомендовали именно сброс кеша. Как сейчас можно восстановить сайт?

Link to post
Share on other sites

[Mon Sep 07 13:26:00 2020] [warn] [client 185.120.190.90] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9, referer: https://yandex.ru/
[Mon Sep 07 13:26:13 2020] [warn] [client 185.120.190.90] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- , referer: https://yandex.ru/
[Mon Sep 07 13:26:13 2020] [warn] [client 185.120.190.90] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9, referer: https://yandex.ru/
[Mon Sep 07 13:26:23 2020] [warn] [client 185.120.190.90] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- , referer: https://yandex.ru/
[Mon Sep 07 13:26:23 2020] [warn] [client 185.120.190.90] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9, referer: https://yandex.ru/
[Mon Sep 07 13:29:55 2020] [warn] [client 178.159.37.69] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- , referer: https://www.pyshka.ru/
[Mon Sep 07 13:29:55 2020] [warn] [client 178.159.37.69] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9, referer: https://www.pyshka.ru/
[Mon Sep 07 13:33:25 2020] [error] [client 66.249.69.88] File does not exist: /var/www/u1726551/data/www/pyshka.ru/buyme, referer: https://www.pyshka.ru/product_info.php?products_id=4463
[Mon Sep 07 13:41:01 2020] [warn] [client 46.42.147.19] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:41:01 2020] [warn] [client 46.42.147.19] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:41:01 2020] [warn] [client 46.42.147.19] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:50:26 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:50:26 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:50:26 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:50:58 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:50:58 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:50:58 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:51:29 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:51:29 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:51:29 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:52:02 2020] [warn] [client 66.249.69.88] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:52:02 2020] [warn] [client 66.249.69.88] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:52:02 2020] [warn] [client 66.249.69.88] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:52:52 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/u1726551/data/www/pyshka.ru/includes/header.php:36) in /var/www/u1726551/data/www/pyshka.ru/includes/modules/error_handler.php on line 17
[Mon Sep 07 13:52:52 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:52:52 2020] [warn] [client 66.249.69.86] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:55:29 2020] [warn] [client 78.180.51.217] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:55:29 2020] [warn] [client 78.180.51.217] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9
[Mon Sep 07 13:58:41 2020] [warn] [client 195.9.38.130] mod_fcgid: stderr: PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "file:/var/www/u1726551/data/www/pyshka.ru/templates/pyshka/index.html"  on line 9 "{if(f.fbq)return;n=f.fbq=function(){n.callMethod?"  - Unexpected ".", expected one of: "","" , ")" <-- 
[Mon Sep 07 13:58:41 2020] [warn] [client 195.9.38.130] mod_fcgid: stderr:   thrown in /var/www/u1726551/data/www/pyshka.ru/includes/external/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 9

Link to post
Share on other sites
support
3 часа назад, Pyshka сказал:

Добрый день!

 

Воспользовалась кнопкой "Сбросить кеш" в админке сайта.  Сайт не отображается, белая страница. До этого не выгружались изменения с хостинга, рекомендовали именно сброс кеша. Как сейчас можно восстановить сайт?

Здравствуйте!

У Вас ошибка в файле /templates/pyshka/index.html на 9 строке.

Link to post
Share on other sites
1 минуту назад, support сказал:

Здравствуйте!

У Вас ошибка в файле /templates/pyshka/index.html на 9 строке.

Странно, там давно ничего не переписывалось, раньше работало

<!-- шапка -->
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');

fbq('init', '617082722244457'); 
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" 
src="https://www.facebook.com/tr?id=617082722244457&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<header>

 

 

Link to post
Share on other sites
support
1 час назад, Pyshka сказал:

Странно, там давно ничего не переписывалось, раньше работало

<!-- шапка -->
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');

fbq('init', '617082722244457'); 
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" 
src="https://www.facebook.com/tr?id=617082722244457&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<header>

 

 

Попробуйте весь этот код обернуть тэгом literal

т.е. вот так:

{literal}
здесь код, что Вы привели
{/literal}

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...