MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

new install getting error. #112

Open ramapoughnative opened 5 years ago

ramapoughnative commented 5 years ago

getting module error for ma_cultural_protocol_get_cps_user_can_post_to(). and deprecated errors on front page. Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; backup_file has a deprecated constructor in /home/ramapoug/public_html/education/sites/all/modules/contrib/backup_migrate/includes/files.inc on line 121

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mime_mail has a deprecated constructor in /home/ramapoug/public_html/education/sites/all/modules/contrib/backup_migrate/includes/destinations.email.inc on line 88

What can i do to resolve these issues?

taylor-steve commented 5 years ago

Hello, it sounds like you are probably running some version of PHP 7+. For the install error, I would make sure you are running the most recent version of Mukurtu. We just updated the 2.0 branch to address PHP 7 compatibility issues just over a week ago (https://github.com/MukurtuCMS/mukurtucms/tree/2.0.13.1). If you haven't downloaded it in the last few days, I'd definitely recommend downloading a fresh copy and re-installing.

If you are experimenting with Mukurtu and aren't needing it for immediate production use, you could also consider installing the development branch (https://github.com/MukurtuCMS/mukurtucms/tree/develop). That branch is currently a pre-release version of what will be called Mukurtu 2.1, expected to be released in January. It also contains the PHP 7+ fixes.

As for the "Deprecated" messages, those specific messages should go away with my suggestions above. In general those are notices/warnings not errors. You should be able to filter those out by changing your php.ini file to display errors only.

Let me know if these suggestions don't work for you, or if you have more questions. Thanks.

Steve

ramapoughnative commented 5 years ago

Good Afternoon. Thank you for the reply. Still getting the error. www.mukurtu.ramapoughlenapenation.org Im on PHP 7.2 and used mukurtu 2.0.13.1. Fatal error: Uncaught Error: Call to undefined function ma_cultural_protocol_get_cps_user_can_post_to() in /home/ramapoug/mukurtu.ramapoughlenapenation.org/sites/all/modules/custom/features/ma_digitalheritage/ma_digitalheritage.module:44 Stack trace: #0 /home/ramapoug/mukurtu.ramapoughlenapenation.org/includes/module.inc(957): ma_digitalheritage_node_access('digital_heritag...', 'create', Object(stdClass)) #1 /home/ramapoug/mukurtu.ramapoughlenapenation.org/modules/node/node.module(3028): module_invoke_all('node_access', 'digital_heritag...', 'create', Object(stdClass)) #2 /home/ramapoug/mukurtu.ramapoughlenapenation.org/includes/menu.inc(647): node_access('create', 'digital_heritag...') #3 /home/ramapoug/mukurtu.ramapoughlenapenation.org/includes/menu.inc(937): _menu_check_access(Array, Array) #4 /home/ramapoug/mukurtu.ramapoughlenapenation.org/includes/menu.inc(1522): _menu_link_translate(Array) #5 /home/ramapoug/mukurtu.ramapoughlenapenation.org/includes/menu.inc(1512): _menu_tree_check_access(Array) #6 /home/ramapoug/ in /home/ramapoug/mukurtu.ramapoughlenapenation.org/sites/all/modules/custom/features/ma_digitalheritage/ma_digitalheritage.module on line 44

Any other Suggestions? thank you Steven

ramapoughnative commented 5 years ago

Also wanted to mention i'm on the reclaim hosted site. I'v updated to php 7.2 and i've tried installing with their installatron software and manually thru FTP. both results are the same. I've also tried setting this up on a different domain with a new msql database and received the same error.

taylor-steve commented 5 years ago

Ah if you are on Reclaim, that makes sense. We've been working with Reclaim to get the installer to work with new installs of 2.0.13.1 on their systems. Existing sites that are upgraded to 2.0.13.1 appear to be working fine, but new installs are failing for some reason. I will reply here when we get that resolved. Thanks.

Steve

ramapoughnative commented 5 years ago

Thank you... I was getting worries that I was slipping. Do you know what release does work? I can install the working version and then upgrade when you have a resolution.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Steve Taylor notifications@github.com Sent: Wednesday, December 26, 2018 4:03:37 PM To: MukurtuCMS/mukurtucms Cc: ramapoughnative; Author Subject: Re: [MukurtuCMS/mukurtucms] new install getting error. (#112)

Ah if you are on Reclaim, that makes sense. We've been working with Reclaim to get the installer to work with new installs of 2.0.13.1 on their systems. Existing sites that are upgraded to 2.0.13.1 appear to be working fine, but new installs are failing for some reason. I will reply here when we get that resolved. Thanks.

Steve

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MukurtuCMS/mukurtucms/issues/112#issuecomment-450026045, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGuckzlSBLfUIDEloYz3OwcOJpTN9hmOks5u8-QpgaJpZM4ZdUsu.

taylor-steve commented 5 years ago

You could try 2.0.13.2 (https://github.com/MukurtuCMS/mukurtucms/tree/2.0.13.2). We've made changes to try and fix the issue with running on Reclaim. The Reclaim folks haven't had a chance to add it to their installers yet because we just tagged it today, but if you want to try and update via FTP you could. Let me know how it goes if you do. Thanks.

ramapoughnative commented 5 years ago

Thank you Steve... I will try it today..

On Sun, Dec 30, 2018, 23:47 Steve Taylor <notifications@github.com wrote:

You could try 2.0.13.2 ( https://github.com/MukurtuCMS/mukurtucms/tree/2.0.13.2). We've made changes to try and fix the issue with running on Reclaim. The Reclaim folks haven't had a chance to add it to their installers yet because we just tagged it today, but if you want to try and update via FTP you could. Let me know how it goes if you do. Thanks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MukurtuCMS/mukurtucms/issues/112#issuecomment-450607971, or mute the thread https://github.com/notifications/unsubscribe-auth/AGuck_ktBVPV5rXqbWkLWd31dBUUl2BRks5u-ZbvgaJpZM4ZdUsu .

taylor-steve commented 5 years ago

Great. Reclaim just tested it and they say it works, so you could check if it's available for you in the Reclaim control panel. Thanks.