Search the Community
Showing results for tags 'compile'.
-
solved Smarty permissions errors (randomly compiles as 'root')
remifr posted a topic in General topics
Hi, I'm asking for help cause I'm out of ideas. Since December 2021, my Prestashop 1.6.1.9 started to crash and return blank pages until the website was not responding at all. I found out that there are new folders created in /cache/smarty/compile & /cache/smarty/cache, as 'root' user instead of 'www-data' (or other apache's user). After I empty the cache (file system) I get this : This folder has 0 as owner (root) : www/web/cache/smarty/compile/f4/1d My only 2 temporary solutions for this is to "chown -R www-data:www-data" all the time on /cache & /compile Smarty folders And the other solution is SQL cache instead of filesystem cache, but after a couple of days, the db is too big and I need to manually empty the cache or the site will be too slow to load -
Hi Prestasopers I was developing a shop on a sub domain - new.milmanltd.co.il when I moved prestashop to main domain - milmanltd.co.il I get this error while trying to enter the modules section @ the back office : Compile Error: require_once(): Failed opening required '/home/new.milmanltd.co.il/public_html/modules/statssales/statssales.php' (include_path='/home/milmanltd.co.il/public_html/vendor/pear/pear_exception:/home/milmanltd.co.il/public_html/vendor/pear/console_getopt:/home/milmanltd.co.il/public_html/vendor/pear/pear-core-minimal/src:/home/milmanltd.co.il/public_html/vendor/pear/archive_tar:.:') here is the full screenshot: it seems like the statssales module is still looking for the subdomain how can I fix this one? Prestashop 1.7.8.3 PHP 7.4 Cyberpanel OLS Server version: 10.3.38-MariaDB-0ubuntu0.20.04.1 - Ubuntu 20.04 Protocol version: 10 Thank you for any replay
-
hello i have a serious problem to access my front and back-end also due to ( back-end problem) (1/1) ServiceNotFoundException You have requested a non-existent service "prestashop.core.localization.locale.repository". in ContainerBuilder.php line 1053 at ContainerBuilder->getDefinition('prestashop.core.localization.locale.repository')in ContainerBuilder.php line 619 at ContainerBuilder->doGet('prestashop.core.localization.locale.repository', 1)in ContainerBuilder.php line 587 at ContainerBuilder->get('prestashop.core.localization.locale.repository')in Controller.php line 772 at ControllerCore->get('prestashop.core.localization.locale.repository')in Controller.php line 187 at ControllerCore->init()in AdminController.php line 2785 at AdminControllerCore->init()in Controller.php line 273 at ControllerCore->run()in Dispatcher.php line 511 at DispatcherCore->dispatch()in index.php line 99 Front-end issue Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "prestashop.core.localization.locale.repository". in /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1053 Stack trace: #0 /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(619): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('prestashop.core...') #1 /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(587): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('prestashop.core...', 1) #2 /opt/bitnami/apps/prestashop/htdocs/classes/controller/Controller.php(772): Symfony\Component\DependencyInjection\ContainerBuilder->get('prestashop.core...') #3 /opt/bitnami/apps/prestashop/htdocs/classes/controller/Controller.php(187): ControllerCore->get('pres in /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 1053 many thanks
-
Zmiany w bazie danych niewidoczne w sklepie
DamianH posted a question in Wsparcie i pomoc użytkowników
Cześć, korzystam z rozszerzenia Product Extra Tabs (choć wygląda na to że pytanie dotyczy również bazy Prestashop). Zaraz po manualnym wstawianiu/modyfikacji dodatkowego opisu (bezpośrednio do bazy danych) nie widzę zmian we frontendzie sklepu. Natomiast wstawiony opis jest widoczny w panelu administracyjnym na stronie produktu. Wystarczy go zapisać z poziomu panelu by zmiany pojawiły się w sklepie. Założeniem odgórnym dla sklepu jest trzymanie cache'a dla optymalizacji czasu więc odpada jego czyszczenie po aktualizacji każdego produktu z osobna/codziennie. Czy znacie może sposób w jaki można byłoby zasymulować identyczne odświeżenie/kompilację, jaką daje przycisk "Zapisz" w panelu administratora na stronie produktu? Tudzież czy istnieje sposób na lokalizację pliku w którym przetrzymywany jest tymczasowy opis/strona produktu, widoczna w sklepie (w celu jego usunięcia)? Przejrzałem wiele wątków dotyczących cache'a ale póki co żaden nie pomógł mi z powyższym pytaniem. Jeżeli podobny temat był już poruszany, będę niezmiernie wdzięczny za naprowadzenie Środowisko: Prestashop 1.6.1.16 Serwer oparty na PHP 7.1 Pozdrawiam, Damian -
I have recently upgraded to ps 1.7.4.2 . I found a fix to some of the issues I encountered. No major problems. I lost access to all my modules, I can no longer configure them, with this error message " You are not authorized to configure a module" This issue started after I removed my ps-access table and replaced it with a clean ps-access DB as I had problem accessing my orders and stats menu. This action solved the issue I had with orders and stats menu, however, it caused issues to configure my modules In the images are more details of the issues. Please does somebody have explanations for these errors? Thank you for your help in advance
-
Hola,el sábado abrí a producción mi tienda veslab.com desarrollada con Prestashop 1.6.1.18 y a esas horas tenía 150.000 inodos. Todo perfecto, pero a las pocas horas se colapsó y el motivo fue que había superado los 210.000 inodos (105%). El problema era que los directorios cache/smarty/cache y cache/smarty/compile estaban a rebosar.Eliminé los ficheros y los problemas aparentemente se resolvieron, modifiqué los parámetros de rendimiento dejando sólo activado el primer apartado Cache Smarty y marqué "Nunca recompilar los archivos de las plantillas", pero para mi sorpresa al poco rato se volvieron a crear y cargar los directorios. Entiendo que la carpeta cache/smarty/cache se vaya llenando, pero la que es más preocupante es cache/smarty/compile porque si tengo activo que no recompile nunca a qué se debe que se vaya regenerando sin cesar? Es como si no se enterase de esa opción marcada, no? Alguien se ha encontrado con el mismo problema? Qué solución me queda ejecutar tareas cron y eliminar los ficheros periodicamente? Además observo que el botón de vaciar cache del backoffice pasa olimpicamente de vaciar la carpeta cache/smarty/compile o es sensación mia? Muchas gracias y un saludo
-
Hello there, I have this error on my Prestashop 1.6.1.1 This is the error message: "Fatal error: Uncaught --> Smarty: unable to write file /home/myuser/public_html/cache/smarty/compile/4a/3c/6c/4a3c6c34d6582e9dd10c9ea936bfa79244272a04.file.possearch-instantsearch.tpl.php <-- thrown in /home/myuser/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 74" I already checked for permissions and disk size with my Hosting provider and it's ok. Sometimes randomly I have this error too: PHP Fatal error: Uncaught --> Smarty: unable to write file /home/myuser/public_html/myfolder/cache/smarty/cache/productscategory/1251/315/0/1/1/3/1/10/c1/a0/1d/wrt583dba1d624b19_41638485 <-- thrown in /home/myuser/public_html/myfolder/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 Any solutions to fix this error message or hide for now this error? Thank you in advance!
-
Bonsoir à tous, Je rencontre cette erreur : VÉRIFIEZ VOTRE CONFIGURATION Paramètres requis Veuillez consulter la/les erreur(s) suivante(s) Certains fichiers PrestaShop sont absents de votre serveur. (/cache/smarty/compile/index.php) Paramètres optionnels ok Que dois je faire svp ? je suis sous prestashop 1.6.1.16 Hébergé chez OVH Cordialement
-
Bonsoir. J'ai supprimé le cache du site en production pour voir une modification d'un fichier en supprimant les fichiers sous le répertoire : /tools/smarty/compile/ J'ai supprimé par erreur le fichier index.php dessous, mais j'ai récup me dernière sauvegarde de ce fichier et l'ai remis rapidement. (je doute que mon souci vienne de là). Par contre le site n'est plus accessible : Erreur HTTP 500 (Internal Server Error) : Une situation inattendue s'est produite tandis que le serveur tentait de traiter la demande. J'ai essayé plusieurs modifs, re-supprimé les fichiers du cache smarty 2/3 fois pour voir... Rien, je ne vois pas d'ou peur provenir mon souci. Cette manip est pourtant à priori sans danger. Mon fichier /config/smarty.config.inc.php a les lignes. $smarty->caching = false; $smarty->force_compile = (bool)Configuration::get('PS_SMARTY_FORCE_COMPILE'); $smarty->compile_check = false; $smarty->debugging = false; Une idée ? Merci
-
Prestashop version: 1.5.4.1 theme: Buddie theme (Codespot) URL: in localhost yet. Hi, I encounter a problem, when i go to the product detail page, some Smarty errors appear: [b]Notice[/b]: Undefined index: product in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\6b\72\13\6b7213d0d5f9e143c038344ec24d12757fb96446.file.producttab.tpl.php[/b] on line [b]26[/b] [b]Notice[/b]: Trying to get property of non-object in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\6b\72\13\6b7213d0d5f9e143c038344ec24d12757fb96446.file.producttab.tpl.php[/b] on line [b]26[/b] [b]Notice[/b]: Trying to get property of non-object in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\6b\72\13\6b7213d0d5f9e143c038344ec24d12757fb96446.file.producttab.tpl.php[/b] on line [b]26[/b] [b]Notice[/b]: Undefined index: product in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\ae\53\ba\ae53ba5090957f6032910deff552d60ca942b194.file.producttabcontent.tpl.php[/b] on line [b]27[/b] [b]Notice[/b]: Trying to get property of non-object in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\ae\53\ba\ae53ba5090957f6032910deff552d60ca942b194.file.producttabcontent.tpl.php[/b] on line [b]27[/b] [b]Notice[/b]: Trying to get property of non-object in [b]C:\xampp\htdocs\hiperdog2\cache\smarty\compile\ae\53\ba\ae53ba5090957f6032910deff552d60ca942b194.file.producttabcontent.tpl.php[/b] on line [b]27[/b] I've tried delete files (except index.php) from folder /cache/smarty/cache and /cache/smarty/compile of project. I've deleted cache from navigator. I've changed permissions project folders. I've changed configuration in Prestashop backoffice of compiler Smarty . I not Know to do more. Can you help me?
-
Hello Everyone, I just started the new version of my site from the actual one at (1.5 RIP i know is so old ) to the new one 1.7.0.2 . First of all i want to tell you that im not a pro in this new sass system and im trying to do my best to get this to work but its impossible for me. I installed node + npm, i have used compass ,scout, webpack ,and everything fails. What i want is to write scss in _dev folder and compile an output in /assets/css/theme.css but i can't doit and i only found this site http://developers.prestashop.com/themes/assets/index.html#about-webpack Hopefully someone can help me and help others that have the same problem. P.S: Sorry if the way that i wrote in english is not the best way. Thank you in advance
-
Hola Alguien tiene conocimiento de que se puede tratar este error para poderlo solucionar Undefined index: reduction_type in /home/almacen/public_html/cache/smarty/compile/5d/5c/bf/5d5cbf7146e7deb159934cb474f30b47feb8a2af.file.default-list.tpl.phpon line 63 gracias
-
- error smarty
- error cache
-
(and 1 more)
Tagged with:
-
Hi, my shop has just started acting weirdly. When I type something into the search bar, it gives me "fatal error" message. If i try to open this category page http://napilu.cz/12-motorove-pily , it's tottaly broken. Any suggestions about the solution? I have no idea what to do with it to be honest. URL: http://napilu.cz/ Thank you for all your answers
-
Whilst the move towards SASS is a welcome step for 1.6, there are perhaps better ways of managing SASS than being dependent on Compass. There are ways of removing the Ruby/Compass dependency for Prestashop 1.6 & still maintaining code credibility. This is due to Ruby/Compass creating an overhead that may not be needed. As Prestashop is PHP based, you can actually use PHP to build & compile your SASS styles on the fly: https://github.com/reyhoun/sass-watcher PHP compilation is slow however in comparison to server level compilation using Apache/C. There is the ability for Apache to manage SASS for your themes (both admin & frontend) on the fly: https://github.com/sensational/sassphp using the Libsass C++ library. I maintain a custom fork of this latter codebase (also located on Github) and use it to build SASS on the fly for our design team. If your site is hosted using Nginx or Litespeed, there isn't a Nginx / Litespeed equivalent to the Apache extension, though hopefully someone will work on delivering that. So if you want to use SASS without Compass, it's entirely achievable.
-
Hello, I have a problem with the smarty cache in Prestashop 1.6 The system where the CMS has been installed is Microsoft Windows Server 2008 r2 The error is the following: [PrestaShop] Fatal error in module smarty_internal_write_file: Uncaught --> Smarty: unable to write file [PHYSICAL FOLDER]/cache/smarty/compile\c4\cf\aa\wrt546c6ea31793c7_58013013 <-- thrown in [PHYSICAL FOLDER]\tools\smarty\sysplugins\smarty_internal_write_file.php on line 44 This is not always displayed, but only when I use some modules or features of PrestaShop. Searching through various forums, I found that it could be a permission problem, but I have already set up everything it needs (I hope): IUSR, System and Administrators permissions to read, write and edit. How can I fix this? Are there any solutions or tips that I can forward? Thanks in advance, Guido
-
Buongiorno, ho un problema con la cache di smarty in Prestashop 1.6 Il sitema opertivo dove è stato installato il cms è Microsoft Windows Server 2008 r2 L'errore è il seguente: [PrestaShop] Fatal error in module smarty_internal_write_file: Uncaught --> Smarty: unable to write file [CARTELLA DEL SITO]/cache/smarty/compile\c4\cf\aa\wrt546c6ea31793c7_58013013 <-- thrown in [CARTELLA DEL SITO]\tools\smarty\sysplugins\smarty_internal_write_file.php on line 44 Non viene visualizzato sempre, ma solo con l'utilizzo di alcuni moduli o funzioni di Prestashop. Cercado tra i vari forum, ho trovato che potrebbe essere un problema di permessi, ma ho già impostato tutto il necessario: IUSR, Administrators e System con i permessi in lettura, scrittura e modifica. Come posso fare per risolvere questo problema? Ci sono delle soluzioni o consigli che poso seguire? Graize, Guido
-
Bonsoir, Je suis totalement novice en PHP et encore plus en prestashop. Je dois juste aider un ami en lui modifiant quelques structures HTML / CSS sur son site. J'ai donc copié le site sur mon PC et l'ai monté à l'aide d'un serveur WAMP. Toutes les configurations ont bien été effectuées (je l'espère ), le site s'affiche correctement à 95%. Je dis 95 parce que j'ai des notices d'erreurs comme celles ci: En ligne, le site s'affiche correctement, donc je suppose que je dois faire une manip pour éviter ses erreurs en local (recompiler?) mais je ne sais pas trop comment faire. Merci d'avance pour votre aide.
-
Здравствуйте народ, Никак не могу понять как откомпилировать scss файлы в css. При компиляции жалуется: error hooks.scss (Line 2: File to import not found or unreadable: theme_variables. При этом компиляция для самой темы default-bootstrap проходит нормально, а вот для модуля ThemeConfigurator никак не идет, как его компилировать подскажите.
-
Bonjour, J'ai quelques problèmes, d'utilisation, mais surtout, j'ai voulu supprimer le cache, comme indiqué dans les forum, j'ai donc tous effacé dans le répertoire cache/smarty/cache et cache/smarty/compile sauf le fichier index.php et (je ne sais pas si c'est depuis là) mais si je vais depuis la gestion du site sous Promotions et ensuite Marketing, j'obtiens une dizaines de lignes de message d'erreur, soit: Y a il un moyen de ré-indexer tous les fichiers ou ... Merci d'avance pour votre aide, (j'utilise prestashop depuis 5 semaines ...) Jean-Pierre Notice à la ligne 94 du fichier /home/shopbabo/public_html/cache/smarty/compile/0e/a3/6c/0ea36cd86db82a9de4fe81a493b569d2b745ab6f.file.tab_module_line.tpl.php [8] Undefined property: stdClass::$price Notice à la ligne 94 du fichier /home/shopbabo/public_html/cache/smarty/compile/0e/a3/6c/0ea36cd86db82a9de4fe81a493b569d2b745ab6f.file.tab_module_line.tpl.php [8] Undefined property: stdClass::$id_currency Notice à la ligne 94 du fichier /home/shopbabo/public_html/cache/smarty/compile/0e/a3/6c/0ea36cd86db82a9de4fe81a493b569d2b745ab6f.file.tab_module_line.tpl.php [8] Undefined property: stdClass::$price Notice à la ligne 94 du fichier /home/shopbabo/public_html/cache/smarty/compile/0e/a3/6c/0ea36cd86db82a9de4fe81a493b569d2b745ab6f.file.tab_module_line.tpl.php [8] Undefined property: stdClass::$id_currency Notice à la ligne 94 du fichier /home/shopbabo/public_html/cache/smarty/compile/0e/a3/6c/0ea36cd86db82a9de4fe81a493b569d2b745ab6f.file.tab_module_line.tpl.php [8] Undefined property: stdClass::$price
-
Hi everyone! I have doubt, I'm uploading my website presta 1.5 to 000webhost (uploading not finish yet), using filezilla, and i received a file failure transfert information about the /public_html/cache/smarty/compile/... .file.footer.tpl.php that maybe a problem? Thanks for yours answers! Good weekend!
- 10 replies
-
- transfert failure
- compile
-
(and 3 more)
Tagged with:
-
Hey, I have a problem with my product page I would like to change the products image to pull in the "thickbox" sized image into the page so I have edited the product.tpl file to do this. (themes/mytheme/product.tpl line 150 - 153) www.funkyshirt.co.uk : my site I have then saved that file to my website and refreshed the page, but nothing changes on the page! I cleared all the cache files on my browser and website folders plus all the files in the compile folder. Nothing seems to change any thing that I do I even tried to delete the product.tpl contents and nothing happens. I'm sure that I am editing the correct file. I also tried to turn on the force compile option but that just leaves me with a blank screen on the website. Please any help appreciated.
- 3 replies
-
- product page
- product.tpl
-
(and 2 more)
Tagged with:
-
Since yesterday i'm having trouble with the smarty cache on PS 1.5.4.0 After emptying the cache manually by deleting all folders and files (except index.php) from the folders cache and compile i found that ps is now creating more than 8000 files in the folder cache instead of folders with files in it. The same for the folder compile. If i disable the cache and compile in BO and try to empty the compile folder by ftp it creates immediately new files. When force compiling is on it doesn't change anything. One module stopped working: homeslider, it shows all images on the page without sliding. Please could anyone assist solving the problem?
-
Bonjour J'ai fouillé sur le forum mais je ne trouve pas de solution à mon problème... J'ai modifié le footer sur mon site http://concept-outils.com, sous Prestashop 1.4.8.2, thème Cherry. Tout se passait bien, changement de couleur, modification du texte, je force la compilation et je désactive le cache pour voir le résultat... Je fais la manip 3 fois, mais à la dernière compile, l'affichage de la page produit s'est détériorée. Plus d'affichage du prix en HT (j'avais les 2 : TTC & HT), mot anglais qui remplace le français, descriptif technique qui passe en dessous de l'onglet X autres produits dans la même catégories, etc. : Affichage avant : Affichage après : Je n'ai pas fais de sauvegarde du site avant ces manips (bonne leçon... ) Quel fichier faut-il modifier, quelle solution puis-je trouver pour revenir à l'affichage précédent ? Est-ce le product.tpl ou le product.php ? Je nage complètement et je ne veux pas faire de bêtises, j'en ai fait suffisamment ! Merci pour votre aide !