Unterminated string constant script error since 2.3.1.0

Hi,
Since I upgraded core and framework to 2.3.1.0 I get a script error when editing extensions in IE7.

Line: 811
Char: 194
Error: Unterminated string constant
Code: 0
URL: http://192.168.1.16/admin/config.php?type=setup&display=extensions&extdisplay=1000&skip=0

Thanks,
C.

I can’t reproduce it on FF on my system? Do you get an error in FF also? Can you put a screenshot somewhere to get a better picture of the issue?

Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx

Sorry, I really struggle with these new boards…

I meant to say I don’t see the problem in FF. In IE you either get a popup or a script error triangle on the status bar depending on your configuration.

Screenshot: http://s236.photobucket.com/albums/ff302/habile1/?action=view&current=unterminate.jpg

C.

there is no way I will be able to reproduce your configuration to see what is on ‘line 811.’ You are going to have to view the source of the page, find line 811 on the source of what is in your browser, and then let us know what is there so we can really see what it is complaining about.

Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx

ok, try this on /var/www/html/admin/modules/core/functions.inc.php

Index: functions.inc.php
===================================================================
--- functions.inc.php   (revision 5137)
+++ functions.inc.php   (working copy)
@@ -2926,7 +2926,7 @@
                // Some errors for the validation bits
                $msgInvalidDTMFMODE = _("Please enter the dtmfmode for this device");
                $msgInvalidChannel = _("Please enter the channel for this device");
-               $msgConfirmSecret = _("You have not entered a Secret for this device, although this is possible it is generally bad practice to not assign a Secret to a device.\n\nAre you sure you want to leave the Secret empty?");
+               $msgConfirmSecret = _("You have not entered a Secret for this device, although this is possible it is generally bad practice to not assign a Secret to a device. Are you sure you want to leave the Secret empty?");
                $msgInvalidSecret = _("Please enter a Secret for this device");
 
                // zap

And file a bug in the tracker.

Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx

Yep - that sorted it, thanks Philippe. Sorry I was a little lazy on that one, I could have worked it out but been v. busy :frowning: – I’ll file a bug.