1
wcrwcr
Evennews showing undefined constants in admin area
  • 2004/9/4 8:28

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi all

I?m trying for the first time this module and installed two different versions for testing.

On both I had the same problem:

The admin?s area are full of undefined constants like that:
=========================================================
=====================
Notice: Use of undefined constant _ADM_EVENNEWS_ADMINMENU - assumed '_ADM_EVENNEWS_ADMINMENU' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\admin\index.php on line 50

Notice: Use of undefined constant _ADM_EVENNEWS_MODULECONFIG - assumed '_ADM_EVENNEWS_MODULECONFIG' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\include\functions.php on line 270

Notice: Use of undefined constant _ADM_EVENNEWS_DEFAULTPAGE - assumed '_ADM_EVENNEWS_DEFAULTPAGE' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\include\functions.php on line 271

etc
===================================
OTHER
=================================
Notice: Use of undefined constant _ADM_EVENNEWS_ADMINMENU - assumed '_ADM_EVENNEWS_ADMINMENU' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\admin\index.php on line 50

Notice: Use of undefined constant _ADM_EVENNEWS_MODULECONFIG - assumed '_ADM_EVENNEWS_MODULECONFIG' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\include\functions.php on line 270

Notice: Use of undefined constant _ADM_EVENNEWS_DEFAULTPAGE - assumed '_ADM_EVENNEWS_DEFAULTPAGE' in c:\arquivos de programas\easyphp\www\x252\modules\evennews\include\functions.php on line 271

==================================

And another one in the header?s section:

Notice: Undefined index: mess_id in c:\arquivos de programas\easyphp\www\x252\modules\evennews\admin\index.php on line 44
====================================

Any tip on cleaning up those erros?

Thanks in advance.

2
Marco
Re: Evennews showing undefined constants in admin area
  • 2004/9/4 8:52

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


seems that you don't have the correct language file...
have a look at your modules/evenenws/language folder, to see if you have the correct language file...

3
wcrwcr
Re: Evennews showing undefined constants in admin area
  • 2004/9/4 9:13

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Thanks Marco

I have just one "english".
And i?m translating it to portuguese.

Do u think that could be that?

4
Marco
Re: Evennews showing undefined constants in admin area
  • 2004/9/4 9:28

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


sure, it is !!!

5
wcrwcr
Re: Evennews showing undefined constants in admin area
  • 2004/9/4 9:36

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


But if you only have the english folder, it supposed to became the default one, isn?t it?

And even before i start the translation those erros showed up.

What i have to do in order to fix that?

6
Marco
Re: Evennews showing undefined constants in admin area
  • 2004/9/4 10:19

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


no, it won't.
To be sure, simply copy the english folder, rename it with the correct name of your language.
Normaly, errors should'nt display anymore....

Login

Who's Online

53 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 53


more...

Donat-O-Meter

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

Latest GitHub Commits