Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    You need to ensure that Ajax Load More can read/write the /ajax-load-more/core/repeater/ directory.

    Thread Starter Codefox

    (@codefox)

    Can you explain that a little better. I’m a little new to permissions in linux. I know what the permissions do for the most part, but I don’t know how to do what you’re asking. I gave the repeater directory 666 and I still got the error that I needed to give write access. I tried it on the file inside that folder and same thing. I’m apparently doing something wrong, is there something else? Another directory maybe?

    Plugin Author Darren Cooney

    (@dcooney)

    Now that I investigate further, the write test doesn’t actually test the repeater directory. It tests for test-writable.txt, which is in the admin/includes directory.

    Sorry about that, this is some legacy code that I should likely update in future updates.

    I believe what you want to do is set 777 on the repeater directory.

    777 will give you read, write and execute permissions.
    https://superuser.com/a/295615

    Plugin Author Darren Cooney

    (@dcooney)

    Hi, I’ve just updated the plugin to test for files in the /core/repeater/ directory. Have you already updated to 2.2.2?

    Please let me know how you make out.

    Thread Starter Codefox

    (@codefox)

    On a fresh install there is no test-writable.txt file in the admin/includes folder. I created one and tried adding the default template that shows up but same issue. However, I figured it out anyway. Inside the writable.php file (the ones that is doing this), I found this line of code:

    $filename = ALM_PATH .'core/repeater/default.php';

    So I changed that files permissions to 777 and now it seems to be working.

    Thread Starter Codefox

    (@codefox)

    Even though that area is writeable, it didn’t actually save the template in order to use it on the shortcode builder page, unless it’s not supposed to? I was under the impression it was some sort of demo, but having trouble figuring it out.

    It did save it to the file, it just doesn’t show up on the other page.

    Plugin Author Darren Cooney

    (@dcooney)

    I deleted the test-writeable file and I am using the actual file we need to write to as the test.

    The template is not used on the shortcode builder page, it is used on your website’s front end. The shortcode builder page is for building your WP query.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What files exactly need write access?’ is closed to new replies.