1
Tocpe
myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/18 1:47

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


I'm having a problem with myAlbum and I think WF-Section 2.0.1. But basically when I click on my "galley" link in my main menu I now get a blank page. I'm not exactly sure what's causing it but here is the PHPdebug message I get:

Fatal error: Cannot redeclare convertorderbyin() (previously declared in /modules/myalbum/include/functions.php:494) in /modules/wfsection/include/functions.php on line 495

(I removed my server info)

Running XOOPS 2.0.6. Any ideas? How can I patch/fix this?

2
phppp
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/18 2:08

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


They use a same function convertorderbyin()
You need remove one

I remember there is another such problem. Might have been corrected.

3
Tocpe
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/18 2:10

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


you mean remove one of the modules...

4
phppp
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/18 2:18

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


no
remove the function from module 1
and in module 1: include_once module2/include/functions.php
or move the function from both module to ROOT/include/functions.php

5
Tocpe
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/18 2:25

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


oooh. Gotcha! Thanks!

6
GIJOE
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/21 0:34

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


it must be a bug.
(An issue of naming space)
I'll fix it.

Thanks!

7
Catzwolf
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/21 1:39

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

GIJOE wrote:
it must be a bug.
(An issue of naming space)
I'll fix it.

Thanks!


@GIJOE:

We have already done this to WF-Sections =)

Side Note: I believe that these functions are XOOPS native functions? If so why where they not included with ROOT/include/functions.php?

Liquid

8
GIJOE
Re: myAlbum-P 2.75b & WF-Section 2.0.1
  • 2004/6/25 9:34

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi Liquid.

Quote:

We have already done this to WF-Sections =)

Side Note: I believe that these functions are XOOPS native functions? If so why where they not included with ROOT/include/functions.php?

Liquid

convertorderbyin() is origined from myLinks, I think.
And this function is not so well-designed.

In myAlbum-P 2.8, I've eliminated the functions like convertorderby*.

Thus, I don't think such functions should be placed in XOOPS_ROOT_PATH/include/functions.php.

Login

Who's Online

364 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 364


more...

Donat-O-Meter

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

Latest GitHub Commits