Page 1 of 3

[CLOSED not solved]Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Fri Mar 23, 2012 8:11 am
by chrisbar
I have just tried to upgrade tot version 1.10.3 burt at step 6 of the upgrade the following message appeared.

Fatal error: Class CMSForm may not inherit from final class (CmsObject) in /home/users/r/e/redeag/www/modules/CMSForms/lib/classes/CMSForm.class.php on line 374

When trying to login as administrator I get the following error:

Fatal error: Cannot override final method CMSModule::GetModulePath() in /home/users/r/e/redeag/www/modules/Captcha/lib/classes/module/class.captcha.php on line 1048

What went wrong and how should I handle this?

In the meantime I have brought my system back to 1.9.4.2 and this works again, but I would like to upgrade of curse so maybe someone knows how to coop with the problem mentioned.

Thanks for the help Chris

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Sat Mar 24, 2012 8:25 pm
by Dr.CSS
Most likely CMSForms is not ready for 1.10.*, rename it to get it to not try installing, for captcha make sure it is the latest version if it is then uninstall it just before upgrade after upgrade install it again...

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Sun Mar 25, 2012 12:57 am
by applejack
Upgrade to 1.9.4.3 first then upgrade all modules before upgrading to 10.1. Check if possible which modules may not be 1.10+ compatible.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 7:33 am
by chrisbar
Ok I have upgraded tot 1.9.4.3 first; no problme. The I tried to ugrade to 1.10.3; everything fine till step 6. No error notification, but the process of upgrading seems to stop. So it sticks at step 6. What could this mean or what to do?

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 9:25 am
by chrisbar
I have downgraded to 1.9.4.3 again. Seems to work but now I discver that my whole menumanager has disappeared? (ergo: no menu in my website anymore ??? ) It becomes abracadabra now. Any one who has experienced this or knows what has happened?

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 10:15 am
by applejack
If it sticks let it run for a while or try again, same happened to me. For menu manager check the folder permissions and try clearing the site cache to see if that makes any difference. Also check your apache error logs.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 12:18 pm
by chrisbar
What should the permissions be of which folder?

In the meanwhile I went back to reinstall my backup 1.9.4.2 Now becomes even more crazy. When I open the admin panel and I open Extensions (uitbreidingen), I miss my Module Manager as well. When I click on 'Modules' and then hover over Extensions I see my Module Manager again as well as I see The menucontrol (menubeheer) in the Layout tab again when I hover over this tab. When I try to open the Menucontrol tab It goes back to the startpanel and when hovering again the Menu Manager is gone again..... In the live site my menus are still missing.
Heeeeellllp ???

Where can I clean up the Cache as mentioned?

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 12:47 pm
by applejack
Re: Where can I clean up the Cache as mentioned?

Site admin settings clear server cache.

How did you downgrade?

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 1:14 pm
by chrisbar
Site Admin settings clear server cache (server buffer) has been emptied now.

I just copied my whole backup back to the server to downgrade.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 1:44 pm
by applejack
Re: I just copied my whole backup back to the server to downgrade.

And the database backup as well ?

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 2:59 pm
by chrisbar
Yes, but I believe I have restored everything now. I did a re-upgrade with 1.9.4.2. Then this did not make any difference. In the Module tab I saw that the Menu Manager version was 1.7.7 the xml version on the right said in fact this should be 1.7.6. I deinstalled Menu Manager en Re-installed again and there was my menu back.

Stil of course I'm trying to upgrade to 1.10.3 through 1.9.4.3, but I'm a bit nervous now.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 3:13 pm
by applejack
Upgrade all modules to the latest the version of cms can take then upgrade to 1.9.4.3 and then upgrade the modules again.

After each upgrade to the core
chmod -R 777 modules uploads
chgrp apache -R 777 modules uploads

Upgrade to 10.1 and then use the diff files to get to the latest and do the same permissions above.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 5:58 pm
by chrisbar
What folder do you mean with:

chmod -R 777 modules uploads (the folder Module/uploads?)

chgrp apache -R 777 modules uploads (??)

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 7:17 pm
by applejack
If you are doing this on the command line

chmod -R 777 modules uploads

will do both module and uploads. I don't mean the Uploads module.

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Posted: Mon Mar 26, 2012 8:08 pm
by chrisbar
Which commandline? I understand that you don't mean the Uploads mdule. I work with FTP.