Posts by Bammedia

    Hello again,


    I finally got this working only to unearth a new problem. In Perch Forms in the form setting options for sending email we are setting it up in such a way that when the business receives the web form query, they reply to the email who made the form request.

    However as we are now using SMTP it looks like this rule is being overwritten and instead the form is effectively emailing itself i.e. form is enquiries@topjock and the form recipient is enquiries@topjock. Can somebody advise if this is normal behaviour when using SMTP?

    Hi,

    Because it's SMTP, I have input in the latest working password to the config file and can confirm by diagnostics that Perch is able to communicate to a test email address. However no matter what mail hosting I use as a forms receiver, whether it be Outlook 365 or Gmail, the form emails simply don't arrive. I also checked in Junk/Spam folders and there is nothing there?

    Hi,


    I have an old website which has 8 Perch forms on it. I know these forms were working last February, as I had to update their config file to ensure that mails were sent via SMTP. This was due to an Outlook 365 spam issue. Now for some reason all forms on the website have stopped relaying emails anywhere. I have replaced the relay email address with my email (which is Gmail) and it still does not relay on the form messages. The form info is being collected on Perch, but it is just not relaying the info on.

    Nothing has been changed on the site, can anyone advise why this is happening?

    SUMMARY INFORMATION



    • Perch: 2.8.34, PHP: 7.2.34, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $, with PDO
    • Server OS: Linux, litespeed
    • Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_blog (5.0), perch_forms (1.8.3), perch_shop_foxycart (2.1)
    • App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_shop_foxycart' );
    • PERCH_LOGINPATH: /perch
    • PERCH_PATH: /home/topjockt/public_html/perch
    • PERCH_CORE: /home/topjockt/public_html/perch/core
    • PERCH_RESFILEPATH: /home/topjockt/public_html/perch/resources
    • Image manipulation: GD
    • PHP limits: Max upload 32M, Max POST 64M, Memory: 128M, Total max file upload: 32M
    • F1: 6a33f95eca3667f9e0c39bf5ca2980fe
    • Resource folder writeable: Yes
    • HTTP_HOST: topjocktackboxes.com
    • DOCUMENT_ROOT: /home/topjockt/public_html
    • REQUEST_URI: /perch/core/settings/diagnostics/
    • SCRIPT_NAME: /perch/core/settings/diagnostics/index.php


    Debug Message[1]SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='796f9dc1de8e9a34591140d6d13267c6' LIMIT 1UPDATE perch2_users SET userHash='999669b320c169fae57507eb4f1ad6e1' WHERE userID='1'[79]SELECT p.privKey FROM perch2_user_privileges p[44]SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID[8]SELECT * FROM perch2_forms[97]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=9 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=9 ORDER BY responseCreated DESC LIMIT 1[86]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=10 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=10 ORDER BY responseCreated DESC LIMIT 1[569]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=5 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=5 ORDER BY responseCreated DESC LIMIT 1[37]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=6 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=6 ORDER BY responseCreated DESC LIMIT 1[241]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=7 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=7 ORDER BY responseCreated DESC LIMIT 1[255]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=8 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=8 ORDER BY responseCreated DESC LIMIT 1[87]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=11 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=11 ORDER BY responseCreated DESC LIMIT 1[182]SELECT COUNT(*) AS qty FROM perch2_forms_responses WHERE formID=12 AND responseSpam=0[1]SELECT responseCreated FROM perch2_forms_responses WHERE formID=12 ORDER BY responseCreated DESC LIMIT 1Queries: 22Memory: 2.0097

    Hi guys,

    So although the update fixed this and we can now receive to this person's Outlook 365, there are still some Perch forms not finding their way through.

    So some are working and some are not.

    The client wants to know why and I'm trying to explain that this is a SPAM issue with Outlook if this is the case.

    Is there anywhere in Perch Debug where I can prove this?

    Hi Folks,

    A client of mine is not receiving any Perch Forms to their emails which is hosted on Outlook365.

    These forms are working to my email and to any other Gmail, but not to this Outlook365 address. Their email hosting provider is saying there is no blacklists, etc in place.

    I have the following email config setup:


    Code
    1. define('PERCH_EMAIL_FROM', 'enquiries@topjocktackboxes.com');
    2. define('PERCH_EMAIL_FROM_NAME', 'Team TopJock');


    I then decided to follow your email configuration page: https://docs.grabaperch.com/perch/configuration/email/


    And have now entered in the following code




    However if I try sending a test email with the above it fails and the debug gives me this error.

    It's not a password issue, so can someone explain to me what the issue is here and why only Outlook365 is not receiving these Perch forms?

    TIA


    SQL
    1. SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='a9205b639c7e85505370db1725da2980' LIMIT 1
    2. UPDATE perch2_users SET userHash='d94c391d6e4c84e2ff76d50526377ac9' WHERE userID='1'
    3. [79]SELECT p.privKey FROM perch2_user_privileges p
    4. [44]SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
    5. Using email template: /home/topjockt/public_html/perch/core/emails/settings-test.html (html)
    6. Building message with Dollar template
    7. SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Hi there,


    I have a user who wants to share a blog preview URL with his manager before publishing. When he clicks 'Preview Draft' he can see the contents of the blog post no problem.

    However if he forwards that URL to anyone else, they're not able to see any text, imagery, etc. They can only see an empty blog post. What is happening here?


    Here's my blog post template code:


    <article class="h-entry">

    <!-- TITLE -->

    <h3>

    <perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" />

    </h3>

    <!-- DATE & TIME -->

    <p class="meta">

    <time class="dt-published" datetime="<perch:blog id="postDateTime" type="date" label="Date" time="true" format="Y-m-d\THi" urlify="true" escape="true" filter="bst-to-utc" divider-before="Publishing" />">

    <perch:blog id="postDateTime" type="date" time="true" format="d M Y" order="2" />

    </time>

    <!-- DESCRIPTION -->

    <div class="description e-content blog-post-wrapper">

    <perch:blog id="postDescHTML" type="textarea" editor="redactor2" html="true" imagewidth="700" label="Post" size="xxl autowidth" required="true" order="3" />

    </div>

    <perch:if exists="authorGivenName">

    by <span class="p-author h-card"><perch:blog id="authorGivenName" type="hidden" /> <perch:blog id="authorFamilyName" type="hidden" /></span>

    </perch:if>

    <perch:categories id="categories" set="blog" label="Categories" display-as="checkboxes">

    <a href="archive.php?cat=<perch:category id="catSlug" type="slug" />" class="p-category">

    <perch:category id="catTitle" type="text" />

    </a>

    </perch:categories>

    </p>

    <!-- FEATURE IMAGE -->

    <perch:if exists="image">

    <div class="blog-image-wrapper">

    <img class="blog-feature-image" src="<perch:blog id="image" type="image" width="1000" height="800" label="Image" order="4" />" alt="<perch:blog id="postTitle" />" />

    </div>

    </perch:if>

    </article>


    Summary information

    • Perch: 3.1.6, PHP: 7.2.31, MySQL: 5.6.48, with PDO
    • Server OS: Linux, cgi-fcgi
    • Installed apps: content (3.1.6), assets (3.1.6), categories (3.1.6), perch_blog (5.6.1)
    • App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', );
    • PERCH_LOGINPATH: /perch
    • PERCH_PATH: /var/www/vhosts/195/1062067/webspace/httpdocs/mckevittking.ie/perch
    • PERCH_CORE: /var/www/vhosts/195/1062067/webspace/httpdocs/mckevittking.ie/perch/core
    • PERCH_RESFILEPATH: /var/www/vhosts/195/1062067/webspace/httpdocs/mckevittking.ie/perch/resources
    • Image manipulation: GD Imagick
    • PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M
    • F1: 3b606135b33e6a102526838f4152a807
    • Resource folder writeable: Yes
    • HTTP_HOST: http://www.mckevittking.ie
    • DOCUMENT_ROOT: /var/www/vhosts/195/1062067/webspace/httpdocs/mckevittking.ie
    • REQUEST_URI: /perch/core/settings/diagnostics/
    • SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

    Hi Guys,


    A client is using Perch Blocks to display multiple Lightbox galleries of different projects. Every-time she adds a block, it automatically appends that block to the bottom of the blocks list within that region in Perch. As these blocks start to grow it can be quite difficult to manage them and they have asked if there is an option that new blocks added to Perch, append to the top of the list first.

    Hi Drew. Yes. In was able to upgrade to v2.8.3 first, but again when I try to go to the latest version it breaks the site again.

    I have noticed permission errors a couple of times when trying to overwrite the core folder, however if I cancel and retry it successfully overwrites the folder without these errors. Any ideas? Currently now on v2.3.34


    Actually, I've just spotted the version of PHP being listed here is 5.3.3! I assume this is the culprit... I'll get on to the hosting

    Are you able to update to 2.8.34 first?

    Hi Drew. Yes. In was able to upgrade to v2.8.3 first, but again when I try to go to the latest version it breaks the site again.

    I have noticed permission errors a couple of times when trying to overwrite the core folder, however if I cancel and retry it successfully overwrites the folder without these errors. Any ideas? Currently now on v2.3.34


    Hi,

    I have a client who's Perch is really out of date (v2.7.5). I've done the usual site backup, SQL backup, etc. in preparation for upgrade.

    When I replace the core folder on the server, the website instantly goes offline and Perch is not accessible.

    If I roll back it's okay again. The apps file looks is reading fine, what else could be the cause here?


    PHP
    1. <?php
    2. $apps_list = array(
    3. 'content',
    4. 'categories',
    5. 'perch_blog',
    6. 'perch_gallery',
    7. );


    Hi,

    I've developed many search bars without issue, but have one which is currently giving problems. Essentially it is not displaying any search results in the results.php page!

    I'm aware that it could be an issue with lack of content and although the website is newly live, it does have some content sufficient present which should be searchable surely?

    Can you take a look at template code to see if there are any issues?


    SEARCH FORM TEMPLATE

    Code
    1. <div class="form-block w-form">
    2. <perch:form id="email-form" method="get" action="/results.php" class="form w-clearfix">
    3. <perch:input type="submit" value=" " class="submit w-button" >
    4. <perch:input class="search-input w-input" type="search" id="q" placeholder="Search" maxlength="128" type="text" id="field">
    5. </perch:form>
    6. </div>

    SEARCH RESULTS TEMPLATE

    Quote

    GLOBAL HEADER SEARCH BAR


    PHP
    1. <div class="search-wrapper w-clearfix">
    2. <?php perch_search_form(); ?>
    3. </div>


    DIAGNOSTICS