Core Upgrade Snafu

mattie's picture
mattie
Sat, 10/27/2012 - 19:27
#1
Core Upgrade Snafu

Hi, folks:

This theme is a real godsend. I've been shopping around for responsive mobile theme, and was *thrilled* you folks came out with one. The additional twiddly bits available from the theme "Appearance" are also first-rate.

I installed using auto-install with the MD_Bonv profile a few days ago, and everything went swimmingly. Afterward, I noticed there was a security upgrade available, so I upgraded the Drupal core afterward. Now I'm getting some odd (and annoying) error messages:

1. Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of /nfs/c02/h06/mnt/26995/domains/moneytools.org/html/includes/install.inc).

2. Notice: Undefined index: name in system_requirements() (line 39 of /nfs/c02/h06/mnt/26995/domains/moneytools.org/html/modules/system/system.install).

3. Notice: Undefined index: version in system_requirements() (line 41 of /nfs/c02/h06/mnt/26995/domains/moneytools.org/html/modules/system/system.install).

What's especially odd is that I get error #1 when I'm in the modules administration area, and I get #2-3 when I'm in other administration areas (e.g., configuration and/or status report areas). I've poked around in the MySQL database and PHP files, but nothing's come screaming out at me.

Do you know what caused this? More importantly, how I can fix it? I'm a MySQL/PHP/LAMP programmer, so I'm not afraid of getting in on the command line and getting my hands dirty.

I look forward to hearing from you with anticipation.

 

Best regards,

Mattie

Neo's picture
Neo
Sun, 10/28/2012 - 04:44

Hi Mattie,

This is caused by the fact that Drupal now keeps tabs on the installation profile used, but the Demonstration Site module used to create the profile doesn't save that information. You need to edit the database (sorry but this is the only way to fix this). Go to your database, select System table, finding the profiles/mdbonv/mdbonv.profile, and changing it's status from '0' to '1'.

You can also run this SQL query on the database:

UPDATE `database_name`.`system` SET `status` = '1',
`info` = '' WHERE `system`.`filename` = 'profiles/mdbonv/mdbonv.profile';

remember to change database_name with your db name and add prefix to system table.

 

Best regards,

Neo Khuat

mattie's picture
mattie
Fri, 11/02/2012 - 08:01

This worked perfectly -- 30 seconds on the command line and done. Love it!

Thanks,

Mattie

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.