- Posts: 11655
- Thank you received: 2740
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Unable to rename templates/themes - Event 304 in web logs
- Marcike_247436
- Topic Author
- Visitor
3 years 2 months ago - 3 years 2 months ago #211583
by Marcike_247436
Unable to rename templates/themes - Event 304 in web logs was created by Marcike_247436
Version -3.25.9+210125
We are unable to rename templates/themes. It will result in an error saying we don't have the permissions to do so.
Along with this if we choose all themes for permissions it will revert.
I have checked all file permissions and didn't see any problems there.
HTTP error during rename -POST schemehttpshostIPADDRESSfilename/index.php radmin/themes/sa/templaterename AddressIPADDRESS:443Status302FoundVersionHTTP/2Transferred31.93 KB (31.57 KB size)Referrer Policyno-referrer-when-downgrade
I have also experienced where a new template can be renamed but once it's renamed there is a message that it can't be found.
This is referenced in an older fix in 2.05 -https://bugs.limesurvey.org/view.php?id=8861. I experience the same thing.
We are unable to rename templates/themes. It will result in an error saying we don't have the permissions to do so.
Along with this if we choose all themes for permissions it will revert.
I have checked all file permissions and didn't see any problems there.
HTTP error during rename -POST schemehttpshostIPADDRESSfilename/index.php radmin/themes/sa/templaterename AddressIPADDRESS:443Status302FoundVersionHTTP/2Transferred31.93 KB (31.57 KB size)Referrer Policyno-referrer-when-downgrade
I have also experienced where a new template can be renamed but once it's renamed there is a message that it can't be found.
This is referenced in an older fix in 2.05 -https://bugs.limesurvey.org/view.php?id=8861. I experience the same thing.
Last edit: 3 years 2 months ago by Marcike_247436. Reason: update
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
3 years 2 months ago #211585
by holch
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 Unable to rename templates/themes - Event 304 in web logs
First of all, the templates/themes that come with Limesurvey (Standard Themes) should not be renamed. If you want to create a new theme or give it a different name, copy the theme. The themes that come with LS should stay untouched.
Then, check if the problem persists, have a look at the folder permissions and if they are set correctly (as requested in the installatin description in the manual here). Some folder need specific rights.
Then, check if the problem persists, have a look at the folder permissions and if they are set correctly (as requested in the installatin description in the manual here). Some folder need specific rights.
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.
- Marcike_247436
- Topic Author
- Visitor
3 years 2 months ago #211591
by Marcike_247436
Replied by Marcike_247436 on topic Unable to rename templates/themes - Event 304 in web logs
The Standard Themes are untouched.
The templates/themes in question were imported and not the same as the standard themes. If I take a built in theme and extend it I'm able to rename it once. Then it will act the same when renamed as the other imported templates/themes that we are using, meaning they will exhibit odd behavior when being renamed. It will say it doesn't exist or I don't have permissions.
The workaround right now is to extend any theme and then rename it. Using the rename button doesn't work.
I'll double check the folder permissions but I have done that a few times now.
Thanks!
The templates/themes in question were imported and not the same as the standard themes. If I take a built in theme and extend it I'm able to rename it once. Then it will act the same when renamed as the other imported templates/themes that we are using, meaning they will exhibit odd behavior when being renamed. It will say it doesn't exist or I don't have permissions.
The workaround right now is to extend any theme and then rename it. Using the rename button doesn't work.
I'll double check the folder permissions but I have done that a few times now.
Thanks!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 2 months ago #211597
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 Unable to rename templates/themes - Event 304 in web logs
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.
- Marcike_247436
- Topic Author
- Visitor
3 years 2 months ago #211629
by Marcike_247436
Replied by Marcike_247436 on topic Unable to rename templates/themes - Event 304 in web logs
I enabled debug mode in PHP. I'm not seeing any errors.
I receive this message when attempting a rename -
Template could not be renamed to 'test_theme'. Maybe you don't have permission.
I receive this message when attempting a rename -
Template could not be renamed to 'test_theme'. Maybe you don't have permission.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 2 months ago #211644
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 Unable to rename templates/themes - Event 304 in web logs
If you export and import ?
Can you imlport ilmage in survey ressources ?
Can you imlport ilmage in survey ressources ?
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.