When I hit save the page refreshes and I get the form back empty. $conf['locale_custom_strings_en'] is not overidden in settings.php. I've tried to replace "The following provides a quick and easy way of replacing text.", but it is not replaced, so nothing is saved. What can I do to locate the problem?

Comments

cbrody’s picture

I have a similar issue, in that I can't save any overrides. I get the message "Your changes have been saved." but nothing is actually saved.

chris-cmfi’s picture

+1

zincdesign’s picture

Same here.

williammikewhite’s picture

please take a look at your settings.php file... here is an example of mine.

$conf["locale_custom_strings_en"] = array(
"string to be replaced" => "replaced string","another one to replace" =>"its replaced"
);

zincdesign’s picture

Thanks for the reply williammikewhite.

Do you have to edit the settings.php file in order for this module to work? I didn't see this in the documentation and I am sure I've used this module before without having to do so.

vitaleg’s picture

--

jasonabc’s picture

Priority: Normal » Major

Getting this also. Hit save, it says it saved successfully, but nothing is there. Agree with #5 - if you need to edit settings.php for this module to work why isn't this mentioned anywhere?? Bumping to major.

RobLoach’s picture

Status: Active » Needs review

How's the Troubleshooting section on http://drupal.org/project/stringoverrides ? If you provide any written docs, I'd be more than happy to place them somewhere.

henrikdelphin’s picture

I had a slight variation on this problem; it just wouldn't save anything. I got no messages, when I hit save, the page reloaded and the strings were back to whatever they had been before I edited them.

For some seemingly magic reason the strings were saved after I removed "overlay=" from the URL, and viewed the string override page at www.mysite.com/admin/config/regional/stringoverrides, instead of as an overlay to another page on my site.

I don't know if this is a solution to the bug posted here, but I'm posting it anyway, because this issue listing is the best hit on google for searches related to string overrides save problems, and it might be a solution for someone else too.

RobLoach’s picture

Thanks, added a note about Overlay to the project page too. Think there's anything else we should add before setting this issue to fixed? Thanks again!

inventlogic’s picture

Got this bug on two sites using the overlay but not on a 3rd site.

I can confirm not using the overlay lets you save the String Overrides.

phire’s picture

Version: 7.x-1.x-dev » 7.x-1.8

I'm getting the same bug even without "overlay=", manually editing settings.php for now.

RobLoach’s picture

I am not putting any code into this module that has to do with hand-hold Overlay. If anything, I'd recommend removing Overlay entirely #2088121: Remove Overlay.

pmichelazzo’s picture

I'm using the 7.x-1.8+4-dev version and I can't save the strings too.

Also, my #conf['locale_custom_strings_en'][''] = array(.. is commented.

Any clue about this issue?

Thanks

RobLoach’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.