Tried adding the latest framework theme after renaming the old folder of the previous version. Copied in the new framework folder to /sites/all/themes and went to the site in the browser, navigated to admin/build/themes. All other themes appeared, but not framework.
The framework theme was not in use at the time. Tried deleting the old folder, deleting the new one and recreating it--still can't add the framework theme. It never appears available to be enabled.
Tried clearing the site cache, running update.php and cron. Added a different theme, never used before, and that appeared right away.
This was on a test site. I'm afraid to try this where I am actually using the framework theme. I might wind up with nothing.
Any advice would be appreciated.

Comments

andregriffin’s picture

That is very strange. This is not a common behavior or anything specific to the theme, but rather an instance in which your server or the drupal db has become confused.

First off, forgive me if the following sounds a little too obvious, but you'd be surprised by how often it occurs:

Are you using the correct version? (Drupal 5 or 6)

Have you in fact uploaded the theme dir to your server and to the correct location?

Have you first removed any trace of the theme on your server by deleting sites/all/themes/framework? After doing so upload the new version. Make sure Framework is neither enabled or in use in any way during this process. Do not rename any theme folders on the server. Download the theme and rename locally only. You may want to restore your previous installation of framework on the server first, then disable it, then download it, erase from server, then upload new.

Make sure the name of the .info file, the name inside the .info file, and the theme folder name are all consistent.

wsmoomaw’s picture

Thanks for the reply. I had checked all of those things several times. After taking a break, I thought I ought to simplify things.

I removed all themes except for the core themes and started over. When I refreshed the Themes page, it said the framework theme was still selected as the admin theme. What I had been using for the admin theme was a custom theme developed by someone who insisted he had built it himself.

Well, the custom theme was based on the framework theme and was not completely transformed, so it was still labeled, as you mentioned, in the .info file.

Once I installed the updated framework theme, everything returned to normal. I have edited the page.tpl.php and added my images so I now have a customized framework that is just what I wanted.

This time, I won't allow anyone to rename the theme, though I know it can be done properly. This one will stay with its original name and we will use the modified framework.

wsmoomaw’s picture

Status: Active » Fixed

Thanks again. I have had no further issues since removing the incorrectly customized theme that was based on the framework theme. Now the latest framework theme is installed and working very well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.