Derek
Forum Replies Created
-
Found it and sorted thanks!
I tried, cannot find
auto_prepend_filedirective pointing to wordfence-waf.php.. I looked for htaccess, .user.ini and php.ini files and nothing.Forum: Localhost Installs
In reply to: Wordfence Fatal error: Unknown: Failed opening requiredHi rokelis, I already did, here is the htaccess code:
BEGIN LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule .litespeed_conf.dat - [F,L] marker CACHE RESOURCE start RewriteRule wp-content/./[^/](responsive|css|js|dynamic|loader|fonts).php - [E=cache-control:max-age=3600] marker CACHE RESOURCE end marker FAVICON start RewriteRule favicon.ico$ - [E=cache-control:max-age=86400] marker FAVICON end marker DROPQS start CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga marker DROPQS end LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END LSCACHE BEGIN NON_LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;" BEGIN WordPress The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress BEGIN Block all trackbacks, pingbacks and use of XML-RPC Order Deny,Allow Deny from all END Block all trackbacks, pingbacks and use of XML-RPC BEGIN cPanel-generated php ini directives, do not edit Manual editing of this file may result in unexpected behavior. To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) php_flag display_errors Off php_value max_execution_time 300 php_value max_input_time 120 php_value max_input_vars 1000 php_value memory_limit 256M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php55" php_value upload_max_filesize 64M php_flag zlib.output_compression Off
php_flag display_errors Off php_value max_execution_time 300 php_value max_input_time 120 php_value max_input_vars 1000 php_value memory_limit 256M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php55" php_value upload_max_filesize 64M php_flag zlib.output_compression Off END cPanel-generated php ini directives, do not editYou said, “there can be others present in child folders so make sure to check them all” ‘others’ referring to?
Thanks Peter, but as explained, I already did all that and more.
I deleted the wordfence folder, removed the wordfence-waf.php file, and also removed calls in the .user.ini, and in addition the auto_prepend_file directive was not found in the php.ini, htaccess, or .user.ini
Still gives the same message.I have the same problem.
My smartphone was stolen and I lost the authentication app for 2FA for this site, so could not authenticate when logging in. I checked online and used the advice given in many places, i.e. to rename or remove the Wordfence folder, remove the references to wordfence in the .user.ini, and removed the file wordfence-waf.php in the root folder.
Having removed all links to Wordfence and removed the plugin, I now get this (from my error log):
PHP Fatal error: Unknown: Failed opening required ‘/home/xtajaiph/public_html/wordfence-waf.php’ (include_path=’.:/usr/local/php74/lib/php’) in Unknown on line 0
Where is it getting the call to this file, since I removed it from user.ini and there isn’t an auto_prepend command in the .user.ini OR the .htaccess file?
I now cannot login?
I have the same problem.
My smartphone was stolen and I lost the authentication app for 2FA for this site, so could not authenticate when logging in. I checked online and used the advice given in many places, i.e. to rename or remove the Wordfence folder, remove the references to wordfence in the .user.ini, and removed the file wordfence-waf.php in the root folder.
Having removed all links to Wordfence and removed the plugin, I now get this (from my error log):
PHP Fatal error: Unknown: Failed opening required ‘/home/xtajaiph/public_html/wordfence-waf.php’ (include_path=’.:/usr/local/php74/lib/php’) in Unknown on line 0
Where is it getting the call to this file, since I removed it from user.ini and there isn’t an auto_prepend command in the .user.ini OR the .htaccess file?
I now cannot login?
MUCH appreciated, done and sorted!
Forum: Plugins
In reply to: [Social Share Icons & Social Share Buttons] PHP compatibilityAlready did, thanks so much, great job!
Forum: Plugins
In reply to: [Social Share Icons & Social Share Buttons] PHP compatibilityAwesome! Much appreciated.
Forum: Plugins
In reply to: [Social Share Icons & Social Share Buttons] PHP compatibilityNote: the plugin is working fine, but these problems may be stopping me from upgrading to PHP 7.3. I am currently having to run the site on 5.6