notgoodenough
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesAlso, where is /usr/local/bin/ located? I can’t find it in file manager anywhere. Can I install it elsewhere like /home/mysite/mydirectory/wp ?
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesI 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?
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesAlright, 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?
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesThe 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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesI 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?
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesNow 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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesABRACADABRA!
Turns out Jordy and www.remarpro.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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesI 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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesWhen 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
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesThe 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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesPlus, 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.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesIt is installed in the right spot as a filed named wp, but running wp –info still results in an error.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesI just tried doing it again and it looks like the file is downloaded according to the terminal output, but never installed.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesCould I just download the file and upload it via File Manager?
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Doesn’t Work on Large SitesI also do not see any .phar files in my public_html folder in file manager.