Page 1 of 1
upgrade 0.12.1 to 0.13
Posted: Fri May 26, 2006 12:15 am
by linken_harmy
hi everyone. i upgraded from 12 to 13 as described in the documentation.
* make ftp backup
* make DB backup
* copy new files to ftp and overwrite everything
* goto ../install/upgrade.php
All that worked i hope / think
database switched to "scheme 19" config is up to date no moduls need update
but when going to the cms_site i receive the following error
Fatal error: Call to undefined function: cms_calculate_url() in /is/htdocs/../
www.web..../altech/index.php on line 102
I don't know what is wrong with it. Could it be that something is missing (like a file or sth... ?)
I would be glad about any help...
Re: upgrade 0.12.1 to 0.13
Posted: Fri May 26, 2006 1:04 am
by Dr.CSS
did you set the config.php CHMOD before upgrade.... assuming you set it back after install of 12...
not sure it will help just a thought...
did you make any changes to the config.php for clean urls
mark
Re: upgrade 0.12.1 to 0.13
Posted: Fri May 26, 2006 7:18 am
by tsw
Are you sure that every file got overwritten?
cms_calulate_url() should be in lib/misc_functions.php if its not, try uploading all files again
Re: upgrade 0.12.1 to 0.13
Posted: Fri May 26, 2006 11:44 pm
by linken_harmy
all files were overwritten. i looked up the code on the error line. it was an access denied error for the cache directory.. the strange thing is, that the ftp-program has shown the chmods as "000" what does not make sense ... i just set the chmod of "Cache" to 777 and then it worked.. don't know what happened to the chmod but after changing it and cleaning the cms cache (administrator - global settings) it worked...
a hint for everyone...
make backups of everything in any case. a secure method to upgrade is just to make a clean install of the whole system. i just could set my cms to 0.13 with making the whole ftp empty and then installing new 0.13 without upgrading... but this could be just a solution for those who can't work it out like me in any other way... actually i don't know exactly why some parts of the cms were broke but now it works

Re: upgrade 0.12.1 to 0.13
Posted: Wed May 31, 2006 5:07 pm
by flips
Yes! Full backups is a must.
I had similar problems to this problem reported here. I did download the .tar.gz file and unpack (on my server) and then I did a mv of the files. "mv" had trouble replacing directories and failed. So the trick was to do a "cp -r" over the existing files and then clear the cache under "Site Admin -> Global Settings".
Maybe the doc/howto should have an entry saying how to do it if you don't use ftp or something to upload files. Or maybe unix heads like myself should know better than to try mv ...
--
flips
Re: upgrade 0.12.1 to 0.13
Posted: Wed May 31, 2006 5:53 pm
by Dr.CSS
would be nice to know what you are talking about mv cp -r ...
you can make install instructions on the Documentation pages to help other unix heads....
use the same login as the forum...