I have install WAMP PHP mysql, and i have set up Drupal Folder in www rout, but i want to install is is whoing the below error :
Warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\theme.maintenance.inc on line 217
I have install WAMP PHP mysql, and i have set up Drupal Folder in www rout, but i want to install is is whoing the below error :
Warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\theme.maintenance.inc on line 217
Comments
Comment #1
will.gresham commentedCheck around line 46 of 'drupal\includes\theme.maintenance.inc'
The maintenance theme is setup so no database is needed for the pages, it will have the name of a theme here similar to below:
make sure that the theme defined here is installed, or change it to the theme you wish to use.
If the theme defined does not exist, you will get the error you posted here.
Comment #2
markbur7 commentedHi #1,
I'm getting the same problem, have tried the above but it does not fix the problem.
Q's:
1) The following themes are found in the theme directory: bluemarine, chameleon, engines, garland, pushbutton. Is theme.maintenance.inc using a default theme that is no longer in the standard download package, or is the minnelli theme files located somewhere else.
2) I'm assuming that the above 5 subdirectories under themes are in fact the installed themes, so I should be able to change references to 'minnelli' to 'bluemarine' (for example) and get it to work? If so there are refs to this in line 36 as well as 46 - so both need to be changed, yes? (Will test this and post again if this fixes things).
If (1) is true, someone in the drupal team needs to amend the install package to include the minnelli theme (doesn't sound right to me, this would have been picked up a long time ago...)
Thanks to everyone, you guys all rock.
Comment #3
markbur7 commentedOK, uninstalled 6.9, installed 6.10 and the problem has not recurred.
Cheers, all.