Welcome to the LimeSurvey Community Forum

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

Error: Extending a theme not working

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 2 weeks ago - 1 month 2 weeks ago #268392 by umrosa
Error: Extending a theme not working was created by umrosa
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.8.2+241203
Own server or LimeSurvey hosting: own server
Survey theme/template:
==================
I tried extending the Fruity 2023 theme using the theme editor. After chosing the extension's name (mosafromfruity) and submitting, I get a page that's titled "PHP Warning" with the message "DOMDocument::load(): I/O warning : failed to load external entity "/home/projects/qss/limesurvey6_test/upload/themes/survey/mosafromfruity/config.xml"".
I've attached a screenshot of the full page (I've tried at least - doesn't seem to work. any advice?).
The same page is now displayed every time I try opening the theme editor.
Can anyone tell me what's going on and how I can fix it?
Thanks! 
Last edit: 1 month 2 weeks ago by umrosa.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 weeks 6 days ago #268532 by DenisChenu
Replied by DenisChenu on topic Error: Extending a theme not working
1. update to 6.10
2. Report the issue (maybe PHP version related)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 6 days ago #268536 by holch
Replied by holch on topic Error: Extending a theme not working
No screenshot.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 4 days ago #268770 by umrosa
Replied by umrosa on topic Error: Extending a theme not working

1. update to 6.10
2. Report the issue (maybe PHP version related)
 
1. I tried updating - didn't help. Instead, I have reverted back to v6.3.7 - in this version, it's working.
2. will do

holch post=268536 userid=5154No screenshot.
 

yeah, when I try uploading an image, I get "Upload failed".

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 week 4 days ago #268772 by DenisChenu
Replied by DenisChenu on topic Error: Extending a theme not working
I try again on last version : no issue.

Maybe :
1. Check if upload/themes/survey/mosafromfruity/ directory is created
2. Permission in this directory

Uploading file work ?

Can you check with debug moxde before report the issue (you can put the HTML file with debug mode when report).
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #268813 by umrosa
Replied by umrosa on topic Error: Extending a theme not working

Maybe :
1. Check if upload/themes/survey/mosafromfruity/ directory is created
2. Permission in this directory
 
1. yes, the directory is created
2. the owner of this directory is www-data and has read, write, execute permission

Uploading file work ?

Can you check with debug moxde before report the issue (you can put the HTML file with debug mode when report).

what do you mean with "uploading file"? what kind of file upload?

Not sure what you mean by "debug mode", but I set debug=2 in config.php. this didn't add any information to the page with the PHP warning.
since I don't have access to the php log file, I cannot tell you if there is any information in there.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 week 1 day ago #268819 by DenisChenu
Replied by DenisChenu on topic Error: Extending a theme not working

Not sure what you mean by "debug mode", but I set debug=2 in config.php. this didn't add any information to the page with the PHP warning.

 
You have the exact place of the warning no ?
You can upload the HTML file produced

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #268827 by umrosa
Replied by umrosa on topic Error: Extending a theme not working

You have the exact place of the warning no ?
You can upload the HTML file produced
 
I get the warning when I first try extending the theme "Fruity Twentythree" and then everytime I try opening the Theme Editor via Menu (Configuration > Advanced > Themes)

I have attached the html-File of the warning page (had to rename it to txt to be able to upload it) 

File Attachment:

File Name: PHP_warnin...heme.txt
File Size:29 KB
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 week 1 day ago #268832 by DenisChenu
Replied by DenisChenu on topic Error: Extending a theme not working
I see you report the issue :you have the config.xml file in this directory ?

Ouos : ;/home/projects/qss/test_ls6.10/themes/survey/fruity_twentythree/config.xml

This directory is readable (executable) by www-data ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 21 hours ago #268847 by umrosa
Replied by umrosa on topic Error: Extending a theme not working

I see you report the issue :you have the config.xml file in this directory ?

Ouos : ;/home/projects/qss/test_ls6.10/themes/survey/fruity_twentythree/config.xml

This directory is readable (executable) by www-data ?
yes, the file exists at that location. www-data has read permission for the file, read and execute permission for the directory

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 week 17 hours ago #268866 by DenisChenu
Replied by DenisChenu on topic Error: Extending a theme not working
No idea here :(((

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose