Problem upgrading from 6.1 to 6.2

Troy_Drupal - April 10, 2008 - 21:02

Hello.

Looking for help with this error message when I tried to upgrade on my local host.
Fatal error: Call to undefined function user_current_to_arg() in G:\www\webapps\drupal\includes\menu.inc on line 594.
Any help would be great. Thanks

* This function translates the path elements in the map using any to_arg
* helper function. These functions take an argument and return an object.
* See http://drupal.org/node/109153 for more information.
*
* @param map
* An array of path arguments (ex: array('node', '5'))
* @param $to_arg_functions
* An array of helper function (ex: array(2 => 'menu_tail_to_arg'))
*/
function _menu_link_map_translate(&$map, $to_arg_functions) {
if ($to_arg_functions) {
$to_arg_functions = unserialize($to_arg_functions);
foreach ($to_arg_functions as $index => $function) {
// Translate place-holders into real values.
$arg = $function(!empty($map[$index]) ? $map[$index] : '', $map, $index);
if (!empty($map[$index]) || isset($arg)) {
$map[$index] = $arg;
}
else {
unset($map[$index]);
}
}
}
}

function menu_tail_to_arg($arg, $map, $index) {
return implode('/', array_slice($map, $index));
}

Fixed my problem.

Troy_Drupal - April 10, 2008 - 21:35

No worries my problem. Upgrade.txt I'll know better next time.

Help! Can´t upgrade to 6.2.

rhrueda - April 15, 2008 - 10:00

Hi,

I tried to upgrade directly, just replacing the old files by the new ones, without taking the site off-line, and without following any of the UPGRADE.txt instructions, because I didnt see that file.

I´ve this error:
Fatal error: Call to undefined function user_current_to_arg() in ...\includes\menu.inc on line 594.

Then I modify $update_free_access = TRUE; in my settings.php and run update.php, where a warning of memory_size appears (I´ve change it too to 16M), and when I press "continue" an empty page appears.

I don´t know how to fix this problem!! (I haven`t got any backup :( )

THANKS!!!

--------------

Already fixed!! The memory_size wasn't succesfully changed.

----
elenasolero.com soloelcantante.com eltiro.es oton-oton.com

I reinstalled 6.1, which I

brucet1952 - April 15, 2008 - 22:52

I reinstalled 6.1, which I had on my computer, and then followed the directions. You might be able to find a copy of 6.1 still around.

upgrade

brett1 - May 3, 2008 - 01:06

thanx i had the same problem and followed what you did and it worked !!
whew, didn't feel like reinstalling again !!

 
 

Drupal is a registered trademark of Dries Buytaert.