I have installed drupal a lots of times without any problems. Now suddently under installation i get the error code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home125c/sub031/sc70518-WIOV/domain.com/includes/theme.maintenance.inc on line 220
Warning: Invalid argument supplied for foreach() in /home125c/sub031/sc70518-WIOV/doman.com/includes/theme.maintenance.inc on line 220
Fatal error: Call to undefined function phptemplate_get_ie_styles() in /home125c/sub031/sc70518-WIOV/domain.com/themes/garland/maintenance-page.tpl.php on line 23.
I have never before experiend this error message. Can i have done something wrong with the server settings?
I have installed everything as it should be..
T
Comments
here is the code // Get all
here is the code
// Get all region content set with drupal_set_content().
foreach (array_keys($regions) as $region) {
// Assign region to a region variable.
$region_content = drupal_get_content($region);
isset($variables[$region]) ? $variables[$region] .= $region_content : $variables[$region] = $region_content;
}
have you tried clearing the
have you tried clearing the db and deleting the files and starting again? Are you installing on a server that you have installed on before?
Cheers, Joe
Yes, empty database, same
Yes, empty database, same server as always used.
I havent come to the database installation yet.
I have uploaded all the drupal files to server, and when typing in url in browser, drupal redirects as it is supose to domain.com/install.php.
And here is where the error shows up.
The big different now and earlier on the serverside is that i was unfortunate to delete the .htaccess file. thats all.
Else there is nothing changes on server.
what host are you with? I
what host are you with? I remember my old host having a real problem with drupal - I had to doctor the htaccess file alot to get it to even install...
Im guessing from this that your host has a problem with something in the htaccess file...
cheers, joe
I think you have abolsutt
I think you have abolsutt right Joe. I use Servage hosting. I will follow up this with the host provider. and see if they can fix it. It shouldn't be any problem using drupal with this provider. It has always worked earlier and they also have a auto-install for drupal. Ill ask them to fix the htaccess file.
If its a problem with the
If its a problem with the htaccess file you can fix that - there may well be someone who fixed a similar problem here on drupal...try doing a search in this forum for 'servage hosting' - then maybe try searching for 'servage hosting htaccess' or 'servage hosting install problem' - your bound to find some clues, and there seem to be lots writing about servage...
I did this with my old host, and found a post that explained the problem and how to fix it...i asked my old host first and they just replied 'its not supported'..
Good luck! joe
I will:)
the answer from servage was
Reinstall what? .htaccess is fine and the error is of the script.