Start arrow Forum
 
Polska wersjaEnglish version
 
Fun with Joomla!  


simon_w
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 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
  | | | The administrator has disabled public write access.
simon_w
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 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
  | | | The administrator has disabled public write access.
 

Lost Password?? No account yet? Register

Forum Info
Our users have posted a total of 370 articles.
We have 1068 registered users.
The newest registered user is: Gilles
In total there are 362 users online: 362 guests and 0 registered
Registered Users online: none