Welcome to the LimeSurvey Community Forum

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

Error: Extending a theme not working

More
8 months 1 week ago - 8 months 1 week ago #268392 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: 8 months 1 week ago by umrosa.

Please Log in to join the conversation.

More
7 months 2 weeks ago #268532 by DenisChenu
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.

More
7 months 2 weeks ago #268536 by holch
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.

More
7 months 3 days ago #268770 by umrosa

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.

More
7 months 3 days ago #268772 by DenisChenu
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.

More
7 months 11 hours ago #268813 by umrosa

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.

More
7 months 10 hours ago #268819 by DenisChenu

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.

More
7 months 9 hours ago #268827 by umrosa

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:28.85 KB
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
7 months 8 hours ago #268832 by DenisChenu
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.

More
6 months 4 weeks ago #268847 by umrosa

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.

More
6 months 4 weeks ago #268866 by DenisChenu
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