Skip to content

Cannot register or login on fresh install #67

@mioux

Description

@mioux

I have downloaded OpenNote 14.x, unzipped in /var/www/opennote

Apache is configured with alias /OpenNote /var/www/opennote
Root is configured for my roundcube installation in /var/www/roundcubemail

Database is initialized via /OpenNote/Service/install.php script (tested both sqlite and mysql)

  • With SQLite, I had an error :
    [Wed Jul 16 16:31:24 2014] [error] [client 77.242.202.234] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'notebook'@'localhost' (using password: YES)' in /var/www/opennote/Service/Config.php:44\nStack trace:\n#0 /var/www/opennote/Service/Config.php(44): PDO->__construct('mysql:host=127....', 'notebook', 'password')\n#1 /var/www/opennote/Service/Config.php(20): Config::mysqlConfig()\n#2 /var/www/opennote/Service/install.php(89): Config::dbConfig()\n#3 {main}\n thrown in /var/www/opennote/Service/Config.php on line 44, referer: https://xxx/OpenNote/Service/install.php?step=1

I then clicked "Back" and "SQLite" again, which correctly initialized the SQLite DB

  • With both configurations, I then have tried to access "/OpenNote", no register button is available. I got this error in apache log
    [Wed Jul 16 16:32:51 2014] [error] [client 77.242.202.234] File does not exist: /var/www/roundcubemail/var, referer: https://xxx/OpenNote/
  • I have inserted my username by hand (password hashed with php "crypt" function), but when I try to login, I have the exact same error as previous.

I think this error is related to the _ _ FILE _ _ var. I'm not a php expert (I mostly code T-SQL or C# :D) but I don't have found where the _ _ FILE _ _ var is initialized, I think this is the problem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions