Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/templates/netjuice/index.php on line 3
sef link in cache file - Forum - Fun with Joomla!

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/pathway.php on line 230

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/pathway.php on line 276

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269
Start arrow Forum
 

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/components/com_mambelfish/mambelfish.html.php on line 142

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276
Polska wersjaEnglish version
 
Fun with Joomla!  


Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276
Start |
Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276
Odpowiedz |
Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276
Rozwiń wątki | Pomoc

BrOncO
Użytkownik

Fresh Boarder
Posty: 1
graphgraph
Oklaski: 0  
sef link in cache file - 2008/11/23 00:51 hello, i ave see that sef url is not added in the cache file, this make a query for every link every reload. (i use sef advance)

the solution is simple (only tested in joomla 1.0x)

open file sefservicemap.php and find line 199:
Code:

  $str trim ("<sefrec><sefsm>".$name."<sefsm>".$link."<sefsm>".$image."<sefsm>".$level."<sefsm>".$icon_path."<sefsm>".$lastmod."<sefsm>".$changefreq."<sefsm>".$priority."<sefsm>".$description."<sefsm>")."\n";


replace with:
Code:

        $link=sefRelToAbs($link);       $str trim ("<sefrec><sefsm>".$name."<sefsm>".$link."<sefsm>".$image."<sefsm>".$level."<sefsm>".$icon_path."<sefsm>".$lastmod."<sefsm>".$changefreq."<sefsm>".$priority."<sefsm>".$description."<sefsm>")."\n";



find line 281:

Code:

  echo '<div '.$class.'><a href="'.sefRelToAbs($element->link).'">'.$image.$name.'</a>'.$description."</div>\n";



replace with:
Code:

        if(eregi('option=com_',$element->link)) $links=sefRelToAbs($element->link);     else $links=$element->link;          echo '<div '.$class.'><a href="'.$links.'">'.$image.$name.'</a>'.$description."</div>\n";




Find line 311 and 353:
Code:

  $link sefRelToAbs($link);



replace with:
Code:

  if(eregi('option=com_',$link)) $link=sefRelToAbs($link);

  | | | Zaloguj się aby wysyłać post.
admin
Admin

Admin
Posty: 5
graphgraph
Oklaski: 0  
Odp:sef link in cache file - 2008/11/23 10:20 Welcome BrOncO.
Good solution, it decreases server load. Will be changed in next SVN.

Thanks again,
Radek.
  | | | Zaloguj się aby wysyłać post.
 

Zapomniałeś hasła?? Nie masz konta? Załóż sobie

Informacje o forum
Nasi użytkownicy napisali: 536 wiadomości.
Mamy 19128 zarejestrowanych użytkowników na stronie.
Ostatnio na stronie zarejestrował się: Brianhenly
Aktualnie odwiedza nas 79 użytkowników online: 79 gości i 0 zarejestrowanych użytkowników
Zarejestrowani użytkownicy online: brak

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 200

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 204

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 218

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function eregi() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 269

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 275

Deprecated: Function split() is deprecated in /home/michal/domains/fun.kubera.org/public_html/includes/sef.php on line 276
| Kontakt | Mapa Serwisu |