| Post |
|
Guest
| Märt 10:39 pm December 30, 2008
| |
|
|
Please replace the ??? with your data!
[desc]:Hey, I got this fatal error when moving my wordpress to other site.
Plugin could not be activated because it triggered a fatal error. Fatal error: Cannot redeclare cforms_activate() (previously declared in /home/np16923/domains/rockquake.org/public_html/wp-content/plugins/cforms/cforms.php:59) in /home/np16923/domains/rockquake.org/public_html/wp-content/plugins/cforms/cforms.php on line 61
Yes I changed the abspath to current path. Also I changed the database to current path. (with dreamweaver, find and replace.)
Thanks,_
|
|
|
Admin
| Oliver Munich, Germany posts 6237 10:53 pm December 30, 2008
| |
|
|
It appears that this happens after moving cforms. Which may also have corrupted your cforms settings.
When moving, I usually recommend to
- make a backup of the cforms settings (under global-settings)
- install cforms afresh on new server
- restore the old settings
- deactivate and reactivate cforms (important!)
- & (as you mentioned) check abspath.php & js/cforms.js
I can send you v10 which I'm about to release, this I believe will be more 'forgiving' and may work right away.
|
|
|
|
|
Guest
| Märt 11:25 pm December 30, 2008
| |
|
|
Hey,
Thank you very much! I didn't delete my wordpress from the old site, backed the data there… Reset the new one. And it works!
You have made a great plugin! Thanks!
|
|
|
Guest
| Nick 10:28 pm March 9, 2009
| |
|
|
What if you do not have access to the old host settings?
I built a site with a temporary domain name. When the site was finished, I pointed the real current domain to the new host WP was built on. I replace all occurrences in the database of the domain as well as the file root. I get the fatal error mentioned above.
Is there any other way to fix corrupted settings? Or if I reset cforms, is there a way to get my forms and styles from the current (corrupted) settings?
Any suggestions are appreciated.
Nick
|
|
|
Moderator
| Paul Amsterdam, NL posts 421 11:43 pm March 9, 2009
| |
|
|
Or if I reset cforms, is there a way to get my forms and styles from the current (corrupted) settings?
Not that I know of, unless you're very PHP/MySQL savvy and can fix that serialized array..or copy/paste bits and pieces from that array.
P.
|
|
|
|