Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
What are the proper permissions to set on files and folders? My 'files' folder needs to be set at 777 to work. It doesn't seem right that everyone will have access to writing to it. Also, what should the settings.php be set at (or Default folder)? This just doesn't seem secure.
The FTP I am using has the following permission options:
USER: Read, Write, Execute, Set UID
GROUP: Read, Write, Execute, Set GID
OTHERS: Read, Write, Execute, Sticky
I came across this issue, where i wanted to display a certain ad on taxonomy "news", then on the subsequent page when someone clicks on a "news item" from that page, and then when they go to the comments page for that item, the ad block stays on all three pages.
I figured out how to do this from the 'block php body' because i could write enough php conditionals (for arg, terms for a node, then the comment arg) - but when it comes to something like a views block that's generated, then there's no option to do this.
I recently moved my site from Dreamhost to Media Temple. To move the database over, I created a MySQL dump via phpMyAdmin and downloaded the file, which turned out to be about 6.3MB, so it was too big to reimport.
So I copied and pasted the entire code from the SQL dump file into the MySQL commands window in phpMyAdmin and that executed successfully after a few minutes.
I've successfully installed Tinymce editor and it works perfect with the garland theme. But I'm using the "slash" theme, an there the Tinymce editor doesn't appear when creating any new content.
How can I fix this problem?
I managed to install Drupal without to much of an effort.
I then tried to do the same for my sub domains, using the sites folder from the main site.
* Make or check that I've a dns record for the subdomain I want
* Made a folder with ..
* Copied the settings file from the default dir
* altered : $db_url , $db_prefix , $base_url
* Went to the ..