Hi there,

I'm a new user of Drupal; my colleague created a website based on Drupal and I'm helping her to upload to a server. It works perfectly fine on our local server but when we move the site to the server which is on the Internet troubles start.

It seems that Drupal connects to the MySQL database correctly. But when we want to load the index page the following is shown:

Page not found

* warning: Invalid argument supplied for foreach() in /home/xyz/public_html/modules/calendar/calendar.module on line 27.
* warning: Invalid argument supplied for foreach() in /home/xyz/public_html/modules/views/views.module on line 85.
* warning: array_keys(): The first argument should be an array in /home/xyz/public_html/includes/menu.inc on line 1224.
* warning: Wrong parameter count for min() in /home/xyz/public_html/includes/menu.inc on line 1224.

Please help.

Looking forward to your help.

Krzys

Comments

vm’s picture

did you?

disable clean urls before the move?
clear your cache tables including views cache tables before the DB was exported ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

krzys18’s picture

Thank you so much! It helped!!!

One day people will write songs about you!

interfaced’s picture

Thanks so much!

I had the error on line 85 and clearing all the cache tables fixed it!