Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Can't access login page, redirected to "No available surveys" page

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101471

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
I have been using an installed limesurvey ver. 2.00+ for the past year. I have not logged into my install for over 5 months, today when I tried to log into my admin page (warpedreporters.com/limesurvey/admin/) it redirects to (warpedreporters.com/limesurvey/index.php/admin) page that displays the "No available surveys".

I can't seem to find the admin login page.

What is strange is I can access some of my old surveys (warpedreporters.com/limesurvey/index.php?sid=471768&lang=en) but not the admin.

I have tried multiple browsers and both PCs and Macs.

Thanks for any help.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101473

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9264
  • Thank you received: 1320
  • Karma: 383
Hi,

You need to update your application/config/config.php file.

Find for 'urlFormat'=>'path', and set it to 'urlFormat'=>'get',
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101500

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Hi Denis,

I appreciate your quick response to this. The config.php file on my server is already set to 'urlFormat'=>'get'. I still can't access the ammin login.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101529

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
I still can't to the admin login page :( Six months ago I could and as far as I can tell nothing has changed on my server since then.

I'm on a deadline for a survey, doesn't anyone have a suggestion on what I can try?

Thank you in advance!
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101534

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5063
  • Thank you received: 749
  • Karma: 227
Hmm, this is strange. But Limesurvey usually doesn't just change something, so I would assume that there have been changes to the server.

Can you access all the files and folders of limesurvey within the folder warpedreporters.com/limesurvey/ via FTP?

Have a look at your .htaccess file and check if everything is correct there.

Usually you should be redircted to warpedreporters.com/limesurvey/index.php...hentication/sa/login
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101564

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Yes, that is what is strange. I can view the files via FTP and they look to be all there. I can access an old existing survey and I can access the MYSQL database and see the data etc...I just can get to the admin to log in. Could this be caused by any software upgrades that my host might have done to PHP, not that they have but at this point I don't know where to look.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101565

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 997
  • Thank you received: 135
  • Karma: 97
It looks to me like a redirect of the URL is happening.
Either a new .htaccess was placed in the root dir or your hoster does in general not like /admin directories and rewrites them - in that case you have to contact your hoster and ask them how to fix this.
Best regards

Carsten Schmitz
LimeSurvey project leader
Last Edit: 2 years 8 months ago by c_schmitz.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101567

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
In looking at the files via FTP, the .htaccess file has not changed since my original install. The version I am running is limesurvey200plus-build121204.

I know for a fact the host is not allowing for redirects but I use them elsewhere.

Thx.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101568

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5063
  • Thank you received: 749
  • Karma: 227
Have a look also at the general .htaccess, not only the one within Limesurvey...
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101579

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Does anyone know if I reinstalled limesurey or upgraded to a newer version it would wipe out the data or surveys I currently have? Thinking that might fix the problem but I really don't want to lose my old survey data.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101587

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
In further reviewing the files on my server the files in dir /admin/ the code in both admin.php and index.php have:

// Simple redirect to still have the old /admin URL
header( 'Location: ../index.php/admin' ) ;


Is this correct for these files?
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101593

  • fransmarcelissen
  • fransmarcelissen's Avatar
  • Offline
  • Gold Lime
  • Posts: 241
  • Thank you received: 53
  • Karma: 13
I would do the following. I suppose your version of limesurvey is not extremely old.
- First make a backup of the whole database (on the server). So you can always recover the data.
- Then install a new installation of limesurvey (this can be a more recent version), with another name, but specify the existing database. All data will be reused. If the new installation runs fine, you can delete the old installation (but be sure existing templates etc are saved).
If the same problem arises: there is a problem with the database or with the server. Install yet another installation, with a new database. If the problem still exists, it is a problem with the server. If the problem is solved, it is a problem with the database (which is not very likely).

Succes!
Frans
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101624

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Thank you Frans for your input. I'd like to do this as a last resort. Can anyone explain what the two files in the /admin/ dir are expected to function, my files admin.php and index.php basically have the same code which is:

// Simple redirect to still have the old /admin URL
header( 'Location: ../index.php/admin' ) ;

Is this correct?

Is there any other way that the redirect is being cause by the .htaccess file or these files?

Thx in advance for any answers.
The administrator has disabled public write access.

Can't access login page, redirected to "No available surveys" page 2 years 8 months ago #101681

  • Label
  • Label's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Well I decided to upgrade to the lastest version of Limesurvey to see if that helped. I was running the wizard for installing/upgrading, I entered in all my existing user/password/DB name and I received the following error message:

Internal Server Error

AdminController cannot find the requested view "/admin/authentication/login".

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

www.warpedreporters.com/limesurvey/index...hentication/sa/login


Any thoughts?

Thanks in advance.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.285 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form