i fixed it with an .htaccess file in the root of the gallery, containing this text:
Code
<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterEngine Off
</IfModule>
X3 Photo Gallery Support Forums
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]
Use only alphanumeric symbols and "_" symbol in folder name