I hope this is the right place for this kind of message! Sorry if it is not :-(

I update drupal-cvs together with quite a few modules.
Doing this manually works fine and after adding a new module I activate it in the administer section.

It is quite a tedious work so I figured a small script could make the process easier for me. Basically it moves out the conf.php, downloads drupal-cvs and the modules and extracts everything and then moves back the conf.php.

I have checked the modules folder against the working one and can see no differences. I've manually restored the modules twice and drupal-cvs works fine but when trying to automate it I always get this error:
Fatal error: Unknown function: module_init() in /usr/local/www/html/drupal-cvs/includes/common.inc on line 1903

I know that the cvs can be broken but in both cases drupal-cvs started to work when I manually installed everything immediately after the failures.

So I don't think it is the cvs but rather some stupid mistake I'm making but what?

Cheers

Comments

gde’s picture

Instead of unpacking the drupal-cvs archive and overwriting the old files, I removed the entire directory (rm -rf drupal-cvs/) before unpacking it and now it seems to work fine.