After overwriting my 1.0.8 installation with 1.1, I get a "site down for maintenance" page and the following error when attempting to access the admin area of the site...
Fatal error: Cannot redeclare cms_mapi_create_permission() (previously declared in /usr/www/users/cnymike/stjameschurch/lib/misc.functions.php:826) in /usr/www/users/cnymike/stjameschurch/lib/module.functions.php on line 27
Is my site hosed now? Any ideas how to fix this?
Fatal error after attempting to upgrade 1.0.8 to 1.1
Fatal error after attempting to upgrade 1.0.8 to 1.1
Last edited by cnymike on Tue Jul 17, 2007 11:04 pm, edited 1 time in total.
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
I am urgently in need of a fix with this.
Is it possible for me to revert back to 1.0.8? Has my database been affected by this do you think?
If I attempt to go to the /install page, the screen says that "All tests passed (at least at a minimum level). Please click the Continue button"
I'm not sure if I should try to continue to step 2 and beyond for fear of hosing my database.
Is it possible for me to revert back to 1.0.8? Has my database been affected by this do you think?
If I attempt to go to the /install page, the screen says that "All tests passed (at least at a minimum level). Please click the Continue button"
I'm not sure if I should try to continue to step 2 and beyond for fear of hosing my database.
Last edited by cnymike on Tue Jul 17, 2007 11:12 pm, edited 1 time in total.
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
You won't hose your database if you uncheck both the database boxes when you enter your database info.
I can't help more than that, sorry. I just upgraded a 1.0.8 to 1.1 and I didn't run into any issues.
I can't help more than that, sorry. I just upgraded a 1.0.8 to 1.1 and I didn't run into any issues.
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
I really need to know what the error is indicating and how to fix it...
Fatal error: Cannot redeclare cms_mapi_create_permission() (previously declared in /usr/www/users/cnymike/stjameschurch/lib/misc.functions.php:826) in /usr/www/users/cnymike/stjameschurch/lib/module.functions.php on line 27
Fatal error: Cannot redeclare cms_mapi_create_permission() (previously declared in /usr/www/users/cnymike/stjameschurch/lib/misc.functions.php:826) in /usr/www/users/cnymike/stjameschurch/lib/module.functions.php on line 27
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
let me guess .. you tried to move 'mv * /mycmsdir/' your new files ? .. try to copy 'cp -R * /mycmsdir/' and then run the update script again.
Hope this helps
Torty
Hope this helps
Torty
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
I was using an ftp client to move the new files into the existing directory.
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
Torty,
I think I finally got it! I'm not a terminal kind of guy and was using ftp to move the files over but I got into the terminal, read up on the cp command and miraculously got the 1.1 files properly overwritten into my installation. I think it worked but need to check a few more things. thanks for responding. I do not think I would have been able to survive in panic mode much longer
Michael
I think I finally got it! I'm not a terminal kind of guy and was using ftp to move the files over but I got into the terminal, read up on the cp command and miraculously got the 1.1 files properly overwritten into my installation. I think it worked but need to check a few more things. thanks for responding. I do not think I would have been able to survive in panic mode much longer

Michael
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
and about the "did the upgrade touch my db", it doesnt matter because the first thing you do when you upgrade is to take a backup
really, the importance of backups cannot be stressed enough.
really, the importance of backups cannot be stressed enough.
Re: Fatal error after attempting to upgrade 1.0.8 to 1.1
Fortunately for me, I had done a backup. However I really don't know how to restore a MySQL database from a backup. So though I took the precaution, I would not have had the skills to restore. I didn't have to but someday I may so I guess it's time to learn how.