Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • pexys – I’m not sure if you found a fix, but I was in a similar spot and this worked for me. In The7 go to Theme Options -> Advanced -> Custom JavaScript button. Here is where you typically put your Google Analytics tracking code. You can put this bit of code at the top above that and click save.

    <script src="https://www.google.com/recaptcha/api.js" async defer></script>

    Thread Starter Gordon55M

    (@gordon55m)

    I guess what I meant to say was I wish there was an easier (GUI) way to show images based on if/then’s. I used a work around that I think was meant for checkbox or radio options. I was hoping for a simple calculated field to display an image, or an image field that would display dynamic images based on a calculation.

    Thread Starter Gordon55M

    (@gordon55m)

    Sent via your feedback. Thanks for the quick reply.

    Add this to your themes functions.php file. The XXXXX_XXXX part can be whatever role slug you choose. I use user-role-editor-pro and it works with my custom named roles.

    add_filter( ‘redirection_role’, ‘redirection_to_XXXXX_XXXX’ );
    function redirection_to_XXXXX_XXXX() {
    return ‘edit_pages’;
    }

    • This reply was modified 8 years, 2 months ago by Gordon55M. Reason: added .php to functions.php
    • This reply was modified 8 years, 2 months ago by Gordon55M.
    Thread Starter Gordon55M

    (@gordon55m)

    Thank you so much for pointing me in the right direction. I thought that may have had something to do with it too, but for the life of me I couldn’t track it down. I changed templates and nothing worked. I now realized how it happened. I’ll detail a little just in-case anyone else has this issue.

    I moved servers and to edit the config file, I opened it in Microsoft Expressions and the title tag got put in the first row. To locate where this tag was, I entered in my linux terminal:

    grep -rnw '/path to web directory/' -e "<title>Untitled 1</title>"

    That told me that the config file had the errant tag and boom the app worked again! Thanks so much!

    SOLVED:

    I was running into issue because in my /etc/hosts file I had my domain also attached to 127.0.1.1

    127.0.0.1 localhost
    127.0.1.1 websiteaddress.com

    I removed the second line and it worked perfectly.

    I get the same error when updating wordpress multisite. The upgrade goes well until I have to update the network. I get the message:

    Warning! Problem updating https://websiteaddress.com. Your server may not be able to connect to sites running on it. Error message: Failed to connect to websiteaddress.com port 80: Connection refused

    The site still functions, but I can’t get around this port 80 issue. Other sites on the same server don’t have this error.

    I am running this on top of VestaCP as well.

Viewing 7 replies - 1 through 7 (of 7 total)