WoW-CMS / BlizzCMS

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

🐛 [Bug Report]: Uploading a file exceeds the maximum size allowed #125

Closed minzhicloud closed 7 months ago

minzhicloud commented 1 year ago

BlizzCMS Version

v2.0.0-beta.2

Emulator

AzerothCore

PHP Version

PHP 7.4

Operating system

Linux

Web server

Other

Database

MySQL5.7

What happened?

Unable to upload no matter how modified

How can the issue be reproduced?

This problem occurs after uploading a module

Screenshots

111

DZywolf commented 1 year ago

This error is caused by the default PHP configuration limits the size of uploaded files. To change it, you need to change the following variables in php.ini:

upload_max_filesize = 30M
post_max_size = 30M

Lastly, you must restart the web server for the changes to take effect.