These are a couple problems that I ran into today while setting up my latest Drupal installation....I normally run a turnkey setup from my webhost but I decided to go ahead and use an old lap top as a server in my office just for dev purposes.
Here are the hurdles that I ran into and what I did, really this is gleaned from reading other people's blogs, posts, etc....but there are a couple bits that some leave out that might be useful to someone. Or at least useful to me when I do this again in a year and forget some bit along the way.
1. MYSQL login
Reset Password
Server rejected send messages (Ubuntu requires all admin cmds to be sent as SUDO)
2. Settings.php file permissions
CHMOD didn't work as 775, the owner of the file needs to be the web server itself which in my case (lamp stack, Ubuntu 12.04) is www-data. 775 with CHOWN as www-data works.
--------------------------------------------------------------------------------------------------------------
Drupal 7 - Post Installation:
Setting relative file paths for uploads found in "Home » Administration » Configuration » Media" for the Private directory results in Drupal attempting to create a directory if one does not exist. This would be fine, but the directory does exist. I have the private directory outside the directory structure that Drupal is installed in. Ok great you say, that is of course how you are supposed to do it for security reasons...However when I put the double dot operator to move up the directory structure as follows:
It fails to create the private location further up the directory structure....so when I go and manually create the directory in linux and CHOWN it over to "www-data" (the webserver's username according to the server.) And set it to CHMOD 775 it still fails to work. The relative file path settings seem to fail. Anyone with any insight into this?
No comments:
Post a Comment