Attention: Example Topic
[RESOLVED] Important: A second example
Posted by imkingdavid on 06/03 A final example
Code: Select all
Fatal error: Cannot redeclare class tmm_cache in /home/-----/----/includes/mods/functions_tmm_cache.php on line 115
Not a very nice error I know but try purging your boards cache and refresh your templates, and that should get rid of that error for you.Ratmaster wrote:The second problem is more annoying as I couldn't find out how to fix this. When I try to view a topic, I just get a blank page with the error:All that is on that line is a "}".Code: Select all
Fatal error: Cannot redeclare class tmm_cache in /home/-----/----/includes/mods/functions_tmm_cache.php on line 115
Because we had more problems with RockBridge, we decided to use RokBridge only for the synchronisation of users and login state. And not for viewing the forum. This as a permanent work around for us, and should fix all problems we have with TMM.imkingdavid wrote:Hi nkn,
I am not familiar with rokbridge, and I'm currently too busy to look into it. However, when I get some more time I might be able to figure out what the problem is and possibly how to make the MOD work with it.
Sorry that it doesn't work for you, but thanks for trying and letting us know.
Alright, let me know how it works when you do so. Thanksnkn wrote:Because we had more problems with RockBridge, we decided to use RokBridge only for the synchronisation of users and login state. And not for viewing the forum. This as a permanent work around for us, and should fix all problems we have with TMM.imkingdavid wrote:Hi nkn,
I am not familiar with rokbridge, and I'm currently too busy to look into it. However, when I get some more time I might be able to figure out what the problem is and possibly how to make the MOD work with it.
Sorry that it doesn't work for you, but thanks for trying and letting us know.
We will implement this in the comming week (probably)
Hmmm... thanks for letting me know. Believe it or not, I had not thought to test posting when there were no multi-mods. I'll work on a fix for that.Ratmaster wrote:Hi, I just installed this MOD as it looks rather promising.
Right now I'm having two problems.
The first problem is the least annoying of the two. It starts when I try and post a new topic in a forum, and this is when there are currently no prefixes defined on the site yet (I don't know if this is just when there are none set for the forum, but I had none on the website at all). I don't know whether or not this error would prevent one from posting that topic, because I did not try that. What I did do was then create a tag and set it for that forum in particular, and the error disappeared, and the thread was posted.
The error was in the includes/mods/functions_tmm.php file on line 576. I believe it was something about a foreach() method.
That's an odd error. Apparently, the file functions_tmm_cache.php is being included into the script twice somewhere, specifically on viewtopic.php, where you're getting the error. However, I don't see where that is happening. Please try clearing the cache and let me know if the error goes away. I'll continue looking into it though.Ratmaster wrote:The second problem is more annoying as I couldn't find out how to fix this. When I try to view a topic, I just get a blank page with the error:All that is on that line is a "}".Code: Select all
Fatal error: Cannot redeclare class tmm_cache in /home/-----/----/includes/mods/functions_tmm_cache.php on line 115
The error should have nothing to do with the style you are using, since the error comes from the PHP code, not the HTML code.Ratmaster wrote:I am using the RC4, and my phpBB3 version is 3.0.7-PL1.
I am trying to integrate this in a subsilver2 based style, but I don't see how that could be the problem. The viewtopic_body.html file is fixed and it should work fine. The reason I say "should" is because I can't know for sure because I cannot actually view the topic.
You're welcome, and I look forward to it as well.Ratmaster wrote:Thanks, and I look forward to the final release of this MOD.
Code: Select all
foreach(self::$prefixes_cache AS $prefix_id)
Code: Select all
self::$prefixes_cache = (empty(self::$prefixes_cache)) ? array(0) : self::$prefixes_cache;
Hmm, ok. Well, I can't make heads or tails of why the error is showing up. So far, no other user has reported a similar error. Could you try it with proSilver (if you have it installed) to see if it is somehow a style error (although I can't imagine how that would be the case)?Ratmaster wrote:I've looked into the viewtopic.php file and I couldn't find anything wrong with the code inserted. I tried refreshing my templates and purging the cache but neither seemed to have solved the problem.
As far as posting the subsilver2 edits, I could when I finish, but as of right now my edits are just botched to make everything show up. If I can get the edits to show up smoothly, I'll post the changes I have made.
I have it working on 3.0.7-PL1mao43 wrote:is this working on 3.0.7-PL1??
Yes, it should work fine for most people. There is one bug that was just recently fixed in the repository, but it only occurs when trying to start a new topic when no prefixes are created. So as long as you create a prefix (even if it's just a placeholder that is not assigned to any forums or users or anything) it won't bother you. All of the multi-moderation functions work fine as well.mao43 wrote:is this working on 3.0.7-PL1??