I've got a 6.4 site, and I just upgraded to 6.5. No extra modules, just drupal core. Set site offline, copied new files to server, copied across files directory, .htaccess & settings.php. Ran upgrade.php script which updated 1 thing (I forget what, sorry).
I then went to set my site to online again, to find the entire site in some sort of text mode. It had 2 errors - I've gone back to 6.4 and didn't write the message down, but it was along the lines of:
/tmp/xxx cannot be uploaded to /sites/css/xxxxxxxxxxxxxxxxxxxxxx because xxxxxxxxxxxxxxxxxxxxxxxxxx is not properly configured.
If I looked in /sites/css/ the long named file it was trying to find wasn't there. I copied my drupal 6.4 folder back, however the site was still in text mode and gave a similar 2 error messages, however after a few seconds when I refreshed the site it was back to normal, so I presume the problem isn't the database.
Any ideas what I did wrong, or how to upgrade successfully? Am I asking for trouble since my database is currently 'upgraded' to 6.5 but I'm running 6.4?
Thanks for any advice.
Comments
If you are running 6.4 on an
If you are running 6.4 on an 6.5 database you will have problems. I can't say anything about the problem without knowing the exact error message and what you were doing when that happened. Normally there is no "css" directory under "sites", and no reason for Drupal to copy anything there.
Did you change your site's installation path? Often when there is a problem that makes Drupal lose the theme's path, a visit to the /admin/build/themes page fixes it automatically. Also make sure that your cache settings in /admin/settings/performance are not too aggressive for the modules that you are using (is there any warning on that page?).
I made a mistake, the css
I made a mistake, the css files are in the files folder. Closer inspection reveals 2 folders in my 'files' folder - js and css, each containing multiple xxx.js & xxx.css files. I didn't put them there manually, what are they?
OK, it's now sorted. It
OK, it's now sorted. It hadn't clicked that it was the files folder when I first got the error. When I copied the files folder across I hadn't included the '-R' in my chown/chmod commands, so although the folder was writeable, subfolders weren't. However I still don't what those folders are - are they internal to drupal or should I be worried?