- Posts: 27
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can't login as admin
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
4 years 5 months ago #190358
by kpatch
Can't login as admin was created by kpatch
I have recently installed Limesurvey 3.18.0+190923 on a new server. After installation, I am able to login as admin. However, once I logout, I am no longer able to login again as admin with the new password assigned to admin after installation.
I'm stumped!!
Patrick
I'm stumped!!
Patrick
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
4 years 5 months ago #190367
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Can't login as admin
Maybe try Denis' ResetPasswordController controller -
gitlab.com/SondagesPro/coreAndTools/ResetPasswordController
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
4 years 5 months ago #190399
by kpatch
Replied by kpatch on topic Can't login as admin
Thanks Tony.
I made changes describe Deni Chenu's post. Alas, no joy in Limeville...
I may just have to do my third installation...
Patrick
I made changes describe Deni Chenu's post. Alas, no joy in Limeville...
I may just have to do my third installation...
Patrick
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 4 months ago #190405
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't login as admin
A third installation didn't fix anything …
Did ResetPasswordController work ? Did you see a "Password and Username updated" after the redirect ?
Did ResetPasswordController work ? Did you see a "Password and Username updated" after the redirect ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
4 years 4 months ago #190458
by kpatch
Replied by kpatch on topic Can't login as admin
Bonjour Denis:
I have not attempted the third installation...yet. That's this morning's work. However, when I ran ResetPasswordController, the page reloaded but the "Password and Username updated" message did not appear.
Merci.
Patrick
I have not attempted the third installation...yet. That's this morning's work. However, when I ran ResetPasswordController, the page reloaded but the "Password and Username updated" message did not appear.
Merci.
Patrick
DenisChenu wrote: A third installation didn't fix anything …
Did ResetPasswordController work ? Did you see a "Password and Username updated" after the redirect ?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 4 months ago #190469
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't login as admin
Another message ? When you go to index.php/ResetPassword ?
Or maybe index.php?r=ResetPassword ?
Or maybe index.php?r=ResetPassword ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
4 years 4 months ago #190496
by kpatch
Replied by kpatch on topic Can't login as admin
When I use index.php?r=ResetPassword, a small window with the LimeSurvey logo appears momentarily and then disappears. When I use index.php/ResetPassword, I get the following output
CHttpException
Unable to resolve the request "ResetPassword".
/home/esprimmeserv/public_html/limesurvey/frame
work/web/CWebApplication.php(286)
274 public function runController($route)
275 {
276 if(($ca=$this->createController($route))!==null)
277 {
278 list($controller,$actionID)=$ca;
279 $oldController=$this->_controller;
280 $this->_controller=$controller;
281 $controller->init();
282 $controller->run($actionID);
283 $this->_controller=$oldController;
284 }
285 else
286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
287 array('{route}'=>$route===''?$this->defaultController:$route)));
288 }
289
290 /**
291 * Creates a controller instance based on a route.
292 * The route should contain the controller ID and the action ID.
293 * It may also contain additional GET variables. All these must be concatenated together with slashes.
294 *
295 * This method will attempt to create a controller in the following order:
296 * <ol>
297 * <li>If the first segment is found in {@link controllerMap}, the corresponding
298 * controller configuration will be used to create the controller;</li>
Stack Trace
#0
+
/home/esprimmeserv/public_html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("ResetPassword")
#1
+
/home/esprimmeserv/public_html/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#2
–
/home/esprimmeserv/public_html/limesurvey/index.php(194): CApplication->run()
189 require_once APPPATH . 'core/LSYii_Application' . EXT;
190
191 $config = require_once(APPPATH . 'config/internal' . EXT);
192
193 Yii::$enableIncludePath = false;
194 Yii::createApplication('LSYii_Application', $config)->run();
195
196 /* End of file index.php */
197 /* Location: ./index.php */
CHttpException
Unable to resolve the request "ResetPassword".
/home/esprimmeserv/public_html/limesurvey/frame
work/web/CWebApplication.php(286)
274 public function runController($route)
275 {
276 if(($ca=$this->createController($route))!==null)
277 {
278 list($controller,$actionID)=$ca;
279 $oldController=$this->_controller;
280 $this->_controller=$controller;
281 $controller->init();
282 $controller->run($actionID);
283 $this->_controller=$oldController;
284 }
285 else
286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
287 array('{route}'=>$route===''?$this->defaultController:$route)));
288 }
289
290 /**
291 * Creates a controller instance based on a route.
292 * The route should contain the controller ID and the action ID.
293 * It may also contain additional GET variables. All these must be concatenated together with slashes.
294 *
295 * This method will attempt to create a controller in the following order:
296 * <ol>
297 * <li>If the first segment is found in {@link controllerMap}, the corresponding
298 * controller configuration will be used to create the controller;</li>
Stack Trace
#0
+
/home/esprimmeserv/public_html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("ResetPassword")
#1
+
/home/esprimmeserv/public_html/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#2
–
/home/esprimmeserv/public_html/limesurvey/index.php(194): CApplication->run()
189 require_once APPPATH . 'core/LSYii_Application' . EXT;
190
191 $config = require_once(APPPATH . 'config/internal' . EXT);
192
193 Yii::$enableIncludePath = false;
194 Yii::createApplication('LSYii_Application', $config)->run();
195
196 /* End of file index.php */
197 /* Location: ./index.php */
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 4 months ago #190499
by DenisChenu
Not resetpasswordcontroller, really ResetPasswordController
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't login as admin
And what page is shown finaly ? White page ? Another ?kpatch wrote: When I use index.php?r=ResetPassword, a small window with the LimeSurvey logo appears momentarily and then disappears.
You really move ResetPasswordController in application/controllers/ ?kpatch wrote: When I use index.php/ResetPassword, I get the following output
CHttpException
Not resetpasswordcontroller, really ResetPasswordController
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
4 years 4 months ago #190550
by kpatch
Replied by kpatch on topic Can't login as admin
Here is where the ReserPasswordController.php file is located:
This appears after using esprimme.com/limesurvey/index.php/ResetPassword :
Back to you
Thanks
Patrick
This appears after using esprimme.com/limesurvey/index.php/ResetPassword :
Back to you
Thanks
Patrick
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
4 years 4 months ago #190551
by kpatch
Replied by kpatch on topic Can't login as admin
You can access the site at the following URL:
esprimme.com/limesurvey/index.php/ResetPassword
Patrick
esprimme.com/limesurvey/index.php/ResetPassword
Patrick
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 4 months ago #190552
by DenisChenu
gitlab.com/SondagesPro/coreAndTools/Rese...sswordController.php
Seems you include whole gitlab page …
You do a Save as HTML ????
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't login as admin
It can not be only this filekpatch wrote: …
…
gitlab.com/SondagesPro/coreAndTools/Rese...sswordController.php
Seems you include whole gitlab page …
You do a Save as HTML ????
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.