Welcome to the LimeSurvey Community Forum

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

Error 500 while upgrading from 2.x to 3.x

  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169991 by dakis21
I tried the comfortupdate from my last v2 limesurvey (I think it was 2.76) to the last 3.x version, and it went through all the steps without any problems.

At the end of the process it asked me to clear the browser cache and then hit continue, to upgrade the database. I did that, and now all I'm getting is an Error 500, that my site "is currently unable to handle this request."

This happens in the URL mysite.com/index.php/admin/databaseupdate/sa/db

If I try the admin url, it redirects me back to the above url, giving me this error.

Any ideas how I can salvage this?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 10 months ago #170008 by LouisGac
Replied by LouisGac on topic Error 500 while upgrading from 2.x to 3.x
could you please turn debug mode on?
The topic has been locked.
  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #170009 by dakis21
Replied by dakis21 on topic Error 500 while upgrading from 2.x to 3.x
Sure, how do I turn debug mode on? I don't have access to the admincp anymore, and I'm looking at the database tables but don't see anything yet. Is it in the settings table?
The topic has been locked.
  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #170011 by dakis21
Replied by dakis21 on topic Error 500 while upgrading from 2.x to 3.x
Nevermind, I found it and enabled it in my config.php. Now I get this error:

Fatal error: Class 'ls\pluginmanager\PluginBase' not found in /home4/defkalion/netbitsweb.com/survey/plugins/statsPivotTable/statsPivotTable.php on line 11

So obviously I have to somehow disable plugins and it should be fixed hopefully :)
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 10 months ago #170012 by LouisGac
Replied by LouisGac on topic Error 500 while upgrading from 2.x to 3.x
in the file application/config/config.php

you'll find a string at the end of the file saying:
"'debug'=>0,"

replace it by:

"'debug'=>2,"
The topic has been locked.
  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #170013 by dakis21
Replied by dakis21 on topic Error 500 while upgrading from 2.x to 3.x
Yes so it's a problem with that plugin above. How do I disable that plugin or all plugins? I'm looking at the manual but can't find anything yet.
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
5 years 10 months ago #170014 by ollehar
Replied by ollehar on topic Error 500 while upgrading from 2.x to 3.x
Hi,

In your database there's a table called <prefix>_plugins. Set field "active" to 0 for the faulty plugin and LimeSurvey should load correctly.
The following user(s) said Thank You: dakis21
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
5 years 10 months ago #170015 by ollehar
Replied by ollehar on topic Error 500 while upgrading from 2.x to 3.x
NB: In the development branch we've added logic to automatically disable plugins that won't load due to similar errors. We haven't backported this feature to LS3 yet.
The topic has been locked.
  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #170016 by dakis21
Replied by dakis21 on topic Error 500 while upgrading from 2.x to 3.x
Thanks both, I have access to my admincp again :)

I appreciate the assistance!
The following user(s) said Thank You: LouisGac
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170550 by DenisChenu
Replied by DenisChenu on topic Error 500 while upgrading from 2.x to 3.x

dakis21 wrote: Fatal error: Class 'ls\pluginmanager\PluginBase' not found in /home4/defkalion/netbitsweb.com/survey/plugins/statsPivotTable/statsPivotTable.php on line 11

Plugin updated to be 3.0 compatible.
gitlab.com/SondagesPro/ExportAndStats/statsPivotTable

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: dakis21
The topic has been locked.
  • dakis21
  • dakis21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #170564 by dakis21
Replied by dakis21 on topic Error 500 while upgrading from 2.x to 3.x
Thank you for letting me know!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose