<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Am 02.02.2012 14:12, schrieb Matthew Moore:
    <blockquote cite="mid:4F2A8BAF.1040208@smtl.co.uk" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      On 02/02/12 11:43, Sascha Gottfried wrote:
      <blockquote cite="mid:4F2A76CB.3050304@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Matthew,
        <blockquote cite="mid:4F2A734B.40505@smtl.co.uk" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Sascha,<br>
          <br>
          <blockquote cite="mid:4F2A69B6.3090801@gmail.com" type="cite">
            <br>
            you probably need to know the concepts of Zope
            Through-the-web (TTW) and <tt>Filesystem (FS) Product
              Coding.</tt><br>
            Some templates, scripts are in the ZODB and editable via ZMI
            - the recommended style for a not so recent Zope version is
            using FS Zope Products. Please identify the zope version by
            using the ZMI-ControlPanel.<br>
          </blockquote>
          I'm reading up on the TTW and FS stuff.&nbsp; Any articles/pages
          you particulary recommend?<br>
          <br>
        </blockquote>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://readthedocs.org/docs/collective-docs/en/latest/">http://readthedocs.org/docs/collective-docs/en/latest/</a><br>
        <br>
        <blockquote cite="mid:4F2A734B.40505@smtl.co.uk" type="cite"> I
          can't edit anything using the ZMI, when I click on the pages
          in 'Content' I get the error message.<br>
          <br>
          The version line from the error log is this - 'Zope/(Zope
          2.9.4-final, python 2.4.3, linux2) ZServer/1.1 Plone/2.5'<br>
          <br>
          <blockquote cite="mid:4F2A69B6.3090801@gmail.com" type="cite">
            Please compare the way you start the zope instance with the
            way your former colleague did it.<br>
          </blockquote>
          <br>
          I'm not sure what the previous guy did, but I've used the init
          script (/etc/init.d/zope start) and the zopectl script in the
          bin/ in the instance.&nbsp; All methods of starting give the same
          errors.&nbsp; I have had to restart zope before now, and I've
          always used zopectl and that's worked fine.&nbsp; It's only since
          the server crashed it's not worked.&nbsp; I'd only used zopectl fg
          so I could see what was happening on startup.&nbsp; Currently the
          site (<a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="http://www.legulcerforum.org">www.legulcerforum.org</a>)
          is started using the init script.<br>
          <br>
          <blockquote cite="mid:4F2A69B6.3090801@gmail.com" type="cite">
            Identify if you are using a custom developed&nbsp; Zope Product
            with templates and a 'main_template' and optionally a
            'folder_listing' Zope Page Template or similar. Find them by
            searching in the filesystem ('Products' Folder is one
            option) and in the ZMI and tell us the location if you find
            them.<br>
          </blockquote>
          I don't think it's custom, I've put a list of the Products
          directory on pastebin:<br>
          <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://pastebin.com/cftnjbgZ">http://pastebin.com/cftnjbgZ</a><br>
          <br>
          I think it's pretty much just plone.<br>
          <br>
        </blockquote>
        Please go for portal_skins tool in ZMI , identify the current
        skin and check that the chosen skin lists several layers. These
        layers consist of several FS Directory View belonging to several
        products and their skin directories.<br>
        If you are using Plone 2.5 use this book. There is also a HTML
        version free available in the web.<br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://plone.org/documentation/kb/definitive-guide">http://plone.org/documentation/kb/definitive-guide</a><br>
        <br>
        Consult the chapter about skinning Plone, the 'custom' folder
        and the setup of skins and layers. <br>
      </blockquote>
      <br>
      Thanks for all the links.<br>
      <br>
      I'm not 100% as to exactly which one is the skin that's in use,
      but all of the folders in plone_skins do have files and folders in
      them.&nbsp; The one that's most likely to be it (called custom and not
      changed since 2006, which is when the site was installed).&nbsp; Has
      all the logos, a main_template (which looks ok as far as I can
      tell) and a css file as well as a base_properties directory.<br>
      <br>
    </blockquote>
    Now you are scratching below the surface. All folders in plone_skins
    are registered FS Directory Views (FSDV). The current plone skin
    layers a couple of skin folders to make them available to your Plone
    Site via Acquisition at portal root URL. If the 'custom' folder is
    not listed in the list of layers of your current skin - Plone
    probably can not find the 'main_template' by calling
    context.main_template(). Usually the 'custom' folder is the topmost
    layer in a skin - what means that all resources in there a hiding
    resources with the same name. This way you can override the standard
    main_template ZPT shipped in in plone_skins. <br>
    <br>
    Just another hint. Some run-time made configuration in ZMI is set
    back to default when you restart the Zope instance. That's why a
    backup will not always restore the a Plone site. That's why it is
    evil to do that - because it is not done in code on the file system
    - and you have to remember. Welcome to generic-setup stuff. <br>
    <br>
    Please investigate and come back.<br>
    <br>
    By the way - to get more specific support, consider to ask on
    'plone-users' mailing list. Check this list as another source of
    help. At current&nbsp; state you can provide much detailed information
    regarding your error.<br>
    Cheers Sscha<br>
    <br>
    <blockquote cite="mid:4F2A8BAF.1040208@smtl.co.uk" type="cite">
      Cheers,<br>
      <br>
      Matthew<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope">https://mail.zope.org/mailman/listinfo/zope</a>
**   No cross posts or HTML encoding!  **
(Related lists -
 <a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope-announce">https://mail.zope.org/mailman/listinfo/zope-announce</a>
 <a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope-dev">https://mail.zope.org/mailman/listinfo/zope-dev</a> )
</pre>
    </blockquote>
    <br>
  </body>
</html>