Trouble to setup the w3all plugin - Synology NAS

paxis
Posts: 2
Joined: Thu Dec 23, 2021 8:03 pm

Trouble to setup the w3all plugin - Synology NAS

Post by paxis »

For 2 days I'm trying to get the plugin WP-w3all to work unfortunately without success. I'm trying to install it locally first on my Synology NAS (without using my own domain). The problem is "Wp w3all miss phpBB configuration file (or you have the phpBB config.php not well configured)."
I have found absolute path and also tried standard and custom confing.php. Otherwise cookies adjusted and other things in phpBB.
I need some help because I can't get any further. Thanks in advance!

Absolute path for custom config.php: /var/services/web/wordpress/wp-content/plugins/wp-w3all-config
Absolute path for root config.php: /var/services/web/phpBB3

There is my custom config.php file:
config php.JPG
config php.JPG (123.32 KiB) Viewed 2052 times
... my phpBB root config.php:
config php root.JPG
config php root.JPG (54.63 KiB) Viewed 2052 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Trouble to setup the w3all plugin - Synology NAS

Post by axew3 »

Hello!
The fact that you get this message, mean only one thing:
the config.php file is not found. The path should be wrong.
Especially if you are including a custom config.php within wp.
You say
/var/services/web/wordpress/wp-content/plugins/wp-w3all-config
contain your config.php and it is not found. The red text do not become green
Screenshot w3all Options ‹ wp root — WordPress.png
Screenshot w3all Options ‹ wp root — WordPress.png (16.77 KiB) Viewed 2050 times
so, have you try to put a test.php file may into your server root, that should only contain this:

Code: Select all

<?php
phpinfo(32);
?>
call it by browser, check the line

Code: Select all

$_SERVER['DOCUMENT_ROOT']
what it say?
paxis
Posts: 2
Joined: Thu Dec 23, 2021 8:03 pm

Re: Trouble to setup the w3all plugin - Synology NAS

Post by paxis »

I have inserted the file test.php into the web directory on my server. It is OK? I don't know exactly how to insert the file to the root directory, I am not the best in unix.

The answer is:
DOCUMENT PHP.JPG
DOCUMENT PHP.JPG (12.06 KiB) Viewed 2041 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Trouble to setup the w3all plugin - Synology NAS

Post by axew3 »

Little confused ... effectively if into
/var/services/web/wordpress/wp-content/plugins/wp-w3all-config
there is the custom config.php file, it is strange.
If you find out the reason why, at moment it do not come out in mind how it could be possible, so please let me know.

Ps i think the old idea (never done) to put configuration connection values for the linked phpBB, via the admin config page, seem to be really good.
Post Reply