Fork me on GitHub

Rapport de message :*
 

Re: Conflit entre wiwimod et cbb 3.05 ?

Titre du sujet : Re: Conflit entre wiwimod et cbb 3.05 ?
par gibaphp sur 29/09/2006 02:54:39

Si, exist Conflit entre wiwimod et cbb.

No final et commentarios user wizinda

Admin Crash is one problem

About CBB.

Soluction by Gizmhail in Zonatin

Citation :

Hi!

It's "normal", it's due to a small bug in CBB

So, here's how to fix it :

In several cbb file, you will find the line :

include XOOPS_ROOT_PATH.'/class/pagenav.php';

The problem is that since wiwimod uses pagenav too, there is a problem. In fact, both should use "include_once" instead of "include". Wiwimod does, but not CBB. So simply replace it by :

include_once XOOPS_ROOT_PATH.'/class/pagenav.php';

Here is a quick list of files to correct (I simply did a grep ;) ), but you'd rather search it yourself, just to be sure :
newbb/moderate.php: include XOOPS_ROOT_PATH.'/class/pagenav.php';
newbb/viewall.php: include XOOPS_ROOT_PATH.'/class/pagenav.php';
newbb/viewforum.php: include XOOPS_ROOT_PATH.'/class/pagenav.php';
newbb/viewpost.php: include XOOPS_ROOT_PATH.'/class/pagenav.php';
newbb/viewtopic.php: include XOOPS_ROOT_PATH.'/class/pagenav.php';

(there is others inclusion in the admin directory, but they do use include_once ^^)

Since I'm doing a patch for CBB, I was including this correction silently, but I'd rather tell it explicitely to phpp...but sometimes I'm a bit lazy :o) (or short of time )
So if you manage to patch your cbb, feel free to show your patch to phpp, if you want to . It will help a lot :o)


EDIT : I've just saw your post on CBB site, I'll answer you there too, to be sure you get it
[/url]
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

106 Personne(s) en ligne (85 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 106 | Plus ...