Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter zephyr91

    (@zephyr91)

    I checked my apache logs for errors and couldn’t find anything. Can you simulate this? Or if anyone have any clue on how to fix it?

    Thread Starter zephyr91

    (@zephyr91)

    But that is where the weird part is… the permissions are right. I enabled a shell for www-data and logged in with it and touched a test file.

    www-data@dipanopaulista:~/html/dipanopaulista/wpdipano/wp-content$ touch test_content
    www-data@dipanopaulista:~/html/dipanopaulista/wpdipano/wp-content$ ls -l
    total 124
    drwxr-xr-x  3 dipano   dipano    4096 Nov  9 03:13 customization
    -rw-r--r--  1 dipano   dipano      28 Jan  8  2012 index.php
    drwxr-xr-x  4 dipano   dipano    4096 Nov 11 17:50 languages
    -rwxrwxr-x  1 www-data dipano   95143 Nov 12 15:57 object-cache.php
    drwxr-xr-x 26 dipano   dipano    4096 Nov 11 17:51 plugins
    -rw-r--r--  1 www-data www-data     0 Nov 13 14:19 test_content
    drwxr-xr-x  6 dipano   dipano    4096 Nov  9 02:08 themes
    drwxr-xr-x  2 dipano   dipano    4096 Nov 11 17:51 upgrade
    drwxrwxr-x 16 dipano   dipano    4096 Nov 12 04:10 uploads
    www-data@dipanopaulista:~/html/dipanopaulista/wpdipano/wp-content$

    The only folder that is writable is the wp-content, the wp-admin and the wp-include aren’t.

    Thread Starter zephyr91

    (@zephyr91)

    My concern is if the plugin is not working properly, because the “cache object” is not changing the timestamp, and I don’t know if its expected to change or not… Is there a way to for the test call?

    I even tried creating the file with all the permissions there.

    -rwxrwxr-x 1 www-data appuser 0 Nov 12 18:55 .redis-write-test.tmp

    but the result in the admin page is still the same

    Thread Starter zephyr91

    (@zephyr91)

    Any other ideas?

    # Edit

    I tried also changing ownership of the file and gave direct permission to www-data user, which is apache2 user, to write into the folder.

    I used the “query monitor” plugin to find php errors that were supressed, but I didn’t find any for this one.

    Thread Starter zephyr91

    (@zephyr91)

    Any other ideas?

    Thread Starter zephyr91

    (@zephyr91)

    Current permissions aer “-rw-r–r– 1 appuser appuser 95143 Nov 11 12:44 object-cache.php”

    if WP is trying to use through www-data then its probably the case, I’ll attempt here to change it to 664 and see if it works.

    Thanks

    #Edit
    It didn’t work, tried 664, 666, 777. what else could I try, because if its no writing to the file then its not working properly. Any other attempt I could do?

    • This reply was modified 3 years, 5 months ago by zephyr91.

    Oh I got it now, sorry I read it in a rush, so I didn’t see close where I was supposed to execute it. I was able to bypass the infinite redirects and its working fine now.

    – FB PageID
    – Run it in your own plugin page, using devtools

    Thanks.

    Which pageID is this? From Facebook or WP?

    —EDIT

    I used my FB pageid, but the js is not resolving the redirects, it is giving:

    Uncaught ReferenceError: fbmcc_sanitizeNumbersOnly is not defined

    So, how should run the JS if the source from FB is not loaded in the popup

    • This reply was modified 3 years, 5 months ago by zephyr91.
Viewing 8 replies - 1 through 8 (of 8 total)