fotografix
21-10-2008, 09:41
Mam postawiony serwis na Joomli 1.5.5 i przy tworzeniu nowego modułu wyskakuje mi następujący błąd:
Fatal error: Class 'SW ' not found in /home/fotografix/ftp/nek/warmia/libraries/joomla/language/language.php on line 171
podmieniłem ten plik 'language.php' na taki sam z innego serwisu gdzie jest wszystko ok' jednak nadal jest ten sam efekt.
Kod którego dotyczy błąd wygląda następująco
-------------------------------------------------------------------------
{
if (defined($string)) ------ to jest linia 171
{
$string = $this->_debug ? '!!'.constant($string).'!!' : constant($string);
// Store debug information
if ( $this->_debug )
{
$caller = $this->_getCallerInfo();
if ( ! array_key_exists($key, $this->_used ) ) {
$this->_used[$key] = array();
}
$this->_used[$key][] = $caller;
}
}
-------------------------------------------------------------------------
Nie mam problemu z kopiowaniem już istniejących modułów i cały serwis pracuje bez żadnych problemów.
Jeżeli znacie przyczynę tego problemu i sposób jego rozwiązania będę bardzo zobowiązany za pomoc.
adres serwisu www.warmia.nek.pl (http://www.warmia.nek.pl)
Fatal error: Class 'SW ' not found in /home/fotografix/ftp/nek/warmia/libraries/joomla/language/language.php on line 171
podmieniłem ten plik 'language.php' na taki sam z innego serwisu gdzie jest wszystko ok' jednak nadal jest ten sam efekt.
Kod którego dotyczy błąd wygląda następująco
-------------------------------------------------------------------------
{
if (defined($string)) ------ to jest linia 171
{
$string = $this->_debug ? '!!'.constant($string).'!!' : constant($string);
// Store debug information
if ( $this->_debug )
{
$caller = $this->_getCallerInfo();
if ( ! array_key_exists($key, $this->_used ) ) {
$this->_used[$key] = array();
}
$this->_used[$key][] = $caller;
}
}
-------------------------------------------------------------------------
Nie mam problemu z kopiowaniem już istniejących modułów i cały serwis pracuje bez żadnych problemów.
Jeżeli znacie przyczynę tego problemu i sposób jego rozwiązania będę bardzo zobowiązany za pomoc.
adres serwisu www.warmia.nek.pl (http://www.warmia.nek.pl)