[CLOSED not solved]Problem upgrading 1.9.4.2 tot 1.10.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.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

[CLOSED not solved]Problem upgrading 1.9.4.2 tot 1.10.3

Post 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
Last edited by chrisbar on Sun Apr 15, 2012 8:16 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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...
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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?
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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?
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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?
Last edited by chrisbar on Mon Mar 26, 2012 12:57 pm, edited 1 time in total.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post by applejack »

Re: Where can I clean up the Cache as mentioned?

Site admin settings clear server cache.

How did you downgrade?
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post by applejack »

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

And the database backup as well ?
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post by chrisbar »

What folder do you mean with:

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

chgrp apache -R 777 modules uploads (??)
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post 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.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Problem upgrading 1.9.4.2 tot 1.10.3

Post by chrisbar »

Which commandline? I understand that you don't mean the Uploads mdule. I work with FTP.
Locked

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