1
Parafal
Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/4/29 23:18

  • Parafal

  • Just popping in

  • Posts: 98

  • Since: 2003/6/7 2


HI,

I'm using the new XOOPS version and I installed the WF-FAQ 1.05.
Everything was install perfectly.
I creat some categories but when I click on the link WF-FAQ in the menu, nothing appear, just a blanck page.

I turned on the php debug and I got this erro:
Quote:
Fatal error: Cannot redeclare listgroups() (previously declared in /home/airsoftb/public_html/html/include/groupaccess.php:13) in /home/airsoftb/public_html/html/modules/wfsection/include/groupaccess.php on line 13


Can anyone help me?
Thanks

2
Catzwolf
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 11:51

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You will have to change every line:

include(XOOPS_ROOT_PATH . "/include/groupaccess.php");

to

include_once(XOOPS_ROOT_PATH . "/include/groupaccess.php");

In the module.

There will be another version of WF-FAQ out very soon, and it will not have this problem.

3
phppp
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 12:07

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Catz, I think you foget to change the wfsection v2 beta.

For the old wfsection, I just modified the
wfsection/include/groupaccess.php to

// $Id: Groupsaccess.php,v 1.4Date: 06/01/2003, 
// Original Author: Halfdead
// Update Author: Catzwolf
//                   Danielblues 
//Exp $

include_once(XOOPS_ROOT_PATH "/include/groupaccess.php");
?>


Is this the right way?

some other modules also use these functions

4
Parafal
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 12:15

  • Parafal

  • Just popping in

  • Posts: 98

  • Since: 2003/6/7 2


Catz,

I can't explain but the WFFAQ start to work without any modification!
Nice module and thanks!

5
Catzwolf
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 12:18

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

phppp wrote:
Catz, I think you foget to change the wfsection v2 beta.

For the old wfsection, I just modified the
wfsection/include/groupaccess.php to

// $Id: Groupsaccess.php,v 1.4Date: 06/01/2003, 
// Original Author: Halfdead
// Update Author: Catzwolf
//                   Danielblues 
//Exp $

include_once(XOOPS_ROOT_PATH "/include/groupaccess.php");
?>


Is this the right way?

some other modules also use these functions


No I have changed the way this works in WF-Section Beta. WF-Section now uses it's own Group Access functions and this was to stop all those blank pages due to all the modules useing these functions.

I have all my modules installed on my test box and all the modules are now working correctly without any problems. So I would suggest not touching the WF-Section code

EDIT: Just noticed your new post LOL Glad its working again lol (Did you install WF-Section Beta then?)

6
Parafal
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 12:23

  • Parafal

  • Just popping in

  • Posts: 98

  • Since: 2003/6/7 2


I'm using the WF-Section too! I not sure about the version but I think I downloaded last week.

Thanks again!

7
phppp
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 12:25

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

Catzwolf wrote:
No I have changed the way this works in WF-Section Beta.


Really?
I downloaded the v2 beta yesterday and noticed the un-changed groupaccess. Am I wrong or you

Have not installed yet. I am lazy. I still remember the promise that I can sit and wait for a perfect one

8
Bender
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 13:34

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Quote:

Parafal wrote:
I'm using the WF-Section too! I not sure about the version but I think I downloaded last week.

Thanks again!


Hi Parafal,

if you downloaded wf-section last week make sure you read this thread.

9
Parafal
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 15:57

  • Parafal

  • Just popping in

  • Posts: 98

  • Since: 2003/6/7 2


Thanks Bender,

I'm using the WF-section v. 1.0.1 should I install the new one?

10
Catzwolf
Re: Problem with WF-FAQ 1.05 in XOOPS 2.0.6!
  • 2004/5/4 16:07

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


This new version is for beta testing only and should not be considered for a production site.

I hope to have a stable release out very soon (No time frame set as yet).

Login

Who's Online

137 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits