• Resolved notgoodenough

    (@notgoodenough)


    It is not possible to use this plugin on large sites without being logged out of WordPress before the scan can complete. Then I’ll get to my concerns regarding Windows automatically logging anyone off after a few hours and I don’t see any way this thing can complete a scan that requires a desktop to be open running a browser window for several days at a time.

Viewing 15 replies - 16 through 30 (of 32 total)
  • Thread Starter notgoodenough

    (@notgoodenough)

    I also do not see any .phar files in my public_html folder in file manager.

    Thread Starter notgoodenough

    (@notgoodenough)

    Could I just download the file and upload it via File Manager?

    This command renames wp-cli.phar to wp :

    mv wp-cli.phar wp

    Also I forgot that you need to make it executable:

    chmod 755 wp

    You can also upload the file using a FTP client. Don’t forget to change the permissions to 755.

    Thread Starter notgoodenough

    (@notgoodenough)

    I just tried doing it again and it looks like the file is downloaded according to the terminal output, but never installed.

    Thread Starter notgoodenough

    (@notgoodenough)

    It is installed in the right spot as a filed named wp, but running wp –info still results in an error.

    Thread Starter notgoodenough

    (@notgoodenough)

    Plus, Stack Overflow indicates that something else might be needed for multi site accounts. I have a primary domain hosted in the public_html folder with another hosted in a subfolder. The primary is the one I am trying to use this on.

    Thread Starter notgoodenough

    (@notgoodenough)

    The problem seems to be after running

    mv wp-cli.phar wp

    After that the wp-cli.phar file is changed to just wp after which it cannot be accessed. On the other hand, not running that and running php wp-cli –info works great until the aforementioned line is run.

    Thread Starter notgoodenough

    (@notgoodenough)

    When I try to run the sudo version of the command I am told that my account “is not in the sudoers file. This incident will be reported.”

    How do I add an account to the sudoers file and where is that file?

    In the past I have only used sudo as root user

    Thread Starter notgoodenough

    (@notgoodenough)

    I solved the sudo issue by adding the account to a group in WHM. Unfortunately, this has not solved the problem. When I run the sudo command it appears to work, but wp –info is still nothing. However typing “php wp –info” produces the output I expected before adding the php prefix.

    Thread Starter notgoodenough

    (@notgoodenough)

    ABRACADABRA!

    Turns out Jordy and www.ads-software.com both left the php prefix requirement out of their wp-cli tutorials which is why it wasn’t working. Now if you run the commands from his tutorial with “php ” in front of wp it appears to be working.

    Thread Starter notgoodenough

    (@notgoodenough)

    Now it seems to be stuck at analyze content 100%. I tried to copy the output by highlighting it in the terminal and pressing control+c but that just appended “^C” without quotes to the end of it.

    Thread Starter notgoodenough

    (@notgoodenough)

    I ran the command again, but it looks like I jumped the gun. When a new scan is started using wp-cli does that automatically cancel the first one?

    Thread Starter notgoodenough

    (@notgoodenough)

    The terminal now says:

    Error: There has been a critical error on this website. Learn more about troubleshooting WordPress. There has been a critical error on this website.

    Method: Media Library
    Check Content: yes
    Check Live: no

    …………

    Notice how that error message gives me nothing to work with? It doesn’t give you a status code or a location, so I can’t imaging what the problem could be.

    Thread Starter notgoodenough

    (@notgoodenough)

    Alright, my WordPress debug log suddenly started working somehow, so I have more information:

    PHP Fatal error: Maximum execution time of 999 seconds exceeded in /home/mysite/public_html/wp-content/plugins/media-cleaner-pro/classes/core.php on line 844

    I didn’t know anything had a max execution time of 999 seconds. How do I set the max execution time to unlimited?

    Thread Starter notgoodenough

    (@notgoodenough)

    I increased my max execution time to 3000000 but still got the same error. Is there some cap on the max execution time that I am not aware of?

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Doesn’t Work on Large Sites’ is closed to new replies.