Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Turkish Delight

    (@turkish-delight)

    Adding this to the gallery page’s <head> tag corrected the issue for me:

    <script>
    var interval = setTimeout(function() {
    document.querySelector('.lSSlideOuter > ul > li:nth-child(2)').click();
    }, 3000);
    </script>

    Please note that the “3000” should be replaced with the milliseconds you have set as a delay between each slide frame. If for example, you have a 5 second delay between each slide frame, then this should be replaced with “5000”

    I am processing this code to add into the plugin itself, and may recommend a patch for a future version.

    Thread Starter Turkish Delight

    (@turkish-delight)

    Okay I figured it out. There a few issues regarding the path and ownership that I ran into. What I did not mention (I didn’t think it was relevant) is that cdn.example.com and example.com are hosted in two different hosts. To better explain:

    example.com is host 1. This host has “exampleuser” as it’s account owner.
    cdn.example.com is host 2. This host has “cdnexampleuser” as it’s account owner.

    When I’m running the wordpress site under example.com, I’m uploading all of my images into cdn.example.com. That means that my “exampleuser” is trying to access the directory I set up for it on cdn.example.com, but “exampleuser” does not have any ownership over this directory.

    Step 1:

    To change ownership, I SSH’d (you may need to contact your hosting provider if SSH is not available) into the cdn.example.com account, accessed the “public_html” directory and ran the following command:

    chown -R exampleuser:exampleuser example-path/

    This means that any directory or file that is placed under the example-path directory (including the example-path directory itself) is now owned by “exampleuser”.

    Step 2:
    For the last step, the path is critical. You will find the full scripting path, not just the path from site root. In my fields I have:

    Store uploads in this folder: /home/cdnexampleuser/public_html/example-path/uploads
    Full URL path to files: https://cdn.example.com/example-path/uploads

    *****

    @rvola, thank you very much for your time. I greatly appreciate your assistance here and your plugin.

    Thread Starter Turkish Delight

    (@turkish-delight)

    Very interesting.

    In wp_posts, the “guid” of this image is https://cdn.example.com/2016/11/image01.jpg
    In the media library, the URL is the same as above.
    However, this image appears in the local FTP, not the CDN subdomain. The path for the image is “/example-path/uploads/2016/11/image01.jpg”

    The WP Media URL settings are as follows:

    field 1: example-path/uploads
    field 2: https://cdn.example.com

    Thread Starter Turkish Delight

    (@turkish-delight)

    I have attempted a few uploads with the new settings, and the files are being dropped still into the local server.

    Again I am very sorry to bother you with this, I expect that whatever the problem is it must be something simple.

    Thread Starter Turkish Delight

    (@turkish-delight)

    I attempted this suggestion, and unfortunately it is not working. What seems to happen is “example-path/uploads/2016/11” directories are made on the local server, not the CDN host. I will reattempt a few options and post back to this thread, however if you have any thoughts as to what might be wrong, I appreciate any input. Thank you!

    Thread Starter Turkish Delight

    (@turkish-delight)

    A quick follow-up – my apologies all around for reporting this as an error. The issue was two-fold;

        The site did not have multiple users in the same role types
        The site did not have multiple users with the appropriate settings checked

    If anyone else has a similar issue please let me know and I can hash out exactly what went wrong. Thank you.

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