1
e-u-l-o-g-y
Use of undefined constant _AM_DBUPDATED

Hi!
When I update a block I with PHP debug enabled I get the following message:

Notice [PHP]: Use of undefined constant _AM_DBUPDATED - assumed '_AM_DBUPDATED' in file C:\Program Files\apachefriends\xampp\htdocs\Own\Vestmarkrittet\modules\system\admin\blocksadmin\blocksadmin.php line 289

Why does this occur?

2
Bender
Re: Use of undefined constant _AM_DBUPDATED
  • 2006/2/19 17:05

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Which Xoopsversion are you talking about? Not 2.2.3a i assume.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

3
rowdie
Re: Use of undefined constant _AM_DBUPDATED
  • 2006/2/20 7:02

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


It should be declared in :

/modules/system/language/[lang name]/admin/blocksadmin.php

define("_AM_DBUPDATED",_MD_AM_DBUPDATED);


It should look exactly like that, i.e. it doesn't need to be translated, it uses the value of another constant.

4
e-u-l-o-g-y
Re: Use of undefined constant _AM_DBUPDATED

I'm using 2.0.13.2, and it isn't actually present in blocksadmin.php.. it was the language file that was the problem... thanks!

Login

Who's Online

405 user(s) are online (309 user(s) are browsing Support Forums)


Members: 0


Guests: 405


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