Hello all

I had a working Drupal install using 6.12.

I transfered the entire Drupal root and the DB dump onto another server that has other multiple Drupal sites running well on it.

When attempting to reach the Drupal home page i get
"Parse error: syntax error, unexpected '=', expecting ')' in $path/sites/all/modules/content_complete/content_complete.module on line 136"

What is more bizarre is on my Apache error_log i see:
" script not found or unable to stat: /$server_root/www/cgi-bin/modules"

But this is the completely incorrect path. It seems to be looking for the Drupal dirs at the wrong place.

I am almost certain this is a DB issue as when i change the settings.php so it cannot connect to the DB, i see the theme and standard Drupal "cannot connect" error message but when i can connect to the DB, just a white page and error above.

The settings.php has the correct DB and URL path files...

I have transferred the DB several times and the Drupal files too.

Heeeeelp please

L

Comments

Anonymous’s picture

Try these searches in Google?:

site:drupal.org multiple drupal install
site:drupal.org moving drupal install

Hope it helps

linuxpimp’s picture

Thanks Designer, much appreciated.

I have installed and moved many sites and never seen these errors hence my post.

I had not however cleared my cache. I'll try that and update.

Thanks

l

linuxpimp’s picture

Ok, problem was simple and solutions was even simpler.

I developed on a machine with php5 and then reinstalled on a a machine with php4.

Had the hosting service upgrade to php5 and all works great.

L