views:

81

answers:

2

hi,

I'm copying my Drupal installation to another folder and I've copied the related database.

When I run update.php on the new copy I get the following error:

http://dl.dropbox.com/u/72686/updateError.png

should I disable some modules.. or is something about Drupal core ?

(I'm using version 6.16)

I've flushed all caches and the website is offline.

thanks

A: 

I've kinda solved, but I'm not very convinced.. I hope I'm not going to have issues when I will move it again.

In order to solve I had to login and then I run the update.php again. But do I need to login to run it ? Not really, right ?

thanks

Patrick
A: 

You have to log in to run update.php... actually I'm also wondering how could you run update.php without being logged as administrator O_O

For the error... looking at the line reported in the error:

list($module, $version) = array_pop(reset($_SESSION['updates_remaining']));

you can see the use of $_SESSION array;

Probably you don't have any php sessions if you are not logged in...

digEmAll
I've always run update.php without log in on my websites. And it always worked! Thanks for the explaination. Useful to know.
Patrick

related questions