anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Can't run after setup - "unauthorized reequest" #543

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setup 2.5.9, populate configuration.php file
2. visit home page and error "request failed" popup
3. then "Failed to initialize Mollify"

What is the expected output? What do you see instead?
Login button etc.

What version of the product are you using? On what operating system?
2.5.9

Please provide any additional information below.
PHP 5.5 & 5.4 on IIS 8

Debug from /backend/r.php/debug:

 {"code":100,"error":"Unauthorized request","details":"","data":null,"trace":["MySQLi DB: mollyusr@localhost:molly(mollify_)","Filesystem registered: local","VERSION: 2.5.9 SERVER: {PROCESSOR_ARCHITEW6432:AMD64, _FCGI_X_PIPE_:\\\\.\\pipe\\IISFCGI-e17e1874-cda9-451f-bd83-995235a804be, PHP_FCGI_MAX_REQUESTS:10000, PHPRC:C:\\Program Files (x86)\\PHP\\v5.5, ALLUSERSPROFILE:C:\\ProgramData, APPDATA:C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming, APP_POOL_CONFIG:C:\\inetpub\\temp\\apppools\\websites IIS folder\\websites IIS folder.config, APP_POOL_ID:websites IIS folder, CommonProgramFiles:C:\\Program Files (x86)\\Common Files, CommonProgramFiles(x86):C:\\Program Files (x86)\\Common Files, CommonProgramW6432:C:\\Program Files\\Common Files, COMPUTERNAME:WIN-J2DOIRJOA5E, ComSpec:C:\\Windows\\system32\\cmd.exe, FP_NO_HOST_CHECK:NO, LOCALAPPDATA:C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local, NUMBER_OF_PROCESSORS:3, OS:Windows_NT, Path:C:\\Program Files (x86)\\PHP\\v5.4;C:\\Program Files (x86)\\PHP\\v5.4;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\OpenVPN\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.5\\bin;C:\\Program Files (x86)\\PHP\\v5.5;, PATHEXT:.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE:x86, PROCESSOR_IDENTIFIER:Intel64 Family 6 Model 26 Stepping 4, GenuineIntel, PROCESSOR_LEVEL:6, PROCESSOR_REVISION:1a04, ProgramData:C:\\ProgramData, ProgramFiles:C:\\Program Files (x86), ProgramFiles(x86):C:\\Program Files (x86), ProgramW6432:C:\\Program Files, PSModulePath:C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\, PUBLIC:C:\\Users\\Public, SystemDrive:C:, SystemRoot:C:\\Windows, TEMP:C:\\Windows\\TEMP, TMP:C:\\Windows\\TEMP, USERDOMAIN:WORKGROUP, USERNAME:WIN-J2DOIRJOA5E$, USERPROFILE:C:\\Windows\\system32\\config\\systemprofile, windir:C:\\Windows, ORIG_PATH_INFO:\/mollify\/backend\/r.php\/debug, URL:\/mollify\/backend\/r.php, SERVER_PROTOCOL:HTTP\/1.1, SERVER_PORT_SECURE:0, SCRIPT_NAME:\/mollify\/backend\/r.php, SCRIPT_FILENAME:C:\\Web Sites\\IIS\\mollify\\backend\\r.php, REQUEST_URI:\/mollify\/backend\/r.php\/debug, REQUEST_METHOD:GET, REMOTE_USER:, REMOTE_HOST:127.0.0.1, QUERY_STRING:, PATH_TRANSLATED:C:\\Web Sites\\IIS\\mollify\\backend\\r.php\\debug, PATH_INFO:\/debug, LOGON_USER:, LOCAL_ADDR:127.0.0.1, INSTANCE_META_PATH:\/LM\/W3SVC\/4, INSTANCE_NAME:___ WEBSITES IIS FOLDER, INSTANCE_ID:4, HTTPS_SERVER_SUBJECT:, HTTPS_SERVER_ISSUER:, HTTPS_SECRETKEYSIZE:, HTTPS_KEYSIZE:, HTTPS:off, CONTENT_TYPE:, CONTENT_LENGTH:0, CERT_SUBJECT:, CERT_SERIALNUMBER:, CERT_ISSUER:, CERT_FLAGS:, CERT_COOKIE:, AUTH_USER:, AUTH_PASSWORD:, AUTH_TYPE:, APPL_PHYSICAL_PATH:C:\\Web Sites\\IIS\\, APPL_MD_PATH:\/LM\/W3SVC\/4\/ROOT, IIS_UrlRewriteModule:7.1.0871.0, FCGI_ROLE:RESPONDER, PHP_SELF:\/mollify\/backend\/r.php\/debug, REQUEST_TIME_FLOAT:1398866745.872, REQUEST_TIME:1398866745}","SETTINGS: {db:{type:mysql, user:mollyusr, password:, host:localhost, database:molly, table_prefix:mollify_, charset:utf8}, debug:1, debug_log:debug.log}","FEATURES: {limited_http_methods:1, change_password:1, descriptions:1, user_groups:1, mail_notification:1, retrieve_url:1, folder_protection:1, thumbnails:1, guest_mode:1}","FILESYSTEM: allowed_file_upload_types={}","SESSION: is_active=, user=NULL, data={}","AUTH: is_authenticated=","REQUEST: method=get, path={0:debug}, ip=127.0.0.1, params={}, data=","SERVICE (DebugServices)","DB QUERY: select id from mollify_session where last_access < 20140430150546","ServiceException: UNAUTHORIZED=","{0:{file:C:\\Web Sites\\IIS\\mollify\\backend\\r.php, line:63, function:processRequest, class:MollifyBackend, type:->, args:{0:Request}}}","RESPONSE error {0:100, 1:Unauthorized request, 2:401}  "]

Original issue reported on code.google.com by ivan.bre...@gmail.com on 30 Apr 2014 at 2:09

GoogleCodeExporter commented 8 years ago
The "Unauthorized request" error is related to the debug tool (needs admin 
logged), not the original error. So you need to dig out the php error log and 
get the actual error from there.

Original comment by samuli.j...@gmail.com on 1 May 2014 at 7:13

GoogleCodeExporter commented 8 years ago
Closing until further info

Original comment by samuli.j...@gmail.com on 10 May 2014 at 3:02