I have 4.1 and need to upgrade to 4.2. The update.php seems to offer some upgrade paths but not from 4.1 to 4.2 and the Upgrade to CVS seems to mess up my installation.

I've installed from scratch and would like to know how to move on with this. I've also tried the update.php availabe with the 4.2 tarball, with no luck. When I upgrade either way I end up with a message saying I'm not authorized to access the page.

This is my phpinfo() -- partial

[CODE]
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug' '--enable-memory-limit' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-exec-dir=/usr/lib/php4/libexec' '--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'

[/CODE]

Comments

al’s picture

You need to be logged in as admin to update the site. Either this, or you need to comment out the access check in update.php, which is near the bottom of the file (the page says this, if you look). This is to prevent people running arbitrary updates on your site. Make sure you uncomment the access check when you've finished.

usharf’s picture

Sorry if I wasn't clear. I've managed to run the update.php, thing is that drupal becomes unusable when done. I get the unauthorized error _After_ upgrade.

Thanks

killes@www.drop.org’s picture

'Messed up' is not a valid error description.

usharf’s picture

The error is "not authorized to access the page" when trying to access drupal after a succesful upgrade.

I've noticed many people have the same problem but no one seems to be able to help.