Author |
|
Gimli Newbie
Joined: 03 March 2018 Location: Canada
Online Status: Offline Posts: 10
|
Posted: 14 July 2021 at 12:40pm | IP Logged
|
|
|
I just tried to update from a working IIS implementation of Webmail Lite PHP
8.6.0-build-a3 to 8.8 and, after copying the new files to my usual directory (except the data directory, which is separate), I get nothing but server error 500.
These updates usually go without any errors and I can successfully restore from file backup to a working state so I doubt it's an IIS issue. As far as I know CSRF hasn't been changed since 8.3.5 so if my install worked under 8.6 it should still work under 8.8, right?
IIS logs don't really provide any information about what could be going wrong.
Is there any special upgrade instruction to go from 8.6 to 8.8 that isn't present on the official page (https://afterlogic.com/docs/webmail-lite-8/installation/upgrading-instructions)?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 July 2021 at 11:33pm | IP Logged
|
|
|
Hello,
Standard upgrading instructions should apply. I wonder, what PHP version are you running? If you're still on PHP 5.6, that could be why, PHP 7 or newer is required now.
Also, just in case if this may be CSRF-related indeed, try setting "CsrfTokenProtection" to false in data/settings/modules/Core.config.json file - though I don't believe that this setup would cause error 500, especially since .htaccess files don't apply to IIS.
To see the actual PHP error, make sure you have "display_errors = On" set in your php.ini file.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Gimli Newbie
Joined: 03 March 2018 Location: Canada
Online Status: Offline Posts: 10
|
Posted: 15 July 2021 at 5:42am | IP Logged
|
|
|
The culprit was indeed the PHP version being used. Although I had installed PHP 7.2 a while back the old 5.6 version was still active.
Thanks for your help!
|
Back to Top |
|
|