PDA

Zobacz pełną wersję : JComments- błąd editor.php



bnk
11-03-2010, 21:36
Dzisiaj zainstalowalem JComment. Nie znalazłem a więc mam nadzieję że wy mi pomożecie. Tak więc:

instalując komponent napotkałem się na takie błędy:


JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
JFolder::create: Nie można utworzyć katalogu
Copy failed
Copy failed
Copy failed


Nie wiem o co chodzi gdyż nie jest napisane gdzie konkretnie jest błąd. Mimo to komentarze normalnie się wyświetlają, a ja mogę wszystko normalnie konfigurować. Problem zaczyna się gdy wejdę w edytor:

PHP Error Message
Fatal error: Call to undefined method stdClass::onDisplay() in /home/XXXXXX/public_html/libraries/joomla/html/editor.php on line 268


Wszedłem tam i pisze tam coś takiego:
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;"> // Try to authenticate -- only add to array if authentication is successful
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;"> $resultTest = $plugin->onDisplay($editor);
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;"> if ($resultTest) $result[] = $resultTest;
<li style="font-weight: bold;"> }
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;">
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;"> return $result;
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;"> }
<li style="font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;">
Podejrzewam że to jakiś problem z chmodami. Nie wiem w zasadzie jak dokładnie ustawić i które pliki bo moduł jest dosyć obszerny. Wydaje mi się że już ktoś miał podobny problem tak więc proszę o pomoc