Resources

My Agape try

Your Agape try


Support Forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Why disabling cache in safe-mode?

UserPost

2:16 pm
March 4, 2009


Uli

Member

posts 6

1

Why is the cache disabled in safemode? e.g. when running php as fastcgi every file gets created under the user php is running on. So no "ghost"-files. Make it optional, i want to decide that!

Thanks!

12:34 pm
March 5, 2009


Kevin

Admin

posts 1385

2

Role Scoper's persistent cache is a port of WordPress 2.3's cache.php (cache file storage was removed from it in WP 2.5). I just carried the safe_mode check over from the WP code, and have never scrutinized it.

If you want to pursue this, edit your plugins/role-scoper/hardway/cache-persistent.php to comment out all the code that pertains to ini_get('safe_mode'). Then let me know how it goes and if all is well I will make a change in the RS code.

4:23 pm
March 5, 2009


Uli

Member

posts 6

3

That is how i got it circumvented. I'm using it right now and it works just fine on my host.

I'm running apache2.2 with mod_fcgid and php5.

So perhaps you now can make it optional :)

Thank you very much for all your work!

10:43 am
March 9, 2009


Kevin

Admin

posts 1385

4

The next version of Role Scoper will skip the safe_mode check if you put

define ( 'SCOPER_SAFE_MODE_CACHE', true );

in wp-config.php

11:03 am
March 9, 2009


Uli

Member

posts 6

5

Great! Thank you very much!



Reply to Topic: Why disabling cache in safe-mode?

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 3        (Required)

Topic Reply:


 

About the Agapetry forum

Currently Online:

jgilles

8 Guests

Maximum Online: 88

Forums:

Groups: 2

Forums: 7

Topics: 703

Posts: 3189

Members:

There are 640 members

There are 1 guests


Kevin has made 1385 posts

Top Posters:

metal450 - 98

YikYak - 58

Ragnar - 36

Daisy - 35

victar - 33

Administrator: Kevin | Moderators: Kevin