Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by PisziBp

  1. Hello, I'm trying to create a required backoffice module param which allows zero as valid value. I set up the field like this array( 'col' => 2, 'type' => 'text', 'name' => 'PARAM_NAME', 'label' => $this->l('my label'), 'desc' => $this->l('my desc'), 'suffix' => $this->l('sfx'), 'required' => true, ), And when I type in 0 and save I get an error message that fill in all required fields. I could set required to false, but this data is required by an API and if not set it can cause all sorts of problems. How can I allow zero as valid value? oh I forgot. I'm using PS
  2. Hello, Our site which is in developement keeps crashing after I change something in the translations and save it. (It could be that other modifications can also causing the same error, but I only noticed this in translations) It looks like prestashop fails to write the cache files and folders. After saving the translation presta creates some files and a single folder and after that it stops and the new files have no permissions. I have to delete these from SSH as root and after this if I refresh the page the site works again and the cache files are written properly. Or server is running ubuntu, https enabled with lets encrypt. PHP 7.1.32-1+ubuntu18.04.1+deb.sury.org+1, Database 10.1.44-MariaDB-0ubuntu0.18.04.1 (innodb), Prestashop Prestashop has read/write permissions on var/prod or var/dev and all of its subfolders. In the logs I have this error: request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: require(): Failed opening required '/home/mydomain.com/var/cache/prod/ContainerXh3sdm7/getPrestashop_Core_KpiRow_Factory_TranslationsPageService.php' (include_path='/mydomain.com/vendor/pear/pear_exception:/home/mydomain.com/vendor/pear/console_getopt:/home/mydomain.com/vendor/pear/pear-core-minimal/src:/home/mydomain.com/vendor/pear/archive_tar:.:/usr/share/php')" at /home/mydomain.com/var/cache/prod/ContainerXh3sdm7/appProdProjectContainer.php line 1632 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: require(): Failed opening required '/home/mydomain.com/var/cache/prod/ContainerXh3sdm7/getPrestashop_Core_KpiRow_Factory_TranslationsPageService.php' (include_path='/home/mydomain.com/vendor/pear/pear_exception:/home/mydomain.com/vendor/pear/console_getopt:/home/mydomain.com/vendor/pear/pear-core-minimal/src:/home/mydomain.com/vendor/pear/archive_tar:.:/usr/share/php') at /home/mydomain.com/var/cache/prod/ContainerXh3sdm7/appProdProjectContainer.php:1632)"} [] I also attached the apache log with the errors that were logged when this happend. apache_log.txt
  3. Hello, I'm trying to translate Prices drop and Best sales which are in the footer Linklist module. But it looks like it is impossible! I translated it in the admin translations->template translations->classic->Hungarian->Shop->Navigation The translation is saved succesfully (according the green popup) and it is stored in 2 files in var/cache/prod/translation : catalogue.hu-HU.L8dqxxF.php and catalogue.hu-HU.NXhscRe.php But it is not saved to app/Resources/translations/hu-HU/ShopNavigation.hu-HU.xlf or anywhere else I can find So I manually added the two translations to the xlf, cleared cache from admin, than closed the browser, deleted smarty cache folders manually, than reopened the page AND IT IS STILL ENGLISH So I changed these two in the default ShopNavigation.xlf cleared cache again, reopened the page again and still English. Please someone help me translate these two strings. I'm using php 7.2.2 x64 on IIS10 with mysql 5.7
  4. Hello, I recently installed a Presta to my localhost which is IIS 10 with MySQL 5.7.13(x64) and with PHP version of my choosing. I installed Presta with PHP 7.0.11(x64) and with forced ssl. The install went fine, the demo store loads, but when I'm trying to access the admin the first I see is that there is no text on the login button and after I enter my credentials the only thing that happens is the bird blinks and the login form fields disappear but I'm still on the same page. After reloading the page the login form reappears and that's it. So than I first disabled ssl and tried again, but the same happend, than I changed PHP version to 5.6.25(x86) but no affect. Tried deleting cache but nothing. Older versions of Presta are working correctly on my localhost. What can I do to make to work? Oh and the same exact thing happend on a live site when I updated it with 1-Klick and I had to manually revert to the previous version. (that's a debian server with apache, php 5.6.23, mysql 5.6.34)
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More