Report this

What is the reason for this report?

i can't upload images and themes ...

Posted on February 28, 2017

hi every one , i just migrate my website to DO and i have this problem of uploading images and themes ,here is my error log:

[Tue Feb 28 22:15:09.659684 2017] [authn_file:error] [pid 31692] (2)No such file or directory: [client 196.64.42.**:****] AH01620: Could not open password file: /etc/apache2/.phpmyadmin.htpasswd, referer: http://www.exemple.com/wp-admin/post.php?post=12160&action=edit



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@abderbij

That specific error is stating that /etc/apache2/.phpmyadmin.htpasswd does not exist.

Inside your .htaccess file, are you referencing that file? If so, you’ll need to make sure it exists as any problems with your .htaccess file may cause issues elsewhere since WordPress relies on it heavily.

@abderbij

Have you checked other directories to ensure that another .htaccess file does not exist? That error is telling me that there is password protection somewhere and it’s trying to locate that file, but since it’s not found, it’s logging the error.

As far as the .htaccess file you posted, the following line shouldn’t be required and isn’t part of the normal WordPress .htaccess:

RedirectMatch Permanent wp-admin/install(-helper)?.php /

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.