What's New
- AuthorPosts
Hi,
Did you add the watermark type already on the image settings ? if yes, you can change{$image.bySize.superlarge_default.url}
to{$image.bySize.watermark.url}
watermark is your image type name, for example, if you added type called “watermark_default”, you need to change that code to{$image.bySize.watermark_default.url}
Best regards.Hi,
Thank you! That worked! 🙂
But.. back to the old issue – about an hour ago, my server crushed becouse of low disk space.. I fixed that fast, but when my shop was live again I got the same issue with the override module – search bar no logger displayed.. and imposible to reset the override module – I get the error from the printscreen attached. Is there a missing file?
This keeps happening with the Page Cache module on or off.. every time I make any kind of upgrade of prestashop or theme… but this time, really was no upgrade – just a server crush.Hi,
The issue was because your page cache module override my theme file, I fixed it for you.
Best regards.Attachments:
Hi,
Ok, but can you change back the files that you edited 2 days ago? Might be related? At first crush, hosting company told me that the pagecache module is crushing my site. Then I uninstaled the module and now every time I edit a product I get a new crush.
If I restore a backup I will loose new clients and orders for the past 2-3 days…
Please check for me.. maybe we can fix it. I can also pay for support if you think you can fix it for me.The php errors that are crushing my server seem to be related to cache systems:
[Thu Apr 12 06:01:44.943531 2018] [proxy_fcgi:error] [pid 26712] [client 127.0.0.1:46918] AH01071: Got error 'PHP message: PHP Notice: Undefined index: id_parent in /home/139881.cloudwaysapps…xu/public_html/classes/Tab.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 587\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 588\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 590\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 636\n', referer: https://secretgarden.ro/admin5555/index.php?controller=AdminSearch&token=3ab22575b04bfa8f6887d36b85002417 [Thu Apr 12 06:02:10.584543 2018] [proxy_fcgi:error] [pid 26847] [client 127.0.0.1:47046] AH01071: Got error 'PHP message: PHP Notice: Undefined index: id_parent in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/Tab.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 587\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 588\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 590\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 636\n', referer: https://secretgarden.ro/admin5555/index.php/product/form/4856?_token=eHLw2YWJrbH7_oBFZttcoOOlPS95grpyJWb-JhGyAs4 [Thu Apr 12 06:02:12.721736 2018] [proxy_fcgi:error] [pid 26853] [client 127.0.0.1:47053] AH01071: Got error 'PHP message: PHP Notice: Undefined index: id_parent in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/Tab.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 586\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 587\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 588\nPHP message: PHP Notice: Undefined index: class_name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 590\nPHP message: PHP Notice: Undefined index: name in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/controller/AdminController.php on line 636\n', referer: https://secretgarden.ro/admin5555/index.php?controller=AdminSearch&token=3ab22575b04bfa8f6887d36b85002417 [Thu Apr 12 06:07:44.598635 2018] [proxy_fcgi:error] [pid 27187] [client 127.0.0.1:47394] AH01071: Got error 'PHP message: PHP Warning: include(/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php): failed to open stream: No such file or directory in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php on line 330\nPHP message: PHP Warning: include(/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php): failed to open stream: No such file or directory in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php on line 330\nPHP message: PHP Warning: include(): Failed opening '/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php' for inclusion (include_path='/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/pear/pear_exception:/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/pear/console_getopt:/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/pear/pear-core-minimal/src:/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/pear/archive_tar:.:/usr/share/php') in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php on line 330\nPHP message: PHP Fatal error: Uncaught Error: Call to a member function all() on boolean in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/Context.php:355\nStacktrace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/classes/module/Module.php(3141): ContextCore->getTranslator()\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/modules/stinstagram/stinstagram.php(93): ModuleCore->getTranslator()\n#2 [internal function]: StInstagram->__construct()\n#3 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/Core/Foundation/IoC/Container.php(127): ReflectionClass->newInstance()\n#4 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/Core/Foundation/IoC/Container.php(160): PrestaShop\\PrestaShop\\Core\\Foundation\\IoC\\Container->makeInstanceFromClassName('stinstagram', Array)\n#5 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/Core/Foundation/IoC/Container.php(173): PrestaShop\\PrestaShop\\Core\\Foundation\\IoC\\Container->doMake('stinstagram', Array)\n#6 /home/139881.cloudwa...\n' [Thu Apr 12 06:09:26.876069 2018] [proxy_fcgi:error] [pid 27357] [client 127.0.0.1:47480] AH01071: Got error 'PHP message: PHP Notice: Undefined offset: 1 in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/PrestaShopBundle/Model/Product/AdminModelAdapter.php on line 455\nPHP message: PHP Notice: Undefined offset: 2 in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/PrestaShopBundle/Model/Product/AdminModelAdapter.php on line 456\nPHP message: PHP Notice: Undefined offset: 3 in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/PrestaShopBundle/Model/Product/AdminModelAdapter.php on line 457\nPHP message: PHP Fatal error: Uncaught Symfony\\Component\\Validator\\Exception\\ConstraintDefinitionException: "M" is not a valid maximum size in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/File.php:120\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/File.php(67): Symfony\\Component\\Validator\\Constraints\\File->normalizeBinaryFormat('M')\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/src/PrestaShopBundle/Form/Admin/Product/ProductVirtual.php(79): Symfony\\Component\\Validator\\Constraints\\File->__construct(Array)\n#2 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Form/ResolvedFormType.php(187): PrestaShopBundle\\Form\\Admin\\Product\\ProductVirtual->buildForm(Object(Symfony\\Component\\Form\\FormBuilder), Array)\n#3 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/S...\n', referer: https://secretgarden.ro/admin5555/index.php/product/form/3767?_token=eHLw2YWJrbH7_oBFZttcoOOlPS95grpyJWb-JhGyAs4 [Thu Apr 12 06:11:47.424791 2018] [proxy_fcgi:error] [pid 27435] [client 127.0.0.1:47552] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php6F37Tu" to "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php". in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:291\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(614): Symfony\\Component\\Filesystem\\Filesystem->rename('/home/139881.cl...', '/home/139881.cl...', true)\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(138): Symfony\\Component\\Filesystem\\Filesystem->dumpFile('/home/139881.cl...', '<?php\\n\\nuse Symf...', NULL)...\n', referer: https://www.google.ro/blank.html [Thu Apr 12 06:15:19.659058 2018] [proxy_fcgi:error] [pid 27561] [client 127.0.0.1:47652] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php8uYJip" to "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php". in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:291\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(614): Symfony\\Component\\Filesystem\\Filesystem->rename('/home/139881.cl...', '/home/139881.cl...', true)\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(138): Symfony\\Component\\Filesystem\\Filesystem->dumpFile('/home/139881.cl...', '<?php\\n\\nuse Symf...', NULL)...\n', referer: https://secretgarden.ro/60-citrice-lamai-la-ghiveci-si-mandarini [Thu Apr 12 06:17:01.834673 2018] [proxy_fcgi:error] [pid 27637] [client 127.0.0.1:47713] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php.metahJxC5m" to "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php.meta". in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:291\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(614): Symfony\\Component\\Filesystem\\Filesystem->rename('/home/139881.cl...', '/home/139881.cl...', true)\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(146): Symfony\\Component\\Filesystem\\Filesystem->dumpFile('/home/139881.cl...', 'a:0:{}', NULL)\n#2 ...\n' [Thu Apr 12 06:18:32.962183 2018] [proxy_fcgi:error] [pid 27697] [client 127.0.0.1:47751] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php.metaUSzGcM" to "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php.meta". in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:291\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(614): Symfony\\Component\\Filesystem\\Filesystem->rename('/home/139881.cl...', '/home/139881.cl...', true)\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(146): Symfony\\Component\\Filesystem\\Filesystem->dumpFile('/home/139881.cl...', 'a:0:{}', NULL)\n#2 ...\n' [Thu Apr 12 06:18:39.522948 2018] [proxy_fcgi:error] [pid 27713] [client 127.0.0.1:47768] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.phpFdzgsa" to "/home/139881.cloudwaysapps.com/anrzghtfxu/public_html/app/cache/prod/translations/catalogue..8739602554c7f3241958e3cc9b57fdecb474d508.php". in /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:291\nStack trace:\n#0 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(614): Symfony\\Component\\Filesystem\\Filesystem->rename('/home/139881.cl...', '/home/139881.cl...', true)\n#1 /home/139881.cloudwaysapps.com/anrzghtfxu/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(138): Symfony\\Component\\Filesystem\\Filesystem->dumpFile('/home/139881.cl...', '<?php\\n\\nuse Symf...', NULL)...\n', referer: https://www.google.ro/ ^C (PrestaShop™)
Hi,
I didn’t modify any content, there is two searchController.php file in /override/controllers/front, one is from my theme, and the other one is from pagecache module, I just delete the file from my theme, which can’t crush any thing.
I checked the errors: notices are from backoffice , it seems there is a backoffice menu incorrect, and the error is due to permission of the /public_html/app/cache/prod/translations/ folder, Prestashop can’t write content, but I checked the permission of the folder is 777, that can’t be written files in it, so it is a bit strange.
Best regards.I have the same situation with the search by category module. You use custom hooks and it seems imposible to move it in the center of the header (I think it must be in displayHeaderCenter hook) and also on mobile is not showing at all.
see how it looks now and how shoud look – printscreen attachedThx
Attachments:
Hi,
Please add the following code to the /modules/ps_googleanalytics/ps_googleanalytics.php file before this linepublic function hookDisplayFooter($params)
, see attached screenshot.public function hookDisplayFooterAfter($params) { return $this->hookDisplayFooter($params, array(5, 18, 19, 20, 21,28)); }
Then remove the module from the displayFooter hook and transplant it to the DisplayFooterAfter hook.
Best regards.Attachments:
- AuthorPosts
You must be logged in to reply to this topic.