Andreas Fischer
b9f4240c10
[ticket/10110] Remove multi-server syntax from Redis ACM.
...
PHPBB3-10110
2011-06-11 01:47:50 +02:00
Eric
ddda094d3a
[ticket/10110] Remove tab from empty lines
...
PHPBB3-10110
2011-03-31 20:16:53 +02:00
Eric
9891f5a8d2
[ticket/10110] Enable the serialization and add a constant for
...
defined the database
PHPBB3-10110
2011-03-31 20:16:53 +02:00
Eric
f18d93756c
[ticket/10110] Update comments with a link to the phpredis extension
...
PHPBB3-10110
2011-03-31 20:16:53 +02:00
Eric
fad7333e72
[ticket/10110] Add Redis ACM backend
...
PHPBB3-10110
2011-03-31 20:16:52 +02:00
Oleg Pudeyev
5e97dd74c7
[ticket/10014] Clearly indicate fatal errors in file acm.
...
If acm_file cannot open the cache file for writing, it prints a message
to that effect and calls die(). The message itself does not indicate that
it is a fatal error, and someone seeing the message might expect that
inability to write to cache is not fatal.
Make it clear that the error is fatal by printing the word "Fatal" before
the message.
PHPBB3-10014
2011-01-28 15:31:41 -05:00
ChrisTX
d7287ec633
[feature/acm-wincache] Adding caching module for WinCache's User Cache.
...
PHPBB3-9942
2010-12-13 00:14:57 +01:00
Joas Schilling
5e330044b8
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
...
In the ACM-Modules we need to check whether the function is loaded, before we
use it, as this is not the case from download/file.php in avatar-mode.
PHPBB3-9519
2010-08-19 12:30:24 -04:00
Joas Schilling
4c95ed0eeb
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
...
acm_memory.php is untested. install/install_convert.php and
includes/functions_convert.php are going to be tested and committed afterwards.
PHPBB3-9519
2010-08-10 16:11:39 +02:00
mrkurt
c57c1f3fc6
[feature/memcache-multi-server] Changing format for multiple memcache hosts. Fixing code style issues in changes.
...
Host and ports are now represented like this in config:
host1/port1,host2/port2,host3/port3
2010-03-18 17:01:50 +01:00
mrkurt
559313eda6
[feature/memcache-multi-server] Adding support for multiple memcache servers to acm_memcache.php
...
You can define multiple memcache servers in your config using this format:
host::port,host::port,host::port
Example:
@define(PHPBB_ACM_MEMCACHE, '127.0.0.1::11211,10.0.0.2::11211,memcache1::11211'
2010-03-18 17:01:21 +01:00
Chris Smith
4a80b883ab
Oops thanks rxu, fixes r10309 refs #54465
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10396 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-01-07 09:09:39 +00:00
Andreas Fischer
faf95e858f
Bug #55865 - Correctly move sql_row_pointer forward when calling sql_fetchfield() on cached queries.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10379 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-12-25 15:55:35 +00:00
Chris Smith
3665540ffb
Check for required eAccelerator functions #54465
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10309 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-12-09 22:16:53 +00:00
Chris Smith
aedff9c97a
Fix potential data corruption issues with memcache ACM
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10307 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-12-08 22:55:33 +00:00
Chris Smith
75ae7aee97
Fix some issues with XCache, can't totally resolve the purge() method as XCache does not expose its settings to userland PHP. #46435
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9579 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-13 13:14:27 +00:00
Meik Sievertsen
a539fca62b
some corrections, only very minor things.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9554 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-07 11:34:01 +00:00
Chris Smith
9c00496ff5
Fix a small bug with xcache (thanks bantu), and some code consistency changes
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9544 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-05 15:40:56 +00:00
Chris Smith
a7c7f6a6a8
Here we go! New data format for the file ACM module:
...
- No longer PHP files that are included
- Contain a simple PHP header to stop people attempting to read them
- Read using file system functions only reading as much data as required
Result is:
- Better performance by minimising file system reads
- Injected HTML from nasty scripts no longer contaminates the board
- Opcode caches are no longer thrashed and fragmented by the many files we generate
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9543 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-05 14:51:17 +00:00
Chris Smith
832c6b2f62
Use unique per board cache keys per [1] important when using shared memory from opcode caches with multiple boards on one server.
...
[1] http://area51.phpbb.com/phpBB/viewtopic.php?p=201739#p201739
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9541 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 15:59:42 +00:00
Chris Smith
cd1c5de3a5
Finished I hope, appropriate errors when modules are missing.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9540 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 15:37:53 +00:00
Chris Smith
0cdad21cb3
Introduce XCache and eAccelerator, make some small changes to the abstract, forgot a period in the command for r9537 :(
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9538 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 15:04:36 +00:00
Chris Smith
aec3a498de
Lets follow some PHP4 conventions underscores for internal methods.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9536 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 14:34:07 +00:00
Chris Smith
6c025db9ec
Add APC
...
Modify Memcache to use the memory abstract
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9534 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 14:00:34 +00:00
Chris Smith
63c830af34
ACM memory abstract class
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9533 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 13:52:37 +00:00
Chris Smith
5478ef15d3
Backport memcache ACM module from Ascraeus
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9531 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-04 12:29:34 +00:00
Chris Smith
ffbc25e17a
New caching plugin, won't cache anything
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9526 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-02 21:29:51 +00:00
Meik Sievertsen
d9468c35da
add IN_PHPBB check to generated cache files
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9363 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-11 12:53:54 +00:00
Meik Sievertsen
36ccf7c6d7
Fix infinite loop in message handler if cache directory is not writable. (Bug #38675 )
...
- newer PHP versions handle this quite fine, a Fatal Error is returned in this case
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9353 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-01 13:37:53 +00:00
Chris Smith
a94ed97992
Missing read permission from calls to phpbb_chmod()
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9208 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-19 20:36:18 +00:00
Meik Sievertsen
f588f58fa9
small adjustement... only add an empty array if cached data is empty (from 3.2.x)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9076 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-22 19:06:42 +00:00
Meik Sievertsen
3d9eb90d72
make sure phpbb_chmod is able to be called
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9073 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-22 18:00:45 +00:00
Meik Sievertsen
1f01089e2f
Use phpBB 3.1.x method for storing cached data to prevent PHP bug with our usage of var_export(). (Thanks to Techie Micheal and HoL for pointing out possible problems)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8955 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-29 15:58:42 +00:00
Meik Sievertsen
6c763cd8b6
change the way we do chmodd'ing. I know, my implementation really sucked... good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8780 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-08-22 12:52:48 +00:00
Meik Sievertsen
068096531f
the chmod change i already had within the changelog (by mistake). This should further secure writable directories and created files.
...
Installation need to be tested on different hosts.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8763 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-08-16 19:06:18 +00:00
Meik Sievertsen
c2133550d0
writable instead of writeable. :/
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8698 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-07-28 14:36:27 +00:00
Meik Sievertsen
b5a1ddffa0
Do not rely on parameter returned by unlink() for verifying cache directory write permission - #19565
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8388 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-02-23 11:45:38 +00:00
Meik Sievertsen
9b751a330d
- Re-populate arrays on cache purge/save to allow re-using some functions without warnings
...
- fix the annoying "last page empty" bug on inactive users page.
git-svn-id: file:///svn/phpbb/trunk@8239 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-17 12:14:27 +00:00
Meik Sievertsen
7de5bb3498
dumdidum... sorry. ;)
...
git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-10-05 14:36:34 +00:00
Meik Sievertsen
bd33acd012
some fixes
...
git-svn-id: file:///svn/phpbb/trunk@7866 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-11 15:03:06 +00:00
Meik Sievertsen
e5ae1698ca
more failsafe "glob()" method.
...
git-svn-id: file:///svn/phpbb/trunk@7863 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-10 17:36:59 +00:00
Meik Sievertsen
b883ff119f
let's see if i can break something. :o
...
git-svn-id: file:///svn/phpbb/trunk@7830 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-03 15:36:18 +00:00
Meik Sievertsen
5634fad4ae
some fixes...
...
git-svn-id: file:///svn/phpbb/trunk@7813 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-06-30 15:04:49 +00:00
Meik Sievertsen
f7b51337c5
some language-specific adjustements
...
fix prune users (adding the list of users to the confirmation page)
tried to fix the show/hide trigger in ACP by not using width: auto; (which gets somehow inherited to each other element)
git-svn-id: file:///svn/phpbb/trunk@7455 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-05-03 14:29:22 +00:00
Meik Sievertsen
9f82dec04b
some changes/bugfixes
...
git-svn-id: file:///svn/phpbb/trunk@7241 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-03-30 10:49:06 +00:00
David M
16d26c106b
#5137
...
git-svn-id: file:///svn/phpbb/trunk@7211 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-03-20 03:40:18 +00:00
Meik Sievertsen
1046c60211
we support PHP4. :o
...
git-svn-id: file:///svn/phpbb/trunk@7112 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-03-03 15:05:35 +00:00
Meik Sievertsen
e527bc6f4c
this change should be a performance boost on destroying the sql cache... took several seconds before. This is especially noticeable on updating groups and permissions and may also fix the "blank screen" bugs.
...
git-svn-id: file:///svn/phpbb/trunk@7111 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-03-03 14:56:33 +00:00
Meik Sievertsen
31e546c5e4
- fixing some bugs
...
- removing utf8 characters from email files (has been discussed internally, you guys know why)
- making sure some opendir calls are checked before calling readdir.
git-svn-id: file:///svn/phpbb/trunk@6912 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-01-20 17:58:27 +00:00
Meik Sievertsen
3a8c3971da
- use var_export instead of our format_array function [Bug #6748 ]
...
- fix dumb error in column naming [Bug #6750 ]
- Make sure to catch some special conditions for cpf translation as well as correctly removing/adding default values on language installation/removing [Bug #6752 ]
git-svn-id: file:///svn/phpbb/trunk@6839 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-01-04 16:07:38 +00:00