Site: http://heartwoodtmn.org
Problem:
Page is displaying without the CSS features. Should the xxx.css files be treated as a script file and CHMOD to 750? CHMOD info from the webhost are shown at the end of this message.
Current settings are:
- /all_dir_except_files -750
- /files -770
- /files/subdir -770
- xxx.php -750
- all-other-files -644
================================
CHMOD instructions from the web host:
PHP scripts run under the customer's username on our server instead of the "nobody" user, "everyone" needs no permissions. If scripts ask for 777, 770 is sufficient and will be far more secure.
All php and script files permissions must be set to 750. All other files such as HTML, images, or anything else needing to be accessed from the web should end in a permission level ending in 4; e.g. 644.
================================
Comments
my chmoddingthemes =
my chmodding
all folders (except files folder) = 755
all files (except files folder files) = 644
files folder and all subdirectories under files = 775
files folder files = 664
your chmod same as mine
Misunderstood, I thank you for the prompt reply and the CHMOD example. It matches what I am using other than swapping -0- for the last number on 775 and 755, which the webhost says I have to do. That tells me that it is not a CHMOD problem.
I tried switching to the default Blue Marine theme. That didn't help.
I did a VIEW SOURCE and the path to the css file looks okay.
<style type="text/css" media="screen">@import "themes/civicspace/admin/admin.css";</style>The pages were working. While I was unplugged on vacation, something went haywire. I came home to error messages. The only other thing I have done is TRUNCATE the `cache` table to clear the original error message. Then, I saw the webhost's message to change the CHMOD settings.
I was certain ti was the CHMOD changes. Not sure where to start troubleshooting now.
_____________________________
Pay It Forward at Drupal
When you ask a Forum question, look for one you can answer.
Check the rewrite rules in
Check the rewrite rules in .htaccess. Also, if you can get to the Apache logs, that might help.
Gary Feldman
Gary Feldman
MarsDome, Inc.
http://www.marsdome.biz
CHMOD did require 755
VeryMisunderstood, you will be glad to know I understood you and misunderstood the webhost instructions.
I guess their warning to end all DIR in -0- applied to 770 only. Tech support wrote back and said to change the CHMOD 750 to 755. I followed your advice on the other settings and pages are once again visible.
You have the thanks of all the members in the Texas Master Naturalist -Heartwood Chapter. Now if I can figure out CRON, I can put this puppy out to play.
Ashford
http://heartwoodtmn.org
_____________________________
Pay It Forward at Drupal
When you ask a Forum question, look for one you can answer.
Multisites
For multisites:
sites/ 755
sites/{multisite folders}/ 555
sites/{multisite folders}/settings.php 444 (according to step 4 of http://drupal.org/getting-started/6/install/set-permissions)
sites/{multisite folders}/files/ 775 (though Drupal recommends 777 in step 2 of http://drupal.org/node/394704)
sites/{multisite folders}/files/{files} 644 (incl. .htaccess file)
sites/{multisite folders}/files/{folders}/ 775
sites/{multisite folders}/themes/ 755
sites/{multisite folders}/themes/{theme folders}/ 755
I suspect (but am unsure about this) that Drupal changes certain values in the DB, after it detects certain (changed) CHMOD settings.
Running Drupal 6.19 (or any newer stable version if available) with numerous modules for multi-sites.
I am guessing your base url is not set correctly
Under sites/default you should have a settings.php file with a line that sets $base_url
In you case it should look like
$base_url = 'http://heartwoodtmn.org';or maybe
$base_url = 'http://www.heartwoodtmn.org';Base url is correct
Nevets, that was a good guess. I checked the base url just to be certain. It's correct. The site was working with the CSS files before I went on vacation.
In Sept, the webhost upgraded PHP to the latest stable version. Site worked fine after the upgrade.
I came back from vacation today and there was an error message about "cannot find MYI file..." I searched Drupal and found a recommendation to empty the `cache` table. Did that. Then, I could view the pages, but the css layout was missing.
I checked for any alerts from the webhost and found the one stating they insist on the CHMOD settings mentioned above. Edited the settings to match their guidelines. That didn't help either.
Any more places you think that could effect the CSS files?
_____________________________
Pay It Forward at Drupal
When you ask a Forum question, look for one you can answer.
seems prudent to test
seems prudent to test another setup, a fresh install on same server and see if a virgin install produces same problem. This should define whether its on your drupals end, or on your hosts end.
I also took notice to the fact that you are using the civicspace theme. according to the download page, that theme isnt updated to 4.7 yet. according to the note: http://drupal.org/project/Themes