Is this a Multisite problem?

Events happening in the community are now at Drupal community events on www.drupal.org.
joyseeker's picture

I have a top domain and 4 subdomains running off the same code in my Multisite setup. I'm running 6.19 Drupal core that I upgraded last weekend.

In two of these subdomains, when I go into Administer/Blocks, I get a white screen and this message:

Fatal error: Cannot redeclare block_admin_display() (previously declared in /--mysite--/modules/comment/block/block.admin.inc:12) in /--mysite--/modules/block/block.admin.inc on line 23

It is strange because the top domain and the 2 other subdomains go into Blocks OK. If it's not a Multisite problem, is a Drupal code problem?

Any suggestions?

Comments

Blocks screen problem fixed

joyseeker's picture

I'm not sure what fixed it -- but I ran update.php from the 2 subdomains (and not just the top domain with the updated core code) -- and cleared the cache and ran cron.php many times -- and finally I can go into Administer/Blocks on these 2 subdomains.

Have no idea why 2 subdomains worked and 2 didn't, but I'm OK now. Whew!!

Well, if each sub-domain was

Vidus's picture

Well, if each sub-domain was running off its own database, there could be differences in those databases that were causing the issues. You may have had the same code, but if any changes were made module-wise or otherwise to those databases that made them different, that would easily account for the problem.

unable to administer blocks

lcastro's picture

I have the same problem after updated my multisite domain.
Did you solved the problem?

Is this a Multisite problem?

manuel_mra's picture

Hi:
Some problems are because we forget to make an update after updating a module.
I supose that was happened.

It would be worth

alexgreyhead's picture

It would be worth double-checking that you don't have any custom PHP code being called by your blocks. If you have any custom blocks with PHP code in them, make sure they're not causing a separate Drupal bootstrap - if you're not sure, you could try posting it here for us to take a look for you.

Fingers crossed the site stays stable for you! =o)

/al

It would be worth

lcastro's picture

I was checked that I haven't any PHP code in my blocks. I don't have any custom block and I maked an update after updating many modules of the site. What can I posting here for you to take a look for me?.

First run update.php for the

Lakeside's picture

First run update.php for the domain, then clear the cache.

Sometimes it isn't Drupal, but the browser's cache. Refreshing the browser doesn't always resolve the problem, so flush the browser's cache.

To make things easier create a folder on the browser's toolbar and save each domain's address to the update.php page to the folder. It makes updating the databases faster.

It appears that the Drupal

Garrett Albright's picture

It appears that the Drupal core installation got mucked up somehow. Maybe try completely deleting the Drupal core (being sure to copy your sites directory first), then copying your currently-existing sites directory into the new core. (So long as you can accomplish this without deleting your only copy of the sites directory, this isn't as difficult as this sounds.)

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: