- Posts: 18
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Sudden 500 error for the theme section of the admin panel
- domsson
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago - 5 years 4 months ago #177769
by domsson
Sudden 500 error for the theme section of the admin panel was created by domsson
LimeSurvey was up and running just fine until a couple of minutes ago. I was working on a theme via the Admin panel. I had just edited some styles in "custom.css" and then clicked on "theme.css" in the menu. That's when I got a 500 Server error. Ever since then, all attempts to get into the Theme section (even the page that lists the available themes) is throwing the 500 error. All other parts of the admin panel (as well as the frontend) still work fine. The error reads:
I'm also logged in via SSH and have edited the config.xml file of the theme there, plus added "force_xmlsettings_for_survey_rendering" to the config.php a while before. However, none of these changes were immediately before I started getting the 500 error.
I'm trying to figure out what is causing the error. Any hints / pointers in the right direction? Anything I could try?
Version 3.14.11+180926
Code:
Call to a member function xpath() on null
I'm also logged in via SSH and have edited the config.xml file of the theme there, plus added "force_xmlsettings_for_survey_rendering" to the config.php a while before. However, none of these changes were immediately before I started getting the 500 error.
I'm trying to figure out what is causing the error. Any hints / pointers in the right direction? Anything I could try?
Version 3.14.11+180926
Last edit: 5 years 4 months ago by domsson.
The topic has been locked.
- domsson
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 4
5 years 4 months ago - 5 years 4 months ago #177773
by domsson
Replied by domsson on topic Sudden 500 error for the theme section of the admin panel
I found the issue. In the theme that I was working on, I introduced an error in the config.xml. I doubled the "metadata" end tag. Lesson learned: an error in a theme's config.xml can bring down the whole theme backend.
Hopefully this will help someone in the future.
PS: How do I mark a thread as solved?
Hopefully this will help someone in the future.
PS: How do I mark a thread as solved?
Last edit: 5 years 4 months ago by domsson.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 4 months ago #177775
by holch
You don't.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Sudden 500 error for the theme section of the admin panel
PS: How do I mark a thread as solved?
You don't.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 years 4 months ago #177790
by DenisChenu
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.
Replied by DenisChenu on topic Sudden 500 error for the theme section of the admin panel
You can report it at feature request, maybe we must test if xml is valid
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 topic has been locked.