I have recently inherited a Drupal 7 site running on Pantheon.io
I have set up a local Drupal 7 server for a dev/test environment that is working flawlessly as a fresh install.
However, once I put the code, files, and database backups in place, my content appears, but there is no theme or CSS present, none of my links work, etc.

I have a feeling there is a simple fix for this, but I have exhausted my limited knowledge of this platform.

  • Welcome to Drupal Answers! What is your actual question as I can't find one in the text you posted. (-:
    – leymannx
    Oct 18 '18 at 8:04
  • @leymannx - When I bring my database, code, and files from Pantheon to my local environment, my theme/css doesn't appear to work. What have I done wrong?
    – user90031
    Oct 18 '18 at 19:05
  1. Clone the code
  2. Import database
  3. Configure your settings.php file
  4. Get public files; copy them to sites/default/files
  5. Compile CSS and JavaScript in the theme, if it is required
  6. Clear the cache

Those step should works.

If Backup and Migrate module installed in Pantheon.io you can get the database and public files from https://pantheon.io/admin/config/system/backup_migrate.

  • #4 - copy them to sites/all/default/files - under sites i can go to all OR default, I don't have an /all/default path.
    – user90031
    Oct 17 '18 at 20:41
  • Sorry it's sites/default/files. i edit my answer.
    – berramou
    Oct 17 '18 at 20:43
  • Your suggestion "Compile CSS and JavaScript in the theme, if it is required" was my key... configured the settings.php so that 'preprocess_css` and preprocess_js were set to 0 and now my main page looks fantastic!!! Now, all of my links are "not found," including the /user login path. Suggestions?
    – user90031
    Oct 22 '18 at 20:18
  • check with yousite.com/?q=user instead of yousite.com/user if it works ?
    – berramou
    Oct 22 '18 at 20:20
  • /?q=user does work :) I don't know what configuration change to make to fix the rest.
    – user90031
    Oct 22 '18 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy