Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Uploader.php

Uploader.php 2 years 9 months ago #72548

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hi,

Getting a problem for the file upload question type. When clicking on upload files an error message appears
The requested URL /uploader.php was not found on this server.

It works fine when I use preview question group but not when I execute the survey. Anyone know whats wrong?

//Erik
The administrator has disabled public write access.

Re: Uploader.php 2 years 9 months ago #72549

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
1. Which Limesurvey version do you use?

2. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

3. What did you set as $rooturl in config.php

4. Can you prepare a simple test survey, activate it and post the link here for testing?

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: Uploader.php 2 years 8 months ago #72593

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hi Mazi

Se answers below

//Erik
Mazi wrote:
1. Which Limesurvey version do you use?

Version 1.91+ Build 10267

2. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?
Nothing extra did show up


3. What did you set as $rooturl in config.php
// File Locations
$rooturl = "http://{$_SERVER}/survey"; // The root web url for your limesurvey installation (without a trailing slash).

4. Can you prepare a simple test survey, activate it and post the link here for testing?


www.enkatfabriken.com/survey/index.php?s...95&newtest=Y&lang=en
The administrator has disabled public write access.

Re: Uploader.php 2 years 8 months ago #72597

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hello,

In config.php, what is your rooturl ?

I think you had to put:
[code type=php-brief]$rooturl="www.enkatfabriken.com/survey"[/code]

Oups, don't see precedent message. Can you update to 12170 please ?

Denis
Last Edit: 2 years 8 months ago by DenisChenu.
The administrator has disabled public write access.

Re: Uploader.php 2 years 8 months ago #72612

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
a) Are there any kinds of redirects set up for Limesurvey? Because the path is wrong, the script is looking for
www.enkatfabriken.com/uploader.php?sid=21695&...

while it should look at
www.enkatfabriken.com/surveys/uploader.php?sid=21695&...

b) Can you attach the sample survey as .lss file?

c) You can test if this is fixed at the latest version by testing our online demo which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please report back.

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: Uploader.php 2 years 8 months ago #72627

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hi again,

Updated to latest version and it almost solved the problem. Now I get the error message "You don't have a valid session !" instead. Did I do something wrong when I updated?

//Erik
The administrator has disabled public write access.

Re: Uploader.php 2 years 8 months ago #72629

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Lss file

File Attachment:

File Name: limesurvey_survey_21695.lss
File Size: 16 KB
The administrator has disabled public write access.

Re: Uploader.php 2 years 8 months ago #72632

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
The survey runs fine on my test system. I see some HTML error at the template you are using, but those shoudn't cause these session problems.

1. Do other surveys work fine after updating?

2. Check if the folder specified at "session.save_path" in your php.ini exists and is writeable.

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: Uploader.php 2 years 8 months ago #72637

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Works for me now!

Thanks for good and quick help!

//Erik
The administrator has disabled public write access.

Re: Uploader.php 2 years 8 months ago #72642

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
You're welcome.

How did you solve it? Was it the session folder?

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.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.222 seconds
Donation Image