1
qcorek
php usage question
  • 2008/1/18 20:34

  • qcorek

  • Just popping in

  • Posts: 68

  • Since: 2007/10/7


ok;
when i'm using XOOPS i often get error message looks like this:

eg.
Constant _DB_POSLINE_DESC already defined in file /modules/backup/language/english/modinfo.php line 24



so i'would like to know what should i understand by this;

that some constant is already defined somewhere...
as u can see i know where and what
question is

what can i do to get rid of this kind of error messages?

regards

2
trabis
Re: php usage question
  • 2008/1/18 20:45

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


"probably" you have the same definition in
/modules/backup/language/english/main.php

It is nothing you should worry about.
To get rid of those messages turn debugger off, eheh, or try to comment that duplicated line in main.php
/* DEFINE (_BLABLABLA...);*/

3
qcorek
Re: php usage question
  • 2008/1/18 22:24

  • qcorek

  • Just popping in

  • Posts: 68

  • Since: 2007/10/7


but when i delete this line there won't be this constant at all...
what cause this error?

4
BlueStocking
Re: php usage question

The problem seems to be indentified and fixed on this short thread.

http://xoops.peak.ne.jp/md/d3forum/index.php?topic_id=2429

from Posted on 2007/4/23 10:23 to the end of page
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

5
hralph
Re: php usage question
  • 2008/2/9 14:54

  • hralph

  • Just popping in

  • Posts: 6

  • Since: 2006/1/25


Greetings,

Quote:
"probably" you have the same definition in


This is true in;

Constant _DB_POSLINE_DESC already defined in file /modules/backup/language/english/modinfo.php line 24

check on line 22, for what ever reason it is defined twice.

I commented out line 22 and found the error message is gone.

I think it is in there twice to draw your attention to the notes with it.

Login

Who's Online

340 user(s) are online (200 user(s) are browsing Support Forums)


Members: 0


Guests: 340


more...

Donat-O-Meter

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

Latest GitHub Commits