Установка..

Заходишь на свой хостнг по фтп и изменяешь(если ты это спрашиваешь) :lol2:
 
блина народ

вот опять нах.. :cry: :cry: :cry:


кароче картинки и файлы в сообщение закачиваются ну только когда типа сообщение отправил чтобы оно написалось на форуме когда нажимаешь на картинку чтобы её посматреть вот что все время пишет вот такие ероглифы..


:down:
 
я кстати такое же видел на ещё одном форуме...
...и как это лечить я понятия не имею...
 
А я имею. :)


Открывается файл sources/misc/attach.php

Ищется код

<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@header( "Content-Type: ".$ibforums->cache['attachtypes'][ $attach['attach_ext'] ]['atype_mimetype'].
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "\nContent-Disposition: inline; filename=\"".$attach['attach_file']
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ."\"\nContent-Length: ".(string)(filesize( $file ) ) );<!--c2--></div><!--ec2-->
заменяем

<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--> &nbsp; &nbsp; &nbsp; &nbsp; header( "Content-Type: ".$ibforums->cache['attachtypes'][ $attach['attach_ext'] ]['atype_mimetype'] );
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;header( "Content-Disposition: inline; filename=\"".$attach['attach_file']."\"" );
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;header( "Content-Length: ".(string)(filesize( $file ) ) );<!--c2--></div><!--ec2-->
 
Сверху