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

More
3 years 8 months ago #101471 by Label
Label created the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago #101473 by DenisChenu
DenisChenu replied the topic: Can't access login page, redirected to "No available surveys" page
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 8 months ago #101500 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago #101529 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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!

Please Log in to join the conversation.

More
3 years 8 months ago #101534 by holch
holch replied the topic: Can't access login page, redirected to "No available surveys" page
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

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 8 months ago #101564 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #101565 by c_schmitz
c_schmitz replied the topic: Can't access login page, redirected to "No available surveys" page
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: 3 years 8 months ago by c_schmitz.

Please Log in to join the conversation.

More
3 years 8 months ago #101567 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago #101568 by holch
holch replied the topic: Can't access login page, redirected to "No available surveys" page
Have a look also at the general .htaccess, not only the one within Limesurvey...

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 8 months ago #101579 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago #101587 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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?

Please Log in to join the conversation.

More
3 years 8 months ago #101593 by fransmarcelissen
fransmarcelissen replied the topic: Can't access login page, redirected to "No available surveys" page
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

Please Log in to join the conversation.

More
3 years 8 months ago #101624 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

More
3 years 8 months ago #101681 by Label
Label replied the topic: Can't access login page, redirected to "No available surveys" page
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.

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now