Page 1 of 1
upgrade from 11.2 to 12.1 didnt go so well
Posted: Tue Apr 04, 2006 12:14 am
by dirtywhitellama
Well, I backed up my database and installed 0.12.1 (uploaded all the files and then ran the update.php). Once I set the permissions correctly in config, update.php worked fine, no errors, etc. updated my schema (what is that?) from 14 to 18, performed some other changes, told me it should be working fine now.
OK.
So I click to view my page, and I get this:
Code: Select all
Fatal error: Cannot redeclare class cmsmailer in /home/hisbodyl/public_html/modules/CMSMailer/CMSMailer.module.php on line 35
I've done a brief search of the forums but couldn't find any solutions specific to my problem, although it seems lots of people are having issues with this upgrade. Are the server requirements different for 12.1 than 11.2?
Anyway, anyone have any suggestions? I think I could, if necessary completely remove cmsms from my site (although I have lots of extra miscellenous files around because the pre-cmsms site is still the one that is in use and will probably continue to be around as a backup) and then put a fresh install of 12.1. Would that be the place to start or is there something else I can try first? I'd have to re-setup all my modules and everything.
(By the way, I tried commenting out the line in question in the module, only to be given another error message when the class wasn't defined

)
Unfortunately I was hoping to do some work on the site and menus and such but I am pretty much halted until I can get this resolved.
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Tue Apr 04, 2006 12:37 am
by calguy1000
try upgrading your modules as well, older versions of feedbackform had an embedded phpmailer class, that cmsmailer also uses. Later versions of feedbackform uses the cmsmailer module, which removes the redundancy.
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Tue Apr 04, 2006 4:03 am
by dirtywhitellama
I don't even have Feedback form as far as I can tell, but I'll upgrade CMSmailer and see what happens.
Edit: nevermind, I have the most recent already. But I will check whether any of my other modules have upgrades available.
Edit again:
I have the most recent versions of everything available, except where the most recent version requires 12-beta2, in which case I have the next most recent.
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Wed Apr 05, 2006 3:57 am
by dirtywhitellama
Well the run down is I cleaned the server off and reinstalled CMSMS and it was working beautifully. Then I put the CMSMailer module in and got the same error.
Easy fix: delete CMSMailer.
But now how do I send mail?
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Fri Apr 07, 2006 4:51 pm
by westonjeff
Did you reinstall version 12 or go back to 11.2 ?
Can you point me to methods for reinstalling? I'm having a hard time getting the Radio Roster to work with 12 but it works fine with 11.2.
Thanks!
12 or go back to
dirtywhitellama wrote:
Well the run down is I cleaned the server off and reinstalled CMSMS and it was working beautifully. Then I put the CMSMailer module in and got the same error.
Easy fix: delete CMSMailer.
But now how do I send mail?
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Fri Apr 07, 2006 6:18 pm
by dirtywhitellama
I'm running 12.1 now.
To reinstall I just deleted all the folders and files that cms puts in, and then reuploaded and started over. If you've already changed your database you may have to go back to a backup though, I'm not sure if 12.1's database will work with 11.2 or not. Also, be sure you don't allow it to create the data tables as that will delete all of your content!
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Fri Apr 07, 2006 7:22 pm
by westonjeff
I followed instructions (backed everything up, but did noit drop existing tables), overwrote existing cmsms folder, ran the upgrade.php script, and never was asked if I want to overwrite tables.
Site is online, and my goal of getting Radio Roster to the a "calendar" is working.
But, not without problems -- files are rendering extremely SLOWLY and Radio Roster only displays "Saturday" across top calendar row.
Any suggestions? Should I drop existing tables and restore backups or
TIA
dirtywhitellama wrote:
I'm running 12.1 now.
To reinstall I just deleted all the folders and files that cms puts in, and then reuploaded and started over. If you've already changed your database you may have to go back to a backup though, I'm not sure if 12.1's database will work with 11.2 or not. Also, be sure you don't allow it to create the data tables as that will delete all of your content!
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Fri Apr 07, 2006 8:30 pm
by dirtywhitellama
Ive never used either the calendar or radio roster myself. Maybe somebody else can help you, you might want to start your own thread about it. I dont have any ideas. :/
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Sat Apr 08, 2006 2:58 pm
by Ted
Might have to get a hold of SjG after the weekend. Though, your best bet might be to restore your db and file backups and use 0.11.2 until it can be determined how well radio roster works with 0.12.1. Maybe set it up in a test environment and see.
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Sat Apr 08, 2006 7:17 pm
by miguel
(I'm not quite sure if I should have started a new thread for this)
Since my upgrade wasn't successful, I started from scratch and reuploaded all files. The old database tables were re-written (that was the only way to get it working) and then I reinstalled a backup of my database. Apparently, everything's fine, everything works smooth except when I browse through the pages of my site. The firs page loads okay, but then I get a message from the browser, which translates roughly into "the redirections limit for this URL has been exceeded. It's not possible to load the requested page. This may be caused by the cookies being blocked" (sorry, I'm translating from Spanish, so I hope it makes sense).
Could it be that my former version 11.2 database is not compatible with version 12.1? Can anyone throw some light?

Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Sat Apr 08, 2006 7:33 pm
by dirtywhitellama
I know when I upgraded from 11.2 to 12.1 it did tell me it was upgrading something in my database, called a "schema". I don't know whether you can manually upgrade this but I think it does have to be upgraded to work with 12.1. It upgraded mine from 14 to 18 if that helps.
Re: upgrade from 11.2 to 12.1 didnt go so well
Posted: Sun Apr 09, 2006 8:26 pm
by miguel
Thanks, Dirtywhitellama. In the end, it was just a matter of turning off friendly URLs. Now it works like a charm, despite using the old database (of my former Fiji version).
