Hi!

I successfuly installed drupal and modified my theme on my laptop, then moved to web server.
And there I am getting following errors on http://site/?q=node/1 and others:

warning: array_keys() [function.array-keys]: The first argument should be an array in /home/private/fcc_it/home/fcc_it/htdocs/includes/common.inc on line 3207. 
warning: Invalid argument supplied for foreach() in /home/private/fcc_it/home/fcc_it/htdocs/includes/common.inc on line 3210. 
...

I had not seen this on my laptop installation, so I think it is connected with web server configuration, but my access to web server configuration is limited.

So what could cause this errors?

I also have these in Status report:

HTTP request status Fails
Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.

And warnings:

Drupal core update status: No update data available
...

PHP memory limit: 8M
...

brgds
Janeks

Comments

gpk’s picture

Looks like the problem is here: http://cvs.drupal.org/viewvc.py/drupal/drupal/includes/common.inc?annota...

Working backwards, possibly the schema cache needs rebuilding (can't think why this would be necessary, but worth a try). If possible to go admin -> site config -> performance and hit the button to clear caches.

Also I'd be surprised if you can get Drupal to run nicely in 8M PHP RAM.

If the server doesn't allow outgoing HTTP requests then you might as well turn off update status module. Or speak to your host - they may be able to tweak something.

gpk
----
www.alexoria.co.uk

janeks’s picture

Thanks - it helps!

About memory - it seems that it works yet except some things in administration module.

brgds
Janeks