Since upgrading to WPDataTables 2.0, I am unable to update any of the settings of an existing table - see screenshot attached. Happens when I try to update anything - display setting, tool settings, etc.
In
regards to a site on your hosting account, the cause of the 406 error
is usually due to a mod_security rule on the server.
Mod_security is a security module
in the Apache web server that is enabled by default on all hosting
accounts.
Apache web server, scans for
violations of the rules it has set.
If
an action occurs that violates one of these rules, the server will
throw a 406 error.
1.
If you’re receiving this message when trying to save wpDataTable
based on MySQL query from your WP Admin,
it
means your hosting provider is restricting access to some of
WordPress’ native functionality.
To
solve it, contact your hosting provider to ask them to remove this
restriction.
2.
Adding the following to the top of your .htaccess file. (This should
be a temporary measure.
You
could try it just to see if it will work, but you probably don’t
want to leave it.)
<IfModule
mod_security.c>
SecFilterEngine
OffSec
FilterScanPOST
Off
</IfModule>
3.
Backup your .htaccess file if you have one in the public_html
directory.
Open
the .htaccess file with any text editor and observe the lines between
the “# BEGIN WordPress” and “# END WordPress” tags.
Make
sure the lines look somewhat like the following. If not then update
the file with the following content and upload it to the
‘public_html’ directory.
Since upgrading to WPDataTables 2.0, I am unable to update any of the settings of an existing table - see screenshot attached. Happens when I try to update anything - display setting, tool settings, etc.
Hi tcghs,
Thank you for your purchase.
In regards to a site on your hosting account, the cause of the 406 error is usually due to a mod_security rule on the server.
Mod_security is a security module in the Apache web server that is enabled by default on all hosting accounts.
Apache web server, scans for violations of the rules it has set.
If an action occurs that violates one of these rules, the server will throw a 406 error.
1. If you’re receiving this message when trying to save wpDataTable based on MySQL query from your WP Admin,
it means your hosting provider is restricting access to some of WordPress’ native functionality.
To solve it, contact your hosting provider to ask them to remove this restriction.
2. Adding the following to the top of your .htaccess file. (This should be a temporary measure.
You could try it just to see if it will work, but you probably don’t want to leave it.)
<IfModule mod_security.c>
SecFilterEngine OffSec
FilterScanPOST Off
</IfModule>
3. Backup your .htaccess file if you have one in the public_html directory.
Open the .htaccess file with any text editor and observe the lines between the “# BEGIN WordPress” and “# END WordPress” tags.
Make sure the lines look somewhat like the following. If not then update the file with the following content and upload it to the ‘public_html’ directory.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi, Bogdan,
1. I'm receiving the error just by trying to apply disabling Table Tools - not from any SQL - does this still indicate a server issue?
2. Added to my .htacess - doesn't seem to make any difference - do I need to do anything special to activate the .htacess changes?
3. My .htacess file has what you included but also some additional commands (from woocommerce?)
Does this appear OK?
Thanks,
Mike
Hi Mike
I noticed that you entered twice mod_ rewrite ( attachment)
My suggestion will be to contact the hosting provided and ask them to make all necessary changes.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables