Forum replies created

    Scott Lemon
    Spectator
    Posts: 17
    September 10, 2023 at 2:13 am #49083

    Hello! I apologize that I did not see this reply, but I DID finally solve this.

    It is so weird, and they do not log any output, but you nailed it. In that file they appear to read files and determine the owner of one of the wordpress files, then they create a file and if the owner is not identical then they shift to the FTP method.

    I had to look to see that my instance was running as the “apache” user, and even though all of the files had RW permissions for root:apache that wasn’t good enough.

    After chowning everything as apache:apache it worked!

    Thanks again for your quick assistance looking at this, and I’m glad that I now know this.

    Scott Lemon
    Spectator
    Posts: 17
    August 16, 2023 at 8:57 pm #49045

    I am the hosting provider. 🙂 Or rather AWS is.

    Yes, I am seeing the same symptom. WordPress seems to think it does not have “direct” file system access and so is defaulting to ftp. I can’t find anywhere that the settings are not correct. And I’ve been comparing to the old server … they seem to look the same.

    Thank you for your thoughts and tips … and I’m going to continue to dig. If I find something I’ll post back here.

    I wish I knew WHERE WordPress was testing the permissions that it feels they are not correctly set.
    :-/

    Scott Lemon
    Spectator
    Posts: 17
    August 16, 2023 at 6:49 pm #49043

    Looking at the WordPress code, there seems to be multiple class files for the file system:

    class-wp-filesystem-base.php
    class-wp-filesystem-direct.php
    class-wp-filesystem-ftpext.php

    And the “wrong” one is being used … ftpext instead of direct.

    Do you have any insights into how this selection is being controlled?

    Scott Lemon
    Spectator
    Posts: 17
    August 16, 2023 at 6:20 pm #49041
    This reply has been marked as private.
    Scott Lemon
    Spectator
    Posts: 17
    August 16, 2023 at 6:10 pm #49039
    This reply has been marked as private.
    Scott Lemon
    Spectator
    Posts: 17
    August 16, 2023 at 6:07 pm #49037

    Hello,

    Yes, backups would not have helped in this case as the site was down when we got involved. They applied a server update that broke things badly. We are now doing a full reinstall on a new server and have the old server as a non-working backup. :-/

    As a new returning user of these forums, I can’t find how to send you a private message at all. 🙁

    How do I do that?

    Scott Lemon
    Spectator
    Posts: 17
    October 28, 2016 at 4:02 pm #30929

    Hello,

    Your comment and observation about the footer made our developer think of an issue!

    He was looking for how to add Google Analytics and found your post: https://theme4press.com/support/topic/analytics-code/

    So he modified the footer.php and changed:

    wp_footer();
    ?>

    to be:

    ?>
    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’https://www.google-analytics.com/analytics.js&#8217;,’ga’);

    ga(‘create’, ‘UA-ghijklm-xy’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>
    <? wp_footer();
    ?>

    We see now that he used the <? wp_footer(); tag, instead of the <?php wp_footer(); tag !

    Thank you for taking a deeper look at the page, and noticing this issue with the footer! That gave us the pointer of what to look at.

    We are curious … why don’t you have the Google Analytics built into the theme, or have a better way to insert this?

    Thank you very much!!

    Scott Lemon
    Spectator
    Posts: 17
    October 28, 2016 at 5:32 am #30917

    Is there any way to PLEASE get a developer to look at this? We believe it is a problem with your Theme4Press Slider. All of the content is in the page, but the slider is not rendering it correctly. Look at my list of plug-ins … there is nothing else there … we have disabled everything and it still fails. There is a bug someplace that is causing the images to not be rendered … even though they are in the page.

    We have to get this site up and running and have 4 more sites being held up because of this bug. 🙁

    Scott Lemon
    Spectator
    Posts: 17
    October 27, 2016 at 4:56 pm #30914

    Also … if I replace your two outdated files with the Woocommerce default files the images work perfectly! They do not look at good as yours, but they work perfectly.

    evolve-plus/woocommerce/single-product/product-image.php version 2.0.14 is out of date. The core version is 2.6.3,

    evolve-plus/woocommerce/single-product/product-thumbnails.php version 2.3.0 is out of date. The core version is 2.6.3

    If I then put your files back, it is broken.

    Please do not simply blow off this issue as we need to get the site online and working. It was all fine until we updated to WordPress 4.6.1 … then this. Please provide better support suggestions … there is a serious issue. Please.

    Scott Lemon
    Spectator
    Posts: 17
    October 27, 2016 at 4:48 pm #30913

    I updated to WordPress 4.6.1 … what version are you running?

    And these are the only plug-ins … and I’ve disabled and re-enabled all of them … theme is 2.6.8