Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

FW: Unable to connect to database
(1 viewing) (1) Guest
"ARI Adminer" WordPress plugin
Go to bottomPage: 1
TOPIC: FW: Unable to connect to database
#59930
FW: Unable to connect to database 7 Years, 10 Months ago Karma: 0
hi,

I saw on WP form that the tread was closed, so I post my latest one here.

---
What for a code to use? Because I use a plugin for the disable php execution.

I can edit the .htaccess file by ftp, so that’s no problem.

Regards,
---
The administrator has disabled public write access.
 
#59931
Re:FW: Unable to connect to database 7 Years, 10 Months ago Karma: 760
Hello,

v. 1.0.6 adds .htaccess file to <wordpress_plugins_directory>/ari-adminer/adminer folder with the following content:

Code:


<FilesMatch "^wrapper_(adminer|editor)\.php$">
    Order Allow,Deny
    Allow from all
</FilesMatch>



If it doesn't work in your case, could you specify what plugin you use to disable execution of PHP file so we can check what approach it uses and offer a solution how to permit execution of the file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#59932
Re:FW: Unable to connect to database 7 Years, 10 Months ago Karma: 0
I use the iThemes Security plugin.

Regards,
The administrator has disabled public write access.
 
#59933
Re:FW: Unable to connect to database 7 Years, 10 Months ago Karma: 760
Open .htaccess file in root WordPress folder. Find the following rewrite rule which is added by iTheme Security plugin:

RewriteRule ^wp\-content/plugins/.*\.(?:php[1-7]?|pht|phtml?|phps)$ - [NC,F]

and add the following rule above this rule:

RewriteRule ^wp\-content/plugins/ari\-adminer/adminer/wrapper_adminer\.php$ - [L]


It will look like:


RewriteRule ^wp\-content/plugins/ari\-adminer/adminer/wrapper_adminer\.php$ - [L]
RewriteRule ^wp\-content/plugins/.*\.(?:php[1-7]?|pht|phtml?|phps)$ - [NC,F]


Regards,
ARI Soft
The administrator has disabled public write access.
 
#59935
Re:FW: Unable to connect to database 7 Years, 10 Months ago Karma: 0
Great! It works just fine.
The administrator has disabled public write access.
 
Go to topPage: 1