RapiCom Posted September 26, 2013 Share Posted September 26, 2013 Co jakiś czas po kliknięciu na kategorię albo produkt, pojawiała mi się biała strona, więc skorzystałem z instrukcji jak włączyć debugera http://www.prestashop.com/forums/topic/272660-500-error-b%C5%82%C4%99dy-bia%C5%82a-strona-instrukcja-dotycz%C4%85ca-trybu-debugowania/ Po załączeniu jej wyskakuje mi ten błąd Fatal error: Function name must be a string in /.../tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 Czasem się pojawia, a czasem nie :/ Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 czy zależne jest to np. od kategorii które przeglądasz? czy problem pojawia się losowo? na githubie jest takie rozwiązanie: https://github.com/PrestaShop/PrestaShop/commit/242556e176502ec61271a3945e1337917bc88f93 jest to powiązane bezpośrednio z Twoim błędem opisanym tutaj: http://forge.prestashop.com/browse/PSCFV-10408 Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 Niestety w moim pliku Module.php kod wyglada inaczej niż w linku który podesłałeś. Jeden z użytkowników napisał coś takiego removing the cache condition inside the leftcolumn and footer hook of this modulethe problem about smarty_internal_templatebase.php on line 281 is solved, but this is not a good solution Ale szczerze pisząc - nie mam zielonego pojęcia o co chodzi. Sorki dopiero z prestą przygodę zaczynam Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 z jakiej wersji prestashop korzystasz? Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 Wersja PrestaShop: 1.5.4.1 Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 srpawdziłem ten plik w wersji 1.5.4.1 i wygląda identycznie Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 A czy templatka może mieć wpływ na zmianę tego pliku ? Dodaje w załączniku plik Module.php Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 templatka nie, ale np. override przez jakiś moduł tak możesz zerknąć w /override/classes/module/ ? Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 Pusto Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 to i dobrze, że pusto sprawdziłem Twój plik, wygląda identycznie. po prostu dodaj do niego te zielone wpisy z https://github.com/PrestaShop/PrestaShop/commit/242556e176502ec61271a3945e1337917bc88f93 (120,121,122) Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 (edited) Myślałem, że mam wszystkie zilone dodać a nie tylko te 3 linijki i że czerwono usunąć. Ale tych czerwonych nie mogłem znaleźć stąd zamieszanie. Dodam te linijki i zostawie na jakiś czas do testów. Dam znać za jakiś czas czy się pojawiają problemy. Dzięki za pomoc i cierpliwość Niestety nie pomogło :/ Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /...../classes/module/Module.php on line 1711 Edited September 26, 2013 by RapiCom (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 kurczę nie wiem co dodałeś skoro bład pojawia się w linii 1711 chodziło wyłacznie o ty trzy linie nr 120,121,122 Link to comment Share on other sites More sharing options...
RapiCom Posted September 26, 2013 Author Share Posted September 26, 2013 (edited) No właśnie tylko te trzy linie dodałem Sprawdzę to jeszcze raz Niestety nie pomogło Błąd nadal się wyświetla Znalazłem przyczynę. Templatka była aktualna dla PS 1.5.3 więc pojawiał jej sie błąd dla 1.5.4 i wyższych :/ Zmienie templatkę i powinno hulać. Edited September 27, 2013 by RapiCom (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now