Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2011, 09:46 PM
Senior Member
 
Join Date: May 2011
Posts: 214
Default The max upload file size of (avatar) image - STUCK

When I change the avatar upload allowed size, it keeps changing back to 5120KB which isn't enough.

When I changed it in server.xml, it still says 5020kb in the GUI.

What is it doing, is it only saying that or is it stuck at 5020kb?
Reply With Quote
  #2 (permalink)  
Old 08-10-2011, 03:18 AM
Administrator
 
Join Date: Dec 2008
Posts: 577
Default

Hello Lewism,

To change max upload file size, you should modify fcserver.xml files.

1, If you configured Upload Avatar Module by default method.
-- Change upload file size limit
Please open <123flashchat server install directory>/server/etc/fcserver.xml

find
<http-server port="35555" maxUpLoadSize="5120" enable="On" documentRoot="..\client" ip="*">
<file-allow-access></file-allow-access>
</http-server>

modify maxUPLoad Size, 5120 means 5120=5M, this is a global parameter which is also for image transfer module and file transfer module.

If you configured Upload Avatar Module by PHP method.
Open "config.php" in the Upload/Webcam Avatar Module package and configure it:

- $MAX_ALLOW_FILE_SIZE: the max upload file size (unit: bytes)

If you have any other question, feel free to let me know.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.