rizrob
Forum Replies Created
-
Hi Peter, thank for the support.
The strange thing is that they are already in two separate folders: in “/public_html/” there is wordpress with wordfence and in /test.rizrob.it/ there is a php application.
I also checked the “Scan files outside your WordPress installation” option and it is unchecked.
The firewall configuration (auto_prepend_file) was not done with .htaccess because the server does not allow it. It was included in the php.ini file and appears in the phpinfo() list of both domains.
I believe the problem is in the code inside worfence-waf.php:
if (file_exists(__DIR__.’/wp-content/plugins/wordfence/waf/bootstrap.php’)) {
define(“WFWAF_LOG_PATH”, __DIR__.’/wp-content/wflogs/’);
include_once __DIR__.’/wp-content/plugins/wordfence/waf/bootstrap.php’;
}
In your opinion, if I replace __DIR__ with the WordPress installation path, then put an absolute path, can I solve it without causing damage?Thanks
sorry @champsupertramp, I solved the problem, it was not the fault of the plugin but of an incorrect configuration in the htaccess.
Sorry I forgot to communicate it.
SincerelyHi @champsupertramp,
thanks for the very kind reply but there are no conflicts because otherwise it wouldn’t even work on the test site which is a perfect clone of the original.Hi, @champsupertramp you’re right, I meant when I click on the activation link I get in the email. I did other tests and copying the site to another subdomain everything works perfectly. Do you have any idea what could prevent activation via the link received by email?
Please could you tell me how can I debug this process?
I have already tried with Worpress (debug=true) but there is no indication and not even in the apache logs (I see the URL with the activation token but no errors or further).
I would be very grateful for any suggestions.