upgrade 0.12.1 to 0.13

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
linken_harmy
Forum Members
Forum Members
Posts: 12
Joined: Tue Apr 25, 2006 6:37 am

upgrade 0.12.1 to 0.13

Post 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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: upgrade 0.12.1 to 0.13

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: upgrade 0.12.1 to 0.13

Post 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
linken_harmy
Forum Members
Forum Members
Posts: 12
Joined: Tue Apr 25, 2006 6:37 am

Re: upgrade 0.12.1 to 0.13

Post 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 ;-)
flips

Re: upgrade 0.12.1 to 0.13

Post 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 ...  ;D

--
flips
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: upgrade 0.12.1 to 0.13

Post 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...
Locked

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