Jump to content
  • 0

Biała strona i "Fatal error: Uncaught exception 'SmartyException'


1234567890qwerty

Question

Chciałem dziś wejść na strone a tam...

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home//public_html/cache/smarty/cache/blocknewproducts_tab/20141201/26/74/f6/b8/wrt547c469ac176c5.70424192' in /home//public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home//public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/fabik/pub...', '<?php /*%%Smart...', Object(Smarty)) #1 /home//public_html/tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #2 /home//public_html/tools/smarty/sysplugins/smarty_internal_template.php(230): Smarty_Template_Cached->write(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #3 /home//public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(259): Smarty_Internal_Template->writeCachedContent('<li><a data-tog...') #4 /home//public_htm in /home//public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

 

 

Macie jakis pomysł..

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Jak klikam "Zaawansowane"-"Wydajność" To mi wyskakuje

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home//public_html/cache/smarty/compile/18/02/82/wrt547c509c1f6b84.16262770' in /home//public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home//public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home//pub...', '<?php /* Smarty...', Object(Smarty)) #1 /home//public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home//public_html/classes/helper/Helper.php(114): Smarty_Internal_TemplateBase->fetch() #3 /home//public_html/classes/helper/HelperForm.php(237): HelperCore->generate() #4 /home//public_html/classes/helper/HelperForm.php(65): HelperFormCore->generate() #5 /home//public_html/classes/controller/AdminController.php(2114): HelperFormCore->generateForm(Array) #6 /home//public_html/controllers/admin/AdminPerformanceContro in /home//public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

Link to comment
Share on other sites

  • 0

mam jedno przypuszczenie, co do tego wszystkiego

być może przekroczyleś limit liczby plików jakie są możliwe do przetrzymywania na Twoim koncie hostingowym

czasami hosterzy nakładają takie ograniczenia, np. maxymalna ilość plików: 300 000

korzystając z cache - nie będę tu ukrywał - przekroczenie takiego limitu to nie problem, bywa, że cache generuje po kilka milionów plików.

Link to comment
Share on other sites

  • 0

najpier wtrzeba znaleźć przyczynę problemu by cokolwiek zrobić więcej.

zapytaj hostingodawcę czy Twoje konto ma jakieś ograniczenia dotyczące ilości plików przechowywanych na koncie.

jeżeli taki limit jest - problem będzie notorycznie powracał.

 

trzeba wyczyścić cache ręcznie:

http://www.templatemonster.com/help/prestashop-1-6-x-how-to-clear-smarty-cache.html

 

punkt 2

Link to comment
Share on other sites

  • 0

W sumie to strona nie działa.. Co chwile ją wywala i widać tylko białą kartkę.. Oto error któy wyskakuje.. Czyściłem parę razy ręcznie smarty przez filezille bo do panelu też się nie da wejść.. oto komunikat po włączeniu reportowania błędów:

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/fabik/public_html/cache/smarty/compile/68/97/9b/wrt547cc636590a36.08978024' in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/fabik/pub...', '<?php /* Smarty...', Object(Smarty)) #1 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/fabik/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/fabik/public_html/modules/homeslider/homeslider.php(479): ModuleCore->display('/home/fabik/pub...', 'header.tpl') #4 /home/fabik/public_html/classes/Hook.php(507): HomeSlider->hookdisplayHeader(Array) #5 /home/fabik/public_html/classes/controller/FrontController.php(447): HookCore::exec('displayHeader') #6 /home/fabik/public_html/controlle in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

Link to comment
Share on other sites

  • 0

Raportowanie błędów pokazuje:

 

Notice: unserialize() [function.unserialize]: Error at offset 4094 of 4096 bytes in /home/fabik/public_html/classes/cache/CacheFs.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /home/fabik/public_html/classes/cache/CacheFs.php:40) in /home/fabik/public_html/classes/controller/FrontController.php on line 791

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/fabik/public_html/cache/smarty/compile/68/97/9b/wrt547d8a02b574f7.58691458' in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/fabik/pub...', '<?php /* Smarty...', Object(Smarty)) #1 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/fabik/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/fabik/public_html/modules/homeslider/homeslider.php(479): ModuleCore->display('/home/fabik/pub...', 'header.tpl') #4 /home/fabik/public_html/classes/Hook.php(507): HomeSlider->hookdisplayHeader(Array) #5 /home/fabik/public_html/classes/controller/FrontController.php(447): HookCore::exec('displayHeader') #6 /home/fabik/public_html/controlle in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

Link to comment
Share on other sites

  • 0

Cache wyłączone, pamięć podręczna wyłączona.. Kompilacja szablonu - Nigdy nie kompiluj ponownie szablonu..

i nadal error:

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/fabik/public_html/cache/smarty/compile/6b/48/53/wrt547d9e864d3a78.39717994' in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/fabik/pub...', '<?php /* Smarty...', Object(Smarty)) #1 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/fabik/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/fabik/public_html/modules/blockbestsellers/blockbestsellers.php(225): ModuleCore->display('/home/fabik/pub...', 'tab.tpl', 'blockbestseller...') #4 /home/fabik/public_html/classes/Hook.php(507): BlockBestSellers->hookDisplayHomeTab(Array) #5 /home/fabik/public_html/controllers/front/IndexController.php(41): HookCore::exec('displayHomeTab') in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

 

 

Sorki najpierw to napisałem dopiero wyczyściłem cache.. i w sumie zaczeło latać tylko zobaczymy jak długo... od wczoraj czyściłem cache około 10 razy, strona zaczynała działać ale nie na długo.. w sumie cache były cały czas włączone, dopiero teraz je wyłączyłem..

Edited by 1234567890qwerty (see edit history)
Link to comment
Share on other sites

  • 0

no i w sumie znów nie działa.. niby na główną stronę wchodzi ale jak chce wejść w jakiś produkt to wyskakuje :

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/fabik/public_html/cache/smarty/compile/0c/38/1b/wrt547dad2ba23dc1.53436390' in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/fabik/pub...', '<?php /* Smarty...', Object(Smarty)) #1 /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/fabik/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/fabik/public_html/modules/sendtoafriend/sendtoafriend.php(78): ModuleCore->display('/home/fabik/pub...', 'sendtoafriend-e...') #4 /home/fabik/public_html/classes/Hook.php(509): sendToAFriend->hookExtraLeft(Array) #5 /home/fabik/public_html/controllers/front/ProductController.php(260): HookCore::exec('displayLeftColu...') #6 /home/fabik/pub in /home/fabik/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...