We are installing 6.2 on a brand new hosted server account. We have uploaded the contents of Drupal 6.2 into the root directory (/public_html). The default.php file inside /public_html/sites/default has a setting of 755. Our database is setup and ready to go.

Here are the warning messages we are getting:

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/teamseve/public_html/includes/theme.maintenance.inc on line 217

Warning: Invalid argument supplied for foreach() in /home1/teamseve/public_html/includes/theme.maintenance.inc on line 217

Warning: include(./themes/garland/maintenance-page.tpl.php) [function.include]: failed to open stream: No such file or directory in /home1/teamseve/public_html/includes/theme.inc on line 963

Warning: include() [function.include]: Failed opening './themes/garland/maintenance-page.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/teamseve/public_html/includes/theme.inc on line 963

We did not customize the default.php file with the database name, user name, and password (as we have done in the past with 5.x) because it appears from the online documentation that this information is entered during the web-based installation procedure. If this is incorrect, I'd appreciate a heads-up.

Any advice on how we can proceed past these errors would be much appreciated!

Comments

cog.rusty’s picture

Does themes/garland/maintenance-page.tpl.php exist and is located in that directory? Does it seem uncorrupted? (e.g. not zero length). Are all directory permissions at least 755 and all file permissions at least 644?

Also try to use http://www.example.com/install.php

HotDrupal.com’s picture

What versions of MySQL/PHP is your host providing?

Steve
HotDrupal.com - Drupal Friendly Hosting

javierggt’s picture

Hi,

I have the same issue although it is with drupal 6.4. The host provides php 5.0.5 but I tried with php 4 and get the same. According to phpinfo: MySQL's Client API version is 3.23.56.

I fixed the first problem by adding the following line to themes/garland/maintenance-page.tpl.php:
require_once("template.php");

I haven't been able to remove the warnings yet.

nicknickoli’s picture

I have these same messages with my 6.4 install, right out of the box. WAMP software versions are okay and the server settings (PHP memory) should be fine. I actually have a couple other Drupal build running on this machine. Did you find anything else to get steps on the install.php page and worked?

cog.rusty’s picture

Does that happen with a different core theme?
Is your current theme a Drupal 6 theme, or was it carried over from an older version?

exaboy’s picture

I had this problem when i deleted the unused minnelli themes in my installation before the initial install.

As soon as i popped minnelli back in I was able to proceed to the install wizard. Weird stuff, im assuming that the garland theme is depending on the minnelli for something.

cog.rusty’s picture

I think Minnelli is the theme used by default for installation and for updates.

Generally all core files are expected to be present at their original location at all times. For example sometimes people encounter problems when they remove or rename the default.settings.php file, assuming that it is not needed.