Page 1 of 2

Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Tue Sep 12, 2006 11:05 pm
by Synchro
I just went through the usual upgrade process, and it appeared to work - the main site was upgraded and operated as expected with the new version. However, as soon as I even look at the admin area, I am greeted by this fatal error:

Code: Select all

Fatal error: Call to undefined method pear_ResultSet::RowCount() in /var/www/html/www.cyprusactive.com/modules/FeedbackForm/classes/Config.class.php on line 93
I rolled it back and tried again and got the same result. So this looks like a problem in FeedbackForm. I have 0.9.12 installed, so I fetched 0.9.14 and tried upgrading to that, but it gives me:

Code: Select all

DTD Version missing or incompatible in the XML file
Looking at the XML I can see that it specifies cmsms 1.0-svn as a minimum version, so I'm not going to be able to upgrade it. How can I work around this?

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 6:00 am
by thumbsucker
My feedback form died as well on this upgrade.  It doesn't show up at all.  Whole business has shut down because of it. :'(

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 8:25 am
by cyberman
Older FeedbackForm versions will not work with 1.0 (cause they are not 1.0-ready). You must delete your version and install new XML version.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 9:19 am
by Synchro
If I do that will my feedback form pages survive? Or will they get deleted along with the module?

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 9:42 am
by Ted
They should be fine.  The system will perform an upgrade of the module when it sees the newer one.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 9:52 am
by cyberman
A database backup (feedbackform tables) could be very helpful for security reasons :) ...

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 10:03 am
by Synchro
I've seen reports of module upgrades being slow - so far the FeedbackForm upgrade has taken over 15 mins.

While I'm looking at it, why are the nusoap and modulemanager plugins not installed as part of the upgrade process? Do I need to install them before upgrading other modules? Why would I need nuSOAP in PHP 5.1?

Also, what's the point of the 'overwrite' checkbox? Don't upgrades automatically deal with replacing earlier versions?

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 11:04 am
by cyberman
Synchro wrote: Do I need to install them before upgrading other modules?
Think would be better cause current ModuleManager lists only v1.0-ready modules.
Why would I need nuSOAP in PHP 5.1?
I'm not the dev and have not checked my thinks but perhaps module does not differents between PHP 4.x and 5.x ...
Also, what's the point of the 'overwrite' checkbox? Don't upgrades automatically deal with replacing earlier versions?
If I'm right it's for downgrades.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 11:22 am
by Synchro
OK, installing the module manager fixed things. After installing it, I could still not do an upgrade to the installed feedbackform module - I had to delete it first (not just uninstall it) as it complained that the uninstalled (but still present) module was installed.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 7:43 pm
by thumbsucker
My Feedback form is busted and doesn't function.  Upgrading to 1 then back down to .13 when my feedback form broke also seems to have nuked my previous customized feedback form.

Not sure what to do now :-(

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Wed Sep 13, 2006 7:55 pm
by cyberman
Reload your database backup :) ...

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Thu Sep 14, 2006 12:00 am
by thumbsucker
What DB backup? :-(

Upgrading to 1.01 also killed my Contact_Form which I'm using as a bandaid right now, so I fear this software immensely now.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Thu Sep 14, 2006 12:46 am
by calguy1000
The release notice explicitly said to make backups, and that there could be problems with some modules.

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Thu Sep 14, 2006 3:24 am
by sydneysunshine
Can someone clarify whether my current forms will remain even after upgrading to xml feedback and cms 1.0.1
If not is there an easy way to copy them from mysql to the new version?

Re: Fatal FeedbackForm error in admin after upgrade from 0.13 to 1.0.1

Posted: Thu Sep 14, 2006 4:23 am
by calguy1000
the database structure hasn't changed so the tables should still be there with no difficulties

I do recommend you do a database backup though.