Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache problems, again
09-27-2009, 06:00 PM (This post was last modified: 09-28-2009 06:55 PM by ghostdlr.)
Post: #1
Cache problems, again
Today I found 5 of my templates edited . Actually, a user edited his template on his satellite forum and my master forum templates were also edited , not to mention the usually template not found in cache problem (see third screenshot).
When something like this happens I used to reset templates only to the affected forums and check the full list manually .

I posted about this issue a while ago, I taught I found the problem (a extra css table added by a plugin) but it seems I was wrong . I don't know what to do .
Brandon, if I provide you the login details, can you please take a look ?

[Image: 43722993842801294030_thumb.jpg]

[Image: 24015458680497364404_thumb.jpg]

[Image: 89591633826311833518_thumb.jpg]
Find all posts by this user
Quote this message in a reply
09-28-2009, 04:03 AM
Post: #2
RE: Chache problems, again
Yeah, I can take a look. I will need the Host Admin CP, Master Forums and Affected Forum login details so I can take a look at everything that may be the issue. (PM me this, please. Smile )

Also, if I could have CPanel / DB access that would be good as well, just because I want to take a look at your database structure and make sure it looks as it should.

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-30-2009, 03:45 AM
Post: #3
RE: Cache problems, again
I'm also getting this problem, was it ever fixed?
Find all posts by this user
Quote this message in a reply
12-21-2009, 11:35 PM (This post was last modified: 12-21-2009 11:35 PM by koenwi.)
Post: #4
RE: Cache problems, again
Hi

Is there already a solution for this problem?
Or is it possible that you disable the theme cache (but that users can edit there themes) or make it so that every user has it's own cache folder? Because now every forum use the same cache (I think) and when 1 user edit a theme, it makes sometimes problems by the other forums?

Mvg / kind regards
Real men don't click...
Visit this user's website Find all posts by this user
Quote this message in a reply
12-22-2009, 05:51 AM
Post: #5
RE: Cache problems, again
For the new version I am working on separate caches for each forum. For your install though are you using a file or database based cache? This can be set in inc > config.php manually. If you use a database cache it should work fine.

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-22-2009, 06:49 AM
Post: #6
RE: Cache problems, again
I use database cache: $config['cache_store'] = 'db';
But is that config not for the normal cache files such as: badwords, stats,.. instead of the theme cache? Because I have also the problem that my master forum templates were edited sometimes and I use there 'db'.
But i wait then for the new version Smile .

Mvg / kind regards
Real men don't click...
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2010, 10:32 PM (This post was last modified: 01-31-2010 10:38 PM by koenwi.)
Post: #7
RE: Cache problems, again
@ BMR777: Did you already find a solution for the new version?

Because I have done some tests (I hope for a quick sollution, also for this version, because it really give some problems), and when you change in admin/inc/functions_themes.php and admin/modules/style/themes.php: " cache/themes/theme{$tid} " in " users/{$fname}/cache/themes/theme{$tid} " users have there own cache.

It's necessary that you create the folders cache/theme in every users/forumname/
That you also make this in the forumcreate
And that you put the script: $ref = $_SERVER['HTTP_HOST']; ... (see config file mybb, I put the whole code when I'm sure it work correctly)

Users use at that moment de default cache folder, but when they make a change, the script will use the personal cache folder, so you haven't the problem any more.
I haven't test it completely, I just post it here so BMR777 or other people can see it is a solution and for some feedback of the idea, maybe someone else already has a better solution (than I stop waste my time with it)?

Mvg / kind regards
Real men don't click...
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2010, 05:52 AM
Post: #8
RE: Cache problems, again
I've been looking into this for the new version and I do think that each forum will need its own cache folder. This should be fixed for the new version and I may also release a patch for this version if I can get it working on existing installs. Smile

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2010, 06:29 AM (This post was last modified: 02-01-2010 06:29 AM by koenwi.)
Post: #9
RE: Cache problems, again
But can you give already some information about how you gonna do this? (so we can find a system now that almost work the same?)
I want promote my host, but I can't now because more and more people have problems with it than.
And I can't use my solution, because it maybe give some problems if you make your script on a different way.

Mvg / kind regards
Real men don't click...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: