We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7527
    • 437 Posts
    Hi, I am using Evo 1.0.15 and Jot 1.1.4 which comes pre-installed. I have added the following jot call to my page:


    [!Jot? &subscribe=`1` &pagination=`10` &moderated=`1` &captcha=`1` &notifyAuthor=`1`!]


    The Captcha does not show (I get a box appear with a broken image symbol). I have nosed through some old modx posts and tried what was suggested but to no avail. I have also gone into User settings and enabled Captcha but still nothing. My 'no spam' source code shows this:

    <div style="width:150px;margin-top: 5px;margin-bottom: 5px;"><a href="/marvel-age-of-ultron-pt2.html?jot961b51b2=unsubscribe"><img src="includes/veriword.php?rand=352410452" width="148" height="60" alt="If you have trouble reading the code, click on the code itself to generate a new random code." style="border: 1px solid #003399" /></a></div> <label for="vericodebb9a5ff8811cc695186302574dc4df41">Help prevent spam - enter security code above:<br /><input type="text" name="vericode" style="width:150px;" size="20" id="vericodebb9a5ff8811cc695186302574dc4df41" /></label> 


    The image source has 'includes/veriword.php?rand=352410452' so it is pulling something in?

    Regards,
    DS
      www.PawsForWildlife.co.uk
      www.Borntobrick.co.uk
      • 13226
      • 953 Posts
      The image isn't being found

      As you state, it produces "includes/veriword.php?rand=352410452", causing a 404 Error

      It should be: "manager/includes/veriword.php?rand=352410452"

      To test, call the image as such in your browser: "www.domain.co.uk/manager/includes/veriword.php?rand=1072535520"

      You will see the image, refresh your page a couple of times and you will see the words / letters change each time.

      I don't use Jot, so more than this I can't with.
        • 13226
        • 953 Posts
        The "chunk.form.inc.html" in "assets/snippets/jot/templates" has the following:
        <img src="[(modx_manager_url)]includes/veriword.php?rand=[+jot.seed+]" width="148" height="60"

        As you can see in the code above the "modx_manager_url" is being called, that was recently introduced for those who wish to rename their manager folder to something else.

        Obviously in your case there is a problem with it. You will probably have to contact one of the Evo dev team for help with this, for example: Jako, Yama or dmi3yy
          • 36459
          • 9 Posts
          The captch image is created on-the-fly. Please check if the GD library is installed in your Server.
            • 13226
            • 953 Posts
            Quote from: bigmike at Mar 19, 2015, 12:20 PM
            The captch image is created on-the-fly. Please check if the GD library is installed in your Server.

            The captcha image works - it's the path to display the image that's not working => "modx_manager_url"
              • 36459
              • 9 Posts
              In MODX 1.0.15 i have not found a system setting named modx_manager_url.

              But in document.parser a system setting named site_manager_url is defined as:
              config['site_manager_url']=MODX_MANAGER_URL;


              So please use [(site_manager_url)] instead of [(modx_manager_url)] in chunk.form.inc.html
              With this change the captcha will work.

                • 7527
                • 437 Posts
                I have gone into "assets/snippets/jot/templates" and changed [(modx_manager_url)] to simply


                <img src="manager/includes/veriword.php?rand=[+jot.seed+]" width="148" height="60"

                seems to have done the trick...

                *UPDATE*

                Scrap that, it adds a validation to the Modx manager login too...should have seen that coming.
                  www.PawsForWildlife.co.uk
                  www.Borntobrick.co.uk
                  • 36549
                  • 572 Posts
                  @bigmike - thanks this worked for me:
                  Use [(site_manager_url)] instead of [(modx_manager_url)] in snippets/jot/templates/chunk.form.inc.html
                    www.9thwave.co.uk
                       WEB | DESIGN | PRINT
                    • 4955
                    • 32 Posts
                    Hi there, i came up with the same error a couple of days ago. This is not a good idea:
                    Use [(site_manager_url)] instead of [(modx_manager_url)] in snippets/jot/templates/chunk.form.inc.html
                    if you have the manager protected with htaccess. Is there any other solution? Thanks in advance, c--