Welcome, Guest
Username: Password: Remember me

TOPIC: Send email reminder page error

Send email reminder page error 3 years 8 months ago #52003

  • catia_t
  • catia_t's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Hi,

I noticed a problem in the send reminder page.
When I click in the little button "Send email reminder to selected entries" (bottom of the tokens table in the tokes display page) I am redirected to the page to edit the e-mail reminder template and a javascript error occurs(IE says it is a syntax error in line 2 char 1), and the page looks like the following image:

sendReminderPage.jpg



In firefox it gives the following errors:

missing ; before statement
<?xml version="1.0"?><!DOCTYPE html PU.../xhtml1/DTD/xhtml1-transitional.dtd">\n
http://localhost/limesurvey/admin/admin.php/scripts/tabpane/js/tabpane.js
Line 1

missing ; before statement
<?xml version="1.0"?><!DOCTYPE html PU.../xhtml1/DTD/xhtml1-transitional.dtd">\n
http://localhost/limesurvey/admin/admin.php/scripts/admin_core.js
Line 1

missing ; before statement
<?xml version="1.0"?><!DOCTYPE html PU.../xhtml1/DTD/xhtml1-transitional.dtd">\n
http://localhost/limesurvey/admin/admin.php/scripts/tokens.js
Line 1


In the firebug Net tab there is an error founding jquery-ui.css,
It tries to find it in http://localhost:80/limesurvey/admin/scripts/jquery/css/start/jquery-ui.css
while it is in
http://localhost:80/limesurvey/scripts/jquery/css/start/jquery-ui.css


Also noticed that when I return to the survey administration page it appends "admin.php" to url looking like http://localhost/limesurvey/admin/admin.php/admin.php?sid=56262

If I remove the appended "admin.php" (http://localhost/limesurvey/admin/admin.php?sid=56262) the page looks OK.


The problem doesn't happen if I click in the "Send Email Reminder" button in the top of the page.
CatiaT@Glintt
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52175

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5301
  • Thank you received: 291
  • Karma: 247
1. Which URL do you use to call the admin login?
2. What did you set for $rooturl in config.php?
3. Did you make any other changes to the config file or any core files?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52188

  • catia_t
  • catia_t's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Answering your questions:

1. http://localhost/limesurvey/admin/admin.php
2. $rooturl = "http://{$_SERVER}/limesurvey";
3. I only set the email and database settings in the config file and added $filterxsshtml = false to be able to use javascript.

I didn't make changes to other core files.
CatiaT@Glintt
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52199

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5301
  • Thank you received: 291
  • Karma: 247
Hmm, I can't reproduce the problem...

Can you check if there is any redirect in place, any .htaccess file causing URL problems or the like?

When getting back to the admin backend I have no double "admin.php" in my URl and the source code URL points to "<link rel="stylesheet" type="text/css" media="all" href="../scripts/jquery/css/start/jquery-ui.css" />" for the file you mentioned so this seems to be fine, too.

In config-defaults.php there is a setting like:
$homeurl = "$rooturl/admin"; // The website location (url) of the admin scripts

Does this look different at your configuration?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52205

  • catia_t
  • catia_t's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
I'm using a IIS 7 server, so there are no .htaccess files.
I didn't make any redirect configurations.

This happens in two different limesurvey builds (limesurvey190plus-build9406-20101103 and a previous one which I cannot tell right now), both installed in an IIS 7 server.

I noticed that there is a new build and I will try to install it.
If it doesn't help I will try to install it in an apache server, to check if there are any changes.

My config-defaults.php setting for $homeurl looks the same as yours.

Thanks
CatiaT@Glintt
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52260

  • catia_t
  • catia_t's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Hi,

I installed build9459-20101109 in the IIS server and the problem doesn't happen anymore :)

Thanks for the effort :)
CatiaT@Glintt
The administrator has disabled public write access.

Re:Send email reminder page error 3 years 8 months ago #52283

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.130 seconds
Donation Image