cakka Posted October 9, 2015 Report Posted October 9, 2015 I've just try to install revive.But, I get this error message :Fatal error: Uncaught exception 'Exception' with message 'Unable to set current step. Unknown step: login' in C:\xampp\htdocs\revive\lib\OX\Admin\UI\Wizard.php:138 Stack trace: #0 C:\xampp\htdocs\revive\lib\OX\Admin\UI\Wizard.php(83): OX_Admin_UI_Wizard->setCurrentStep('login') #1 C:\xampp\htdocs\revive\lib\OX\Admin\UI\Install\Wizard.php(31): OX_Admin_UI_Wizard->__construct('install', Array, Object(OX_Admin_UI_SessionStorage)) #2 C:\xampp\htdocs\revive\lib\OX\Admin\UI\Install\InstallController.php(298): OX_Admin_UI_Install_Wizard->__construct(Object(OX_Admin_UI_Install_InstallStatus), 'login') #3 C:\xampp\htdocs\revive\lib\OX\Admin\UI\Controller\BaseController.php(94): OX_Admin_UI_Install_InstallController->loginAction() #4 C:\xampp\htdocs\revive\lib\OX\Admin\UI\Controller\BaseController.php(82): OX_Admin_UI_Controller_BaseController->execute('login') #5 C:\xampp\htdocs\revive\www\admin\install.php(41): OX_Admin_UI_Controller_BaseController->process(Object(OX_Admin_UI_Controller_Request)) #6 C:\xampp\htdocs\revive\www\adm in C:\xampp\htdocs\revive\lib\OX\Admin\UI\Wizard.php on line138Please tell me know what is the problem and how to solve this...Thank you... Quote
Richard Foley Posted October 9, 2015 Report Posted October 9, 2015 You might want to provide some details, like which version, running on what system, and explain a little more as to what exactly "try to install" means...(otherwise people have to guess...) Quote
cakka Posted October 11, 2015 Author Report Posted October 11, 2015 I was install on my localhost. I am using : Xampp + Windows 7 + latest version of revive ads Quote
acroch69 Posted October 16, 2015 Report Posted October 16, 2015 I have this exact same issue.Attempting to install for the first time on Windows 7, Postgres 9.3, php 5.6, apache 2.4 (using "LoadModule php5_module c:/php/php5apache2_4.dll"), Chrome Version 45.0.2454.101 m.The database was created, created admin user account, then it tried installing plugins (which all appeared to fail according to the logs) then it spit out the error/stack about 'login'.After attempting to hit the revive site locally again it prompts for a login but when I provide the admin account information and click submit I get an error stating "You need to enable cookies before you can use Revive Adserver".My cookies are enabled and I get this same series of errors whether using Chrome or Firefox. Installation started 2015-10-16 17:44:16Attempting to connect to database revive_adserver_3 with user revive_adserverConnected to database revive_adserver_3Database settings and permissions are OKcreating upgrade_action audit tablesuccessfully created upgrade_action audit tablecreating database_action audit tablesuccessfully created database_action audit tableschema definition from cache TRUEInstallation created the core tablesInstallation updated the schema version to 620Installation updated the application version to 3.2.2Preparing to set timezone preference...Found timezone preference ID of 16Found the admin account's timezone association, updating preference...Updated the admin account timezone preference to: 'UTC'#! openXBannerTypes(): Permissions error#! openXDeliveryLimitations(): Permissions error#! openX3rdPartyServers(): Permissions error#! openXReports(): Permissions error#! openXDeliveryCacheStore(): Permissions error#! openXMaxMindGeoIP(): Permissions error#! openXInvocationTags(): Permissions error#! openXDeliveryLog(): Permissions error#! openXVideoAds(): Permissions error========================================================================= Any insights as I've spent hours trying to get this to work.Thank you. Quote
James.mitchell Posted October 27, 2015 Report Posted October 27, 2015 After banging my head against this for too many hours, I think I can describe the problem, and suggest a work around.The fatal error in the installation from the OP ("Unable to set current step. Unknown step: login") is due to the plugins that are failing to install with the "Permissions error"; and the permissions error is because the automatic login as Admin has not worked.In my original setup, I was running the server on my laptop as localhost:8080 and I noticed that the install was trying to set a cookie in domain 'localhost:8080' - I believe the port number was causing a problem, and the cookie would not be returned in the next request, so the installation decides you are not logged in and not permitted to install the plugins.This would also explain the errors we see about having to enable cookies, when cookies are working just fine...To fix this I have done 2 things: set a 3 level domain name in my hosts file that points to 127.0.0.1 (ie revive.localhost.com)stopped trying to use a port number, and just listen on port 80Now a fresh install correctly sets a sessionId cookie in the domain '.revive.localhost.com', the plugins install fine, and I can actually login to the test server again. Quote
andrewatfornax Posted November 18, 2015 Report Posted November 18, 2015 Thanks for the info! I've raised a ticket: https://github.com/revive-adserver/revive-adserver/issues/639 Quote
James.mitchell Posted November 18, 2015 Report Posted November 18, 2015 Cool! Thanks.The cookies are created, but the domain is set including the port number, ie 'localhost:8080'I believe the correct behaviour is to not use the port, and just set the domain. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.