WoW-CMS / BlizzCMS

BlizzCMS is a CMS built with CodeIgniter 3 for World of Warcraft emulators.
MIT License
100 stars 88 forks source link

🐛 [Bug Report]: CMS V1.2.1 SMTP not work,config['sess_save_path'] error #118

Closed stefan3126 closed 1 year ago

stefan3126 commented 1 year ago

BlizzCMS Version

1.2.1

Emulator

AzerothCore

PHP Version

PHP 8.0

Operating system

Linux

Web server

Apache

Database

MySQL 5.7

What happened?

1,SMTP 465 SSL doesn't work ,can't send mail,no logs in application/log 2,config['sess_save_path'] error

How can the issue be reproduced?

1,Installing v1.2.1, an error of config['sess_save_path'] error occurred during the installation: message:mkdir() :invalid path fliename:drives/session_flies_drive.php line number:137 2, It must be changed to: FCPATH.'cache/sess_save_path'; to open the website 3,After setting up smtp and set the password recovery function on, SMTP 465 SSL doesn't work ,can't send mail,no logs in application/log, and the email cannot be sent, no email be received

Screenshots

https://tc.evewow.com/i/2023/06/26/nx2smw.png

sayghteight commented 1 year ago

We are aware of this bug, we are working on fixing it. Sometimes this happens because the CMS is distributed for session by file and there are not enough permissions on that path.

Regarding the SMTP error, a small additional change has been made to implement it, I suggest you look at the following commit https://github.com/WoW-CMS/BlizzCMS/commit/309806f92e2dfa60a1f56d52850f7de6e4fcbfa3