Page 1 of 1
[RESOLVED] Problem with scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 3:16 pm
by CrlyWrly
I have looked everywhere in the forums and Noscript FAQ and allowed everything I can work out how to allow but I still can't fix this.
Maybe it is an ABE thing that I have tried to understand but can't ;-/
I have checked that this is a Noscript issue by disabling Noscript - everything works fine with Noscript disabled.
With Noscript enabled, I can log in to my admin area on Limeservice but once I get there I can use some but not all of the links to different pages that control settings.
I have whitelisted everthing I can find associated with Limeservice and allowed everything in the options for whitelisted sites.
I do not get any Noscript warnings when I select the "dead" links - they are just dead and nothing at all happens.
Example of a link that works - it opens this page, ie. it would if I had put in my real domain name and you had my login details:
Code: Select all
http://my-real-domain-name-goes-here.limequery.com/admin/admin.php?action=templates
Example of a link that does not work - nothing happens:
Code: Select all
http://my-real-domain-name-goes-here.limequery.com/admin/admin.php?action=globalsettings
I would be very grateful for some advice about how to fix this so that all the links are allowed.
Best wishes,
Liz
Re: Difficulty allowing scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 4:13 pm
by Giorgio Maone
Extremely strange.
Could you send me the HTML source (right click > View Page Source) for that page?
Even better would be having temporary credentials to check it live (my email is on
http://maone.net )
Also, does it happen on a clean
profile with just NoScript installed?
Re: Difficulty allowing scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 4:37 pm
by CrlyWrly
Hi Giorgio,
Thank you very much for replying so quickly!
I cannot see a way to add other users but I will check that out.
I have not tried a clean profile with just NoScript installed.
This is the source code of the admin page with "my-domain-name" substituted for the real domain name (the "groups" mentioned are groups of questions, not groups of people):
Code: Select all
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://my-domain-name.limequery.com/admin/scripts/tabpane/js/tabpane.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/scripts/jquery/jquery.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/scripts/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/scripts/jquery/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/scripts/jquery/jquery.qtip.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/scripts/jquery/jquery.notify.js"></script>
<script type="text/javascript" src="http://my-domain-name.limequery.com/admin/scripts/admin_core.js"></script>
<title>lime and salt</title>
<link rel="stylesheet" type="text/css" media="all" href="http://my-domain-name.limequery.com/admin//styles/default/tab.webfx.css " />
<link rel="stylesheet" type="text/css" media="all" href="http://my-domain-name.limequery.com/scripts/jquery/css/start/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="http://my-domain-name.limequery.com/admin/styles/default/printablestyle.css" media="print" />
<link rel="stylesheet" type="text/css" href="http://my-domain-name.limequery.com/admin/styles/default/adminstyle.css" />
<link rel="shortcut icon" href="http://my-domain-name.limequery.com/admin/favicon.ico" type="image/x-icon" />
<link rel="icon" href="http://my-domain-name.limequery.com/admin/favicon.ico" type="image/x-icon" />
</head>
<body>
<script type='text/javascript'>
var userdateformat='dd.mm.yy';
var userlanguage='en';
</script><div class='maintitle'>lime and salt</div>
<div id='wrapper'><div class='menubar'>
<div class='menubar-title ui-widget-header'>
<div class='menubar-title-left'>
<strong>Administration</strong> -- Logged in as: <strong><a href="#" onclick="window.open('admin.php?action=personalsettings', '_top')" title="" >my-domain-name <img src='http://my-domain-name.limequery.com/images/profile_edit.png' name='ProfileEdit' alt='Edit your personal preferences' /></a></strong>
</div>
</div>
<div class='menubar-main'>
<div class='menubar-left'>
<a href="#" onclick="window.open('admin.php', '_top')" title=""><img src='http://my-domain-name.limequery.com/images/home.png' name='HomeButton' alt='Default administration page' /></a>
<img src='http://my-domain-name.limequery.com/images/blank.gif' alt='' width='11' />
<img src='http://my-domain-name.limequery.com/images/seperator.gif' alt='' />
<a href="#" onclick="window.open('admin.php?action=editusers', '_top')" title="" ><img src='http://my-domain-name.limequery.com/images/security.png' name='AdminSecurity' alt='Create/edit users' /></a><a href="#" onclick="window.open('admin.php?action=editusergroups', '_top')" title="" ><img src='http://my-domain-name.limequery.com/images/usergroup.png' alt='Create/edit groups' /></a>
<a href="#" onclick="window.open('admin.php?action=globalsettings', '_top')" title="" ><img src='http://my-domain-name.limequery.com/images/global.png' name='GlobalSettings' alt='Global settings' /></a><img src='http://my-domain-name.limequery.com/images/seperator.gif' alt='' border='0' hspace='0' />
<a href="#" onclick="window.open('admin.php?action=checkintegrity', '_top')" title=""><img src='http://my-domain-name.limequery.com/images/checkdb.png' name='CheckDataIntegrity' width='40' height='40' alt='Check data integrity' /></a>
<a href="#" onclick="window.open('admin.php?action=listsurveys', '_top')" title="" >
<img src='http://my-domain-name.limequery.com/images/surveylist.png' name='ListSurveys' alt='List surveys' /></a><a href="#" onclick="window.open('admin.php?action=dumpdb', '_top')" title="">
<img src='http://my-domain-name.limequery.com/images/backup.png' name='ExportDB' alt='Backup entire database' /></a>
<img src='http://my-domain-name.limequery.com/images/seperator.gif' alt='' border='0' hspace='0' />
<a href="#" onclick="window.open('admin.php?action=labels', '_top')" title="">
<img src='http://my-domain-name.limequery.com/images/labels.png' name='LabelsEditor' alt='Edit label sets' /></a>
<img src='http://my-domain-name.limequery.com/images/seperator.gif' alt='' border='0' hspace='0' />
<a href='admin.php?action=templates' title="" ><img src='http://my-domain-name.limequery.com/images/templates.png' name='EditTemplates' title='' alt='Template editor' /></a>
</div><div class='menubar-right'><span class="boxcaption">Surveys:</span><select onchange="window.open(this.options[this.selectedIndex].value,'_top')">
<option selected='selected' value=''>Please choose...</option>
<optgroup label='Inactive' class='inactivesurveyselect'>
<option style="font-weight: bold;" value='admin.php?sid=36725'>CM AAC Competencies Project Working Group - P...</option>
</optgroup></select>
<a href="#" onclick="window.open('admin.php?action=newsurvey', '_top')"title="" ><img src='http://my-domain-name.limequery.com/images/add.png' name='AddSurvey' title='' alt='Create, import, or copy a survey' /></a>
<img src='http://my-domain-name.limequery.com/images/seperator.gif' alt='' border='0' hspace='0' /><a href="#" onclick="window.open('admin.php?action=logout', '_top')" title="" ><img src='http://my-domain-name.limequery.com/images/logout.png' name='Logout' alt='Logout'/></a><a href="http://docs.limesurvey.org" target='_blank' title="" ><img src='http://my-domain-name.limequery.com/images/showhelp.png' name='ShowHelp' alt='LimeSurvey online manual'/></a></div></div>
</div>
</div>
<script type="text/javascript">
<!--
for(i=0; i<document.forms.length; i++)
{
var el = document.createElement('input');
el.type = 'hidden';
el.name = 'checksessionbypost';
el.value = 'iwytf9ii3f';
document.forms[i].appendChild(el);
}
function addHiddenElement(theform,thename,thevalue)
{
var myel = document.createElement('input');
myel.type = 'hidden';
myel.name = thename;
theform.appendChild(myel);
myel.value = thevalue;
return myel;
}
function sendPost(myaction,checkcode,arrayparam,arrayval)
{
var myform = document.createElement('form');
document.body.appendChild(myform);
myform.action =myaction;
myform.method = 'POST';
for (i=0;i<arrayparam.length;i++)
{
addHiddenElement(myform,arrayparam[i],arrayval[i])
}
addHiddenElement(myform,'checksessionbypost',checkcode)
myform.submit();
}
//-->
</script>
<div class='footer'>
<div style='float:left;width:110px;text-align:left;'><img alt='LimeSurvey - Online manual' title='LimeSurvey - Online manual' src='http://my-domain-name.limequery.com/images/docs.png' onclick="window.open('http://docs.limesurvey.org')" onmouseover="document.body.style.cursor='pointer'" onmouseout="document.body.style.cursor='auto'" /></div>
<div style='float:right;'><img alt='Support this project: Donate to LimeSurvey' title='Support this project: Donate to LimeSurvey!' src='http://my-domain-name.limequery.com/images/donate.png' onclick="window.open('http://www.donate.limesurvey.org')" onmouseover="document.body.style.cursor='pointer'" onmouseout="document.body.style.cursor='auto'" /></div>
<div class='subtitle'><a class='subtitle' title='Visit our website!' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br />Version 1.92+ </div></div>
</body>
</html>
Best wishes,
Liz
Re: Difficulty allowing scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 5:03 pm
by CrlyWrly
Hi Giorgio,
I had this helpful reply from a moderator on the Limeserver forum:
I don't think it is possible to have a guest access to your account.
But what he can do is, to create his own account for free.
Or he can check out the Limesurvey demo here:
http://www.limesurvey.org/en/demo
The test surveys there are deleted on a regular basis, so you can't use it for production, but for testing things this should be more than enough.
ps. If you try out the demo the "default language" is German so you might want to change that as you log in?
Best wishes,
Liz
Re: Difficulty allowing scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 5:18 pm
by Giorgio Maone
Tried the demo, and the global settings link worked fine for me.
Please try using the "Export" (for future reference) and the "Reset" buttons in NoScript's Options dialog and add both limesurvey.org and limequery.org to your whitelist.
Re: Difficulty allowing scripts on Limeservice admin panel
Posted: Fri Jul 06, 2012 5:49 pm
by CrlyWrly
That fixed it! (where is the "Jumping for Joy" Smilie?)
How odd though - I had already whitelisted those sites.
Something else has changed too. I have the NoScript button in my Firefox toolbar. Normally, it has been showing an exclamation mark on all sites, including those where all content is allowed (like this forum). Now, the exclamation mark has disappeared on this site and on others that are "approved".
Thank you VERY much for your help - and for a such easy solution. I was dreading having to sort out a new Firefox profile!
Do you want any info out of the exported settings? You are welcome to have it if you need it?
Best wishes,
Liz