[solved] Upgrade problem 1.1 to 1.2.3

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
fbeyer
New Member
New Member
Posts: 5
Joined: Wed Jul 25, 2007 10:19 am

[solved] Upgrade problem 1.1 to 1.2.3

Post 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
Last edited by fbeyer on Thu Jan 24, 2008 2:54 pm, edited 1 time in total.
alby

Re: Upgrade problem 1.1 to 1.2.3

Post 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
User avatar
fbeyer
New Member
New Member
Posts: 5
Joined: Wed Jul 25, 2007 10:19 am

[done] Re: Upgrade problem 1.1 to 1.2.3

Post by fbeyer »

Thanks a lot, Alby.

That was my mistake. A problem with FTP.

Frank
Locked

Return to “[locked] Installation, Setup and Upgrade”