-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot register or login on fresh install #67
Comments
It works without working with alias (I put OpenNote folder inside my RC install dir) |
@mioux I just tested it and it does appear to work. What do you mean about the alias? Just trying to understand how I can handle this case. |
@mioux I also should note the front end JS app will not tell you if it cannot connect to the back end. That was something that didn't make it into this release. However, once it is configured everything should work. |
Here is my apache conf file <VirtualHost 0.0.0.0:443>
It seems that OpenNote tries to open /var/www/roundcubemail/var/www/opennote instead of /var/www/opennote. There is no error when I put the OpenNote folder in /var/www/roundcubemail and remove the alias line. It works, but I would prefer separate the 2 softwares. I have tested the magic variable FILE through alias, it's /var/www/opennote as expected |
@mioux I will try to replicate and fix. |
@mioux Can you see if the latest update fixes you issue |
Tested with latest git release, it doesn't work |
@mioux |
Shame on me, I didn't saw this message. It seems to work, I have made a rapid check (creating and editing a note) without error. Thanks |
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)
[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
[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 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.
The text was updated successfully, but these errors were encountered: