{"id":6,"date":"2007-06-15T00:27:29","date_gmt":"2007-06-15T07:27:29","guid":{"rendered":"http:\/\/www.reisun.com\/2007\/06\/15\/zmysqlda-on-plone-25\/"},"modified":"2007-06-15T00:27:29","modified_gmt":"2007-06-15T07:27:29","slug":"zmysqlda-on-plone-25","status":"publish","type":"post","link":"https:\/\/www.reisun.com\/?p=6","title":{"rendered":"ZMySQLDA on Plone 2.5"},"content":{"rendered":"<p>I&#8217;ve just spent the last 2 hours or so installing ZMySQLDA on a Plone 2.5.3 site. It was considerably more painful than I thought, as I never used to have troubles with this product before.<\/p>\n<p>The problem? PIL is required to be installed for Plone, and its ImageFile package conflicts with a similarly named package that is part of Zope (App.ImageFile)<\/p>\n<p>\u00c2\u00a0This is fixed in the DA.py file of ZMySQLDA by explicitly importing the App.ImageFile package, not the PIL version.<\/p>\n<p>\u00c2\u00a0After having the ZMySQLDA product finally appear in the Control Panel, it still wasn&#8217;t showing up on the drop down &#8220;add&#8221; menu. I am not sure what I did to fix this, but for a while only a single ZEO client had the menu option visible. Although I had rebooted\/restarted the ZEO client\/server multuple times and multiple ways (through the control panel and using the restartcluster.sh script) I think I still had the problem.<\/p>\n<p>In anycase, it now works and I have both ZEO clients showing &#8220;Add Z MySQL Database Connection.&#8221;<\/p>\n<p>I had planned on getting SQLPASPlugin setup, but it is already 1227, and I need to go to bed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve just spent the last 2 hours or so installing ZMySQLDA on a Plone 2.5.3 site. It was considerably more painful than I thought, as I never used to have troubles with this product before. The problem? PIL is required to be installed for Plone, and its ImageFile package conflicts with a similarly named package [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,18],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-web","category-webcourse"],"_links":{"self":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":0,"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}