Selitev Magento na drug strežnik
 
harmonik 23. feb 2017 14:30:41 Pridružen od:
4. nov 2014
221 objav
80 14 3
#11

Zdravo,



premaknil sem magento trgovino na drug strežnik pa dobim en kup napak "Not valid template file". Na googlu imam že vse linke vijolične, stran pa še vedno ne dela. Ima kdo kakšno izkušnjo s tem?



Primer:


2017-02-23T14:19:56+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/sticky_header.phtml

Te datoteke (na tej lokaciji) ni ne na novem ne na starem strežniku.


všeč(0) ni všeč(0) spam(0)
 
1qay1qay 23. feb 2017 14:34:22 Pridružen od:
12. avg 2010
2967 objav
2430 194 84
#12

glavni megento cache si spraznil ? kompajliranje izklopljeno? a če preklopiš na RWD dela ? symlinks vklopljeni ?



sicer pa poglej tole: http://magento.stackexchange.com/questions/108768/not-a-valid-template-while-on-onepage-checkout


všeč(0) ni všeč(0) spam(0)
Delko www.delko.si [Moto akumulatorji] | [Polnilne baterije] | [GP baterije]
 
komac 23. feb 2017 14:35:24 Pridružen od:
14. avg 2009
733 objav
673 29 7
#13

to je fall back..



template / modul zahteva datoteko sticky_header.phtml



ker te datoteke ne najde v templatu, ki ga imaš aktiviranega gre potem v base/default pogledat.. ker ga tudi tam ni, vrže ven napako.



torej poglej če imaš na stari strani kje to datoteko... Možno je sicer da je tudi na stari strani nisi nikoli imel, pa si imel samo izklopljene errorje, zdaj jih imaš pa vklopljene in zato to vidiš


všeč(2) ni všeč(0) spam(0)
 
harmonik 23. feb 2017 14:40:02 Pridružen od:
4. nov 2014
221 objav
80 14 3
#14

Cache in session sem pobrisal. Večkrat. Tudi administracija ne dela pravilno... Vse nekaj na pol. Celoten error pri obisku prve stran in admina je naslednji:


2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/sticky_header.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/smartwave/quickview/page/lablequickview.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/custom_notice.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/header_type4.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/homeslider/home_slider.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/ajaxcart/loading_mask.phtml
2017-02-23T14:37:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/videogallery/videohome.phtml
2017-02-23T14:38:04+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/page/js/calendar.phtml
2017-02-23T14:38:04+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/notification/baseurl.phtml
2017-02-23T14:38:04+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/system/cache/notifications.phtml
2017-02-23T14:38:04+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/notification/survey.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/notification/toolbar.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/notification/window.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/index/notifications.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/tax/notifications.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/dashboard/salebar.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/widget/tabshoriz.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/dashboard/totalbar.phtml
2017-02-23T14:38:06+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/widget/tabshoriz.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/sticky_header.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/smartwave/quickview/page/lablequickview.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/custom_notice.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/header_type4.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/page/html/topcontainer.phtml
2017-02-23T14:38:07+00:00 CRIT (2): Not valid template file:frontend/base/default/template/ajaxcart/loading_mask.phtml
všeč(0) ni všeč(0) spam(0)
 
harmonik 23. feb 2017 14:44:18 Pridružen od:
4. nov 2014
221 objav
80 14 3
#15

Je možno, da zip ni vključil vseh datotek? Ali pa fileZilla prenesla na drug strežnik? Nekaj sem našel na čisto drugi lokaciji, kot pa je napaka...


všeč(0) ni všeč(0) spam(0)
 
OvcaX 23. feb 2017 14:45:06 Pridružen od:
24. avg 2007
2753 objav
4575 1194 281
#16

Si odstrani cache


všeč(0) ni všeč(0) spam(0)
CEO@Humanfrog & CEO@Junai
 
slayer 23. feb 2017 16:10:55 Pridružen od:
4. jul 2011
472 objav
295 32 11
#17

Tako obsežne zadeve kot je magento se seli z arhiviranjem stare strani in razpakiranjem arhiva na novem strežniku. Tako zmanjšamo možnost napak pri prenosu.



Čeprav tukaj ti javlja not valid template file samo za neke template related stvari in verjetno ni problem v prenosu. Kot je komac omenil gre pri tebi za fall back. ker ne najde teh datotek v mapi tvojega templata. Preveri če so tam.


všeč(0) ni všeč(0) spam(0)
 
harmonik 23. feb 2017 18:58:40 Pridružen od:
4. nov 2014
221 objav
80 14 3
#18

Precej datotek se ni preneslo s filezillo. Zdaj sem vse skupaj arhiviral in še enkrat prenesel tako, da stran končno deluje.



Zmedlo me je to, da je sistem iskal datoteke drugje, kot tam, kjer naj bi dejansko bile.


všeč(0) ni všeč(0) spam(0)
 
 

🔒 Za odgovor na to temo se moraš prijaviti.

Prijavi se