Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Error 500: Invalid MAC after upgrading from 3 to version 5.

  • audience-ruud
  • audience-ruud's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #251084 by audience-ruud
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.3 (before it was 3.16.0)
Own server or LimeSurvey hosting: Own server
Survey theme/template: default
==================
Hi, 
for one of our clients (WordPress website) we had Limesurvey running inside their WordPress installation by having the folder inside the /public_html folder on the root of the domain. When we started upgrading their PHP version from 7.4 to 8.0 their limeSurvey (v3.16.0) broke and was not compatible with PHP version 8.0. So ofcourse we dove in and fout that version 5.6.3 was compatible with 8.0 and so we upgraded our Limesurvey version by downloading and installing and importing the database. 

However when the client sent out the surveys using the survey URL the error 500: Invalid MAC error appeared in the screen. 
How and why is this happening, and how can we solve this?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #251122 by holch
Not an expert, but that sounds rather like a server / network configuration issue than a Limesurvey issue. But maybe someone else has an idea.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
1 year 1 month ago #251157 by jelo

However when the client sent out the surveys using the survey URL the error 500: Invalid MAC error appeared in the screen. 
How and why is this happening, and how can we solve this?
 
What is the exact error message?
Are you using email server for admin survey notifications?
When the word MAC is part of an error message the encryption libs are causing trouble.
I recommend to reenter the mailserver settings and save. Then check if the PHP extensions in the newer PHP version are the same as before.
And check if surveys are using encrypted answer fields. There might be the wrong key stored in the folder.
Check and compare /application/config/security.php.

www.limesurvey.org/manual/Data_encryption
forums.limesurvey.org/index.php/forum/in...s/135035-invalid-mac
forums.limesurvey.org/forum/installation...er-error-invalid-mac
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose