Clear cache function

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
nirtzi
Registered User
Posts: 7
Joined: Wed Jun 12, 2013 5:46 am

Clear cache function

Post by nirtzi » Wed Jun 11, 2014 6:26 am

Hello,

I use phpbb3 forums, and run a daily php script on the db server for updating user's permissions .

After running the script I found that only after clearing the cache manually from the admin panel,

I can see the changes in the forum website.

Where can I find the clear cache function in the servers library so I can add it to the automatic script?

Thanks.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21724
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Clear cache function

Post by Mick » Wed Jun 11, 2014 7:15 am

Why do you need to clear the cache to update user permissions?
"The more connected we get the more alone we become" - Kyle Broflovski

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Clear cache function

Post by Oyabun1 » Wed Jun 11, 2014 7:52 am

See the documentation that comes with the board: docs/auth_api.html#acl_cache

Changing permissions puts a big load on the database server, you may want to reconsider why you are updating permissions daily and whether it is actually necessary.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

nirtzi
Registered User
Posts: 7
Joined: Wed Jun 12, 2013 5:46 am

Re: Clear cache function

Post by nirtzi » Wed Jun 11, 2014 7:55 am

I don't know.

The script deletes, inserts and upates user groups and group permission to the forum's db.
After the script is done, I can only see a small part of the web site forum (apparently because of permission issue) and after purging the cache, I can see all forum lists...

User avatar
PinoyEngine™
Registered User
Posts: 244
Joined: Fri Apr 24, 2009 7:12 am

Re: Clear cache function

Post by PinoyEngine™ » Wed Jun 11, 2014 11:39 am

I suggest you edit your original script to do its function inside the Admin Panel. Purging the cache as cron job would load your server.

User avatar
3Di
Former Team Member
Posts: 14482
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Clear cache function

Post by 3Di » Thu Jun 12, 2014 5:27 am

nirtzi wrote:Hello,

I use phpbb3 forums, and run a daily php script on the db server for updating user's permissions .

After running the script I found that only after clearing the cache manually from the admin panel,

I can see the changes in the forum website.

Where can I find the clear cache function in the servers library so I can add it to the automatic script?

Thanks.
I posted it in 2009 -- viewtopic.php?f=71&t=1472175 -- check it out.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

Locked

Return to “[3.0.x] Support Forum”