XF 1.2 file uploads error

router

Member
after avatar and attachment had uploaded i always encountered problems with m and s files.this two files of option are 0600 . data and internal_data's option are 777 . how can we solve this problems
 
chmod -R 777 data
chmod -R 777 internal_data

when i used this two codes my problems solved but when i upload new avatars or attachments this problems started

@Mike this code added by me but dont change anything
 
i found this problem's source and solved this problem.

this problemlem's source disable_functions.

which functions are the problems ?

Code:
system,dl,passthru,exec,shell_exec,popen,proc_clos e,proc_get_status,proc_nice,proc_open,allow_url_fo pen,chown,chgrp,escapeshellcmd,escapeshellarg,show _source,posix_mkfifo,set_time_limit,mysql_list_dbs ,get_current_user,getmyuid,pconnect,link,symlink,p cntl_exec,ini_alter,parse_ini_file,chmod,pfsockope n,leak,apache_child_terminate,posix_kill,posix_set pgid,posix_setsid,posix_setuid,proc_terminate,sysl og,fpassthru,stream_select,socket_select,socket_cr eate,socket_create_listen,socket_create_pair,socke t_listen,socket_accept,socket_bind,socket_strerror ,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexit status,pcntl_wifexited,pcntl_wifsignaled,pcntl_wif stopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apac he_get_modules,apache_get_version,apache_getenv,ap ache_note,apache_setenv,virtual
 
Strictly speaking, all of them can cause problems. Disabling any functions in PHP is really an exercise in futility. Any host that disables functions should not be used... Some of the disabled functions are just laughable (parse_ini_file?).
 
Top Bottom