Start arrow Forum
 
Polska wersjaEnglish version
 
Fun with Joomla!  


simon_w
Użytkownik

Fresh Boarder
Posty: 2
graphgraph
Oklaski: 0  
Breaks JACPlus? - 2007/09/11 11:21 Hi!

I'm trying to use JAccelerator (which looks great, by the way!) with my site, which uses JACLPlus. Whenever I turn on the JAccelerator component, my access rules set using JACLPlus are ignored, even for components/modules which aren't being cached.

Do you have any idea why this might be? I'm a bit of a hacker myself, but can't work this one out. If you have any suggestions, or can point me in the right direction, hopefully I can fix the problem and report back to help others with the same problem.

Any suggestions on what might be causing the problem will be very gratefully received!

Thanks,

Simon
  | | | Zaloguj się aby wysyłać post.
simon_w
Użytkownik

Fresh Boarder
Posty: 2
graphgraph
Oklaski: 0  
Re:Breaks JACPlus? - 2007/09/11 11:49 OK - I've fixed it (I think...!)

If anyone is having the same problem I was, try the following:

components/com_joomlacache/includes/frontend.php, line 92:
Code:

 "\n AND m.access <= $my->gid"



change to:
Code:

 "\n AND m.access " . ( isset($my->jaclplus) ? "IN ( $my->jaclplus )" "<= ". (int) $my->gid )



should work (and will be fine if JACLPlus is not installed or activated). Might be worth including in future releases?

Hope this helps someone!

(and if any devs read this, and think I've missed something, please let me know!)

Simon
  | | | Zaloguj się aby wysyłać post.
 

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

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