Author |
|
thattwo Newbie
Joined: 15 July 2019
Online Status: Offline Posts: 4
|
Posted: 15 July 2019 at 8:33pm | IP Logged
|
|
|
Installed from this file: https://afterlogic.com/download/webmail-pro
Able to log into admin with superadmin/empty password, but not able to save anything in admin. The button changed from save to saving... but nothing happens. Tried chrome/safari, same thing.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 16 July 2019 at 12:53am | IP Logged
|
|
|
The first thing to recheck is that data/ directory of the installation is writable by web server. If you open the installation with ?install key appended to the URL, you'll get a compatibility test with several checks there, including data/ directory access permissions.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
thattwo Newbie
Joined: 15 July 2019
Online Status: Offline Posts: 4
|
Posted: 16 July 2019 at 2:06am | IP Logged
|
|
|
Thanks, yes, the ?install shows everything is OK, all green.
I forgot to mention I keep getting this popup:
Cookies need to be updated. To continue, please click here or reload this page.
I clicked "here" link, but it keep popping out, always there.
data folder is set to the owner of apache, first I set to 755 for data and its sub folders/files, then I tried 777, still the same.
The thing is, I opened the chrome debug window, I don't see any network connections after I click the save button. Seems to me a js problem.
This is the ?install output:
The current server environment meets all the requirements. Click Next to proceed.
also the php package downloaded from your server (not from github) has this warning in chrome console:
app.min.js?8333:1 Warning: a promise was created in a handler at /static/js/app.min.js?8333:1:185622 but was not returned from it, see http://goo.gl/rRqMUw
|
Back to Top |
|
|
thattwo Newbie
Joined: 15 July 2019
Online Status: Offline Posts: 4
|
Posted: 16 July 2019 at 2:08am | IP Logged
|
|
|
I can confirm data folder permission is not an issue.
Before I call admin page, I only have settings folder in data folder, after I visited admin page, I have the following files/folders in data folder:
cache logs salt8.php settings
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 16 July 2019 at 2:12am | IP Logged
|
|
|
Quote:
I forgot to mention I keep getting this popup:
Cookies need to be updated. To continue, please click here or reload this page. |
|
|
Aha, that explains it. Please try creating .htaccess file in root directory of WebMail, with the following content:
Code:
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] |
|
|
We've recently made a few improvement to CSRF protection, and we're going to release a new update later today. In some webserver configurations, authentication headers aren't sent through by default, that's what .htaccess is expected to correct.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
thattwo Newbie
Joined: 15 July 2019
Online Status: Offline Posts: 4
|
Posted: 16 July 2019 at 2:26am | IP Logged
|
|
|
Thanks! it worked!
|
Back to Top |
|
|