magento-hackathon / Magento-Two-factor-Authentication

Should be time-based or counter-based (HOTP/TOTP), and support the Google Authenticator mobile app.
https://github.com/orgs/magento-hackathon
MIT License
76 stars 32 forks source link

Blank Page on 1.9.1 #12

Open vroberttaken opened 9 years ago

vroberttaken commented 9 years ago

Hi, I have problem with Magento-Two-factor-Authentication on magento 1.9.1. After I have installed the module an refreshed the cache and logout, because I get the standard error 'access is denied' and than I am trying to login after entering the username and pw I get a blank page and cannot acces the admin page. Than I also refreshed the session and still the same. A blank page How to fix that ?

mzeis commented 9 years ago

Hi,

did you enable System > Configuration > Admin > Developer > Template Settings > Allow Symlinks? Depending on how you installed the extension this might cause a blank page.

avoelkl commented 9 years ago

I can confirm it works with Magento 1.9.1.1 and Symlinks enabled.

andrew-smart commented 8 years ago

I can also confirm it works on 1.9.1 but i did get the exact "problem" described by @vroberttaken which was fixed as soon as i enabled symlinks as described by @mzeis

dwaipayan commented 8 years ago

Hi, I have installed but it is showing this error in admin SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_user_question' doesn't exist, query was: SELECT main_table.* FROM admin_user_question AS main_table WHERE (user_id = '1') ORDER BY question_id ASC Why this is coming? What is the issue?

avoelkl commented 8 years ago

Did you clear the cache after installation? @dwaipayan

dwaipayan commented 8 years ago

Yes after clearing the cache when I logged out from admin and login again then showing this error SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_user_question' doesn't exist, query was: SELECT main_table.* FROM admin_user_question AS main_table WHERE (user_id = '1') ORDER BY question_id ASC Why the issue is happening I cannot able to track.What is the issue here?

avoelkl commented 8 years ago

@dwaipayan I think some of your upgrade scripts did not run as the admin_user_question table was added in the upgrade-0.1.2-0.1.3 setup script.

dwaipayan commented 8 years ago

Hello, Thanks for your quick response. I am using magento 1.9.1.0 community version. No symlinks are not enabled here. I am using Magento-Two-factor-Authentication-develop version Yes twofactorauth_setup" with version 0.1.3 in core_resource table present.

Still after refresh the cache the site is showing error.What is the issue please let me know. Thanks, dwaipayan