Topic: Attachment_Mod_2.0.1

×òî íåòàê äåëàþ õç. Äåëàþ âñ¸ êàê íàïèñàíî â "readme.txt".

Êîãäà âñ¸ ñäåëàë è ðàçëîæèë ôàéëû ïî ïàïêàì çàïóñêàþ instal_mod.php è âìæó ñëåäóþùåå:

(ìîæåò ýòî òàê è äîëæíî áûòü)
File: W:\www\forum\install_mod.php
Line: 117

PunBB reported: Unable to copy .htaccess file to new subfolder with name 'W:/www/forum/attachments/e4705a188654a150dba3a71cfb206c23'

Ïîòîì ãðóæó ôîðóì è ñìîòðþ àäìèíê, ïëàãèí ïîÿâèëñÿ è âðîäå íàñòðàèâàåòñÿ.

Ïûòàþñü ÷òî-òî çàïîñòèòü. Êîãäà íàæèìàþ " Post new topic " èëè " Post reply " òî âèæó ñëåäóþùåå:

Parse error: parse error, unexpected T_ELSE in W:\www\forum\post.php on line 570
È áàëàëàéêà.

Íî ïðè ýòîì êîãäà æìó "Edit post" òî âñ¸ ðàáîòàåò è ôàéë ÿ ìîãó ïðèêðåïèòü. À âîò ñîçäàòü íîâóþ òåìó èëè íàïèñàòü íîâîå ñîîáùåíèå íåìîãó.

×òî íåòàê ? Ïîìîãèòå ëþäè äîáðûå!

Re: Attachment_Mod_2.0.1

chmod ðàñòàâü íà ïàïêó ñ attachments!
È ñíîâà çàïóñòè èíñòàëë

Re: Attachment_Mod_2.0.1

uT)Dev1L wrote:

chmod ðàñòàâü íà ïàïêó ñ attachments!
È ñíîâà çàïóñòè èíñòàëë

×òî ýòî è êàê ýòî ñäåëàòü ?

Re: Attachment_Mod_2.0.1

Sibiriak
1- òû ãäå ýòî ñòàâèø íà localhoste èëè íà âåá-ñåðâåðå â èíåòå?
2- êàêàÿ îïåðàöèîíêà ñòîèò íà õîñòèíãå åñëè â èíåòå?
3- åñëè ýòî freebsd ðàñòàâü CHMOD
ÑHMOD ýòî "File Attributes" ò.å. Read-Write-Execute òàê âîò òåáå íóæíî ïîñòàâèòü íà ïàïêó R-W-E, â ôàðå ýòî âûçåâàåòñÿ ñ ïîìîùüþ ctrl+a

5 (edited by Sibiriak 2006-02-04 16:18)

Re: Attachment_Mod_2.0.1

uT)Dev1L wrote:

Sibiriak
1- òû ãäå ýòî ñòàâèø íà localhoste èëè íà âåá-ñåðâåðå â èíåòå?
2- êàêàÿ îïåðàöèîíêà ñòîèò íà õîñòèíãå åñëè â èíåòå?
3- åñëè ýòî freebsd ðàñòàâü CHMOD
ÑHMOD ýòî "File Attributes" ò.å. Read-Write-Execute òàê âîò òåáå íóæíî ïîñòàâèòü íà ïàïêó R-W-E, â ôàðå ýòî âûçåâàåòñÿ ñ ïîìîùüþ ctrl+a

1) Ýêñïåðåìåíòû ñòàâëþ äîìà, íà ñâî¸ì êîìïå (http://172.20.2.102/forum - êîìï äîñòóïåí òîëüêî èç ëîêàëêè). WinXP SP1.
Äåðæó èãðîâîé ñåðâåð Lineage2 íà êîìïå ó ïðîâàéäåðà ìîåé ñåòè. Òàì Win2003.  ýòîì èãðîâîì ñåðâåðå èñïîëüçóåòñÿ äàííûé ôîðóì. Ïûòàþñü åãî êàê-òî ìîäåðíèçèðîâàòü íî òàê è íè÷åãî íåâûõîäèò sad


Õîòü óìðè à ïèøåò ýòî:

File: W:\www\forum\install_mod.php
Line: 114

PunBB reported: Unable to create new subfolder with name 'W:/www/forum/attachments/57665871ff5d2c37a715c5277fc2c7d8' with mode 0750

À âîò îòêóäà ýòî âçÿëîñü íåïîéìó sad
Parse error: parse error, unexpected T_ELSE in W:\www\forum\post.php on line 570
Âðîäå âñ¸ âåðíî äåëàë.

6

Re: Attachment_Mod_2.0.1

Admin - Attachment Mod - Alter Settings - Attachments basefolder << ïðîâåðü ïóòü ÷òîá ñîîò-âàë. Ìîæåò ïðîñòî ó òåáÿ äðóãàÿ ïàïêà óêàçàíà.

Parse error: parse error, unexpected T_ELSE in W:\www\forum\post.php on line 570

Òóò òî÷íî òâîè òðàáëû, èç-çà ìîäîâ íàâåðíî.
Êîíñòðóêöèÿ
if ()
  .....
else
  ....

Âîò íàâåðíî ó òåáÿ if () íåò, è ñðàçó else èäåò.

i C q  1 3 o o 7 5 5 5 5

7 (edited by Sibiriak 2006-02-06 21:41)

Re: Attachment_Mod_2.0.1

Íó ñ ýòèì ÿ ðàçîáðàëñÿ:
File: W:\www\forum\install_mod.php
Line: 114

PunBB reported: Unable to create new subfolder with name 'W:/www/forum/attachments/57665871ff5d2c37a715c5277fc2c7d8' with mode 0750
ß ïðîñòî ñîçäàë òàêóþ ïàïêó è ïîëîæèë òóäà "index.html" è ".htaccess".

À âîò ñ ýòîé îøèáêîé ÿ ÷òî-òî ïîêà íèêàê íåðàçîáðàëñÿ.

Parse error: parse error, unexpected T_ELSE in W:\www\forum\post.php on line 570

Ìîæåò êòîíèáóòü ïðèöåïèò ê ñâîåìó ïîñòó ñâîé ôàéë "post.php" ñ óñòàíîâëåííûì â í¸ì Attachment ìîäîì ????!!!!
Áóäó î÷åíü ïðèçíàòåëåí.

Re: Attachment_Mod_2.0.1

Âîò ÷òî ó ìåíÿ íàïèñàíî â â ëèíèè 570:

570:  else if ($pun_config['o_smilies'] == '1')
571:    $checkboxes[] = '<label><input type="checkbox" name="hide_smilies" value="1" tabindex="'.($cur_index++).'"'.(isset($_POST['hide_smilies']) ? ' checked="checked"' : '').' />'.$lang_post['Hide smilies'];

Åñëè ÿ ñòðî÷êó 570 çàêîìåíòèðóþ ( // ) òî âñ¸ ïàøåò. ×òî ýòî çà ñòðî÷êà è äëÿ ÷åãî îíà ?

Re: Attachment_Mod_2.0.1

Íàïèøèòå ïî ïóíêòàì êàê óñòàíîâèòü äàííûé ìîä.

Re: Attachment_Mod_2.0.1

TriTon wrote:

Íàïèøèòå ïî ïóíêòàì êàê óñòàíîâèòü äàííûé ìîä.

 ôàéëå "readme.txt" âñ¸ íàïèñàíî ïî øàãàì!!! Îí ëåæèò âìåñòå ñ ìîäîì â àðõèâå.

11

Re: Attachment_Mod_2.0.1

À ÷òî Attachment_Mod_2.0.1 íå ïîäõîäèò äëÿ PunBB 1.2.10 ???

"You are running a version of PunBB (1.2.10) that this mod does not support. This mod supports PunBB versions: 1.2, 1.2.1, 1.2.3, 1.2.4, 1.2.5"

Re: Attachment_Mod_2.0.1

TriTon wrote:

À ÷òî Attachment_Mod_2.0.1 íå ïîäõîäèò äëÿ PunBB 1.2.10 ???

"You are running a version of PunBB (1.2.10) that this mod does not support. This mod supports PunBB versions: 1.2, 1.2.1, 1.2.3, 1.2.4, 1.2.5"

 install_mod.php íàéäè:

// One or more versions of PunBB that this mod works on. The version names must match exactly!
$punbb_versions    = array('1.2', '1.2.1', '1.2.3', '1.2.4', '1.2.5');

çàìåíè íà:

// One or more versions of PunBB that this mod works on. The version names must match exactly!
$punbb_versions    = array('1.2', '1.2.1', '1.2.3', '1.2.4', '1.2.5', '1.2.10');

big_smile

13

Re: Attachment_Mod_2.0.1

Ñïàñèáî. Âñå ïîñòàâèëîñü.
Íî âîçíèêëà íîâàÿ ïðîáëåìà! Ïî÷åìó ôîðìà äëÿ ïðèêðåïëåíèÿ ôàéëà ïîÿâëÿåòñÿ òîëüêî ïðè ðåäàêòèðîâàíèè ïîñòà??? Ïðàâèëüíåé áû áûëî, åñëè îíà  ïîÿâëÿëàñü ïðè íàæàòèè íà "Îòâåòèòü".

14

Re: Attachment_Mod_2.0.1

??? ??? ? ???????????

? ????-?????? ??? ??? ??????? ?? 1.2.11 ??????????

15

Re: Attachment_Mod_2.0.1

????? ??????, ?? attachment mod ???????????? ? smilylist...?.?. ???????? ??? ??, ??? ??. ???????? ??? ? ???, ??? ??? ???????? ?????? ???????????? ?????? forms.... ??????, ??? ?? ??????????, ????? ???????? ? ?? ? ?? ???????????????

16

Re: Attachment_Mod_2.0.1

Çäðàâñòâóéòå!
Ïðè èñïîëüçîâàíèè Attachment Mod 2.0.1 âîçíèêëà ïðîáëåìà:
1) Ïðèêðåïëÿåì ê ñîîáùåíèþ êàðòèíêó
2) Æìåì ÐÅÄÀÊÒÈÐÎÂÀÒÜ
3) Èñïðàâëÿåì òåêñò (òîëüêî òåêñò!) ñîîáùåíèÿ
4) Æìåì ÎÒÏÐÀÂÈÒÜ
5) Èñ÷åçàåò ïðèêðåïëåííàÿ êàðòèíêà

×òî äåëàòü?

P.S. PunBB 1.2.11