ovidiu.calbajos Posted June 1, 2014 Share Posted June 1, 2014 Hello All, From some time now I'm testing Prestashop 1.6.0.6 and lately I found out an annoying bug. Almost everytime I hit the Save and Stay button on the product page in BO, i get a blank page. The information that I added or modified is saved but the page is not refreshing. I've looked at the page source of the blank page and it's empty, also I've raised the values of memory_limit, max_execution_time, post_max_size with no luck. The errors in the error log from the site are: [sun Jun 01 03:43:19 2014] [error] [client 89.x.xx.213] PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in /home/admin/web/domain.tld/public_html/tools/swift/Swift/Message/Image.php on line 21, referer: http://domain.tld/admin4536/index.php?controller=AdminProducts&addproduct&token=5579a40ca229dfc50f86f396048cf809 [sun Jun 01 03:44:19 2014] [error] [client 89.x.xx.213] PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in /home/admin/web/domain.tld/public_html/tools/swift/Swift/Message/Image.php on line 21, referer: http://domain.tld/admin4536/index.php?controller=AdminProducts&token=5579a40ca229dfc50f86f396048cf809&id_product=34 [sun Jun 01 03:44:44 2014] [error] [client 89.x.xx.213] PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in /home/admin/web/domain.tld/public_html/tools/swift/Swift/Message/Image.php on line 21, referer: http://domain.tld/admin4536/index.php?controller=AdminProducts&id_product=34&updateproduct&token=5579a40ca229dfc50f86f396048cf809 [sun Jun 01 03:45:22 2014] [error] [client 89.x.xx.213] PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in /home/admin/web/domain.tld/public_html/tools/swift/Swift/Message/Image.php on line 21, referer: http://domain.tld/admin4536/index.php?controller=AdminProducts&id_product=34&updateproduct&token=5579a40ca229dfc50f86f396048cf809 [sun Jun 01 03:46:37 2014] [error] [client 89.x.xx.213] PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in /home/admin/web/domain.tld/public_html/tools/swift/Swift/Message/Image.php on line 21, referer: http://domain.tld/admin4536/index.php?controller=AdminProducts&id_product=34&updateproduct&conf=4&key_tab=Combinations&token=5579a40ca229dfc50f86f396048cf809 Link to comment Share on other sites More sharing options...
PSfever.com Posted June 1, 2014 Share Posted June 1, 2014 Hi, have you done any custom changes in Prestashop? Could you download latest version of Prestashop and upload the whole Tools directory to the server? Seems like you're missing a file there... PHP Fatal error: Class 'Swift_Message_EmbeddedFile' not found in Reuploading should solve this problem, let me know how it went. 1 Link to comment Share on other sites More sharing options...
ovidiu.calbajos Posted June 1, 2014 Author Share Posted June 1, 2014 Hello, That trick solve my problem. Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts