Page 1 of 1

[solved] Upgrade problem 1.1 to 1.2.3

Posted: Thu Jan 24, 2008 1:57 pm
by fbeyer
Hi,

I just copied all files from 1.2.3 over my 1.1 installation.
When I open upgrade.php I get this:

& 0100 ) { $owner[] = lang('execute'); } if( $perms & 0040 ) { $group[] = lang('read'); } if( $perms & 0020 ) { $group[] = lang('write'); } if( $perms & 0010 ) { $group[] = lang('execute'); } if( $perms & 0004 ) { $other[] = lang('read'); } if( $perms & 0002 ) { $other[] = lang('write'); } if( $perms & 0001 ) { $other[] = lang('execute'); } return array($owner,$group,$other); } function ini_get_boolean($str) { $val1 = ini_get($str); $val2 = strtolower($val1); $ret = 0; if( $val2 == 1 || $val2 == '1' || $val2 == 'yes' || $val2 == 'true' || $val2 == 'on' ) $ret = 1; return $ret; } function stack_trace() { $stack = debug_backtrace(); foreach( $stack as $elem ) { if( $elem['function'] == 'stack_trace' ) continue; echo $elem['file'].':'.$elem['line'].' - '.$elem['function'].'
'; } } function cms_move_uploaded_file( $tmpfile, $destination ) { global $gCms; $config =& $gCms->GetConfig(); if( !@move_uploaded_file( $tmpfile, $destination ) ) { return false; } @chmod($destination,octdec($config['default_upload_permission'])); return true; } # vim:ts=4 sw=4 noet ?> ts=4 sw=4 noet ?> ON', $CMS_VERSION); define('CMS_VERSION_NAME', $CMS_VERSION_NAME); define('CMS_SCHEMA_VERSION',


What was my mistake?
Frank

Re: Upgrade problem 1.1 to 1.2.3

Posted: Thu Jan 24, 2008 2:13 pm
by alby
fbeyer wrote: I just copied all files from 1.2.3 over my 1.1 installation.
When I open upgrade.php I get this:

& 0100 ) { $owner[] = lang('execute'); } if( $perms & 0040 ) { $group[] = lang('read'); } if( $perms & 0020 ) { $group[] = lang('write'); } if( $perms & 0010 ) { $group[] = lang('execute'); } if( $perms & 0004 ) { $other[] = lang('read'); } if( $perms & 0002 ) { $other[] = lang('write'); } if( $perms & 0001 ) { $other[] = lang('execute'); } return array($owner,$group,$other); } function ini_get_boolean($str) { $val1 = ini_get($str); $val2 = strtolower($val1); $ret = 0; if( $val2 == 1 || $val2 == '1' || $val2 == 'yes' || $val2 == 'true' || $val2 == 'on' ) $ret = 1; return $ret; } function stack_trace() { $stack = debug_backtrace(); foreach( $stack as $elem ) { if( $elem['function'] == 'stack_trace' ) continue; echo $elem['file'].':'.$elem['line'].' - '.$elem['function'].'
'; } } function cms_move_uploaded_file( $tmpfile, $destination ) { global $gCms; $config =& $gCms->GetConfig(); if( !@move_uploaded_file( $tmpfile, $destination ) ) { return false; } @chmod($destination,octdec($config['default_upload_permission'])); return true; } # vim:ts=4 sw=4 noet ?> ts=4 sw=4 noet ?> ON', $CMS_VERSION); define('CMS_VERSION_NAME', $CMS_VERSION_NAME); define('CMS_SCHEMA_VERSION',


What was my mistake?
Ftp failed overwrite your files or broken files
Re-upload whole pack and check for size/date

Alby

[done] Re: Upgrade problem 1.1 to 1.2.3

Posted: Thu Jan 24, 2008 2:53 pm
by fbeyer
Thanks a lot, Alby.

That was my mistake. A problem with FTP.

Frank