Advertisement:
A2Hosting

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004350SMF 2.1[All Projects] Generalpublic2010-07-13 23:282012-06-15 18:45
ReporterKill Em All 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004350: shows only one accelerator
DescriptionIf multiple accelerators are installed on the server, SMF will only show one being installed. I personally could not try this, but two people have confirmed it.
http://www.simplemachines.org/community/index.php?topic=390074.msg2696868#msg2696868 [^]

Link up there is description, scroll down further and a fix is provided by live627.
Tags2.1, With Fix
Attached Files

- Relationships

-  Notes
(0012518)
feline (Beta Tester)
2010-07-14 17:06

True .. if more then one installed (eg. eaccelerator and memcached) then eaccelerator is used. Here we need checkboxes (I think) for each found caching as example:
[ ] eaccelerator
[ ] memcached
[ ] file
(0012519)
groundup (SMF Friend)
2010-07-14 17:58

Radio buttons. We shouldn't use multiple caches (which is what we're really discussing here. We aren't concerned with accelerators - it's above our level).
(0012520)
feline (Beta Tester)
2010-07-14 18:55

Yeah sorry .. my bad. I mean radio buttons :)
(0012523)
groundup (SMF Friend)
2010-07-14 23:34

Considering that most people will NOT have multiple caches installed, the late nature of this bug, and the number of people this will affect, do we push this to Saguaro?
(0012525)
Nibogo (SMF Friend)
2010-07-14 23:43

I agree in addition to that this isn't a fatal bug, if someone has more two or more accelerators well he'll be ok using any of them maybe include live627's fix so people will know that their accelerators are detected.
(0012526)
groundup (SMF Friend)
2010-07-14 23:49

The fix is actually really simple. Perhaps if one of the devs want to commit it. I'm moving it to Saguaro in the interim.
(0012527)
Nibogo (SMF Friend)
2010-07-15 00:04

That fix do it, it's pretty simple, easy to implement and bugs free so I can't see why not include it in RC4 and leave the radio buttons thing for Saguaro. Let see what Devs says.
(0012529)
feline (Beta Tester)
2010-07-15 06:24

I think, it's a good point to put the cachefunctions in a functon array (like $smcFunc).
$smcCacheFunc = array(
'cacheput' => ....,
'cacheget' => ....,
'cacheclear' => ...);
So we need no test on each read/write the cache. It's easier and speed up each cache access...
(0012531)
Ensiferous (Beta Tester)
2010-07-15 09:46

I don't understand this. It makes no sense to have two opcode caches installed nor two content caches. Why is support for multiple required? If anything there should be a drop down box to select which content cache to use.
(0014529)
Spuds (SMF Friend)
2012-03-30 09:00

Commit:8cdc309d309071172bf2002ba6fec6bbe1fe52b1

! move cache engine choice to the setting.php file, instead of saving the choice in a cached file?
! allow choosing from any installed cache engines (dropdown of detected engines)
! clean_cache updates to clean other caches, not just smf cache
! re-layout the cache settings page
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group