Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Tom Heisterkamp on
Hi,
I am new to Drupal (and building my own site). I have installed Drupal 8.2.5 at my hosting provider with Filezilla. When I access my site, you can't see any pictures (or colors) only text. In my previous installed version (which got lost because I forgot to back-up the database) my hosting provider commented out a few lines in .htaccess in the directory sites/default.
How can I do that myself? I tried downloading the file to my computer, altering it and try to upload, but I get an access denied error.
Thanks in advance,
Cheers Tom.
Comments
depends on access rights to your webspace
You should have complete control over the files in your own webspace. Surprised to hear that your provider changed something in your files, unless you asked for it!
It could be that the file is protected, that means you need to delete it and use ftp to recreate it.
Strangely I have access to file rights
Thanks mmjvb for the response. I asked my provider, they said that the installation script puts the .htaccess into read only mode. So I have to run a PHP script to turn read only off. I don't have the skills to do that (newbie LOL). FileZilla which I use on Windows won't let me access the file attributes. Maybe I should install a Linux distribution to do some command line stuff, but I wouldn't know how and what to do either...
I can't remove the file either because it's read-only. So I indeed have to ask my provider each time...
Any help is welcome :-)
Try windows explorer,
not internet explorer, to connect to your webspace using ftp. You hould be able to navigate to the file and use right-click properties to unset the readonly attribute.