Copying drupal database to demo site - recieve error messages

staino83 - July 18, 2008 - 11:41

Hi

I have been migrating demo sites to live sites - using mysql dump and changing all references from demo site paths to live site paths.

When dumping the database to the live site, i always receive this type of error message on each page:

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/debosoft/public_html/drupal6/includes/theme.inc on line 871.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/debosoft/public_html/drupal6/includes/theme.inc on line 875.

You can see the error on the demo site
http://fresh.debosoft.com.au/

It doesnt effect the site in anyway that i can tell - just this error message that always displays. How do i get rid of this message? I have double checked the SQL, and there are no references to the old demo site files - all paths point to the new demo site.

So to recap:

* Migrating demo site to live site results in error message.

Regards
Sam

Anyone have a solution or

staino83 - July 28, 2008 - 09:06

Anyone have a solution or ideas for this issue?

Regards

Theme settings

mantyla - July 28, 2008 - 09:41

I had a look at the source code of theme.inc, specific to your version, and it seems that your problem is with a variable named theme_settings - it is expected to be an array, but for some reason it is not. That variable represents your global theme settings, so my solution would be to go to /admin/build/themes/settings, reset to defaults, and then set back to whatever settings you want.

You are a champ! Now I can

staino83 - July 30, 2008 - 08:27

You are a champ!
Now I can migrate the demo sites to live sites quick and easy (without pulling my hair out!)

Really appreciate your help.

Regards
Sam

 
 

Drupal is a registered trademark of Dries Buytaert.