1
bumbum
New server giving lots of errors in admin section in debug mode???
  • 2005/7/8 21:02

  • bumbum

  • Just popping in

  • Posts: 99

  • Since: 2004/10/18


I'm in the process of moving to a new server (midPhase) and although the web site seems to be functioning fine, the Administration is throwing up a load of errors as follows.

Quote:
Notice [PHP]: Use of undefined constant _AM_BADMIN - assumed '_AM_BADMIN' in file modules/system/admin/blocksadmin/blocksadmin.php line 48
Notice [PHP]: Use of undefined constant _AM_TOPPAGE - assumed '_AM_TOPPAGE' in file modules/system/admin/blocksadmin/blocksadmin.php line 56
Notice [PHP]: Use of undefined constant _AM_SVISIBLEIN - assumed '_AM_SVISIBLEIN' in file modules/system/admin/blocksadmin/blocksadmin.php line 67
Notice [PHP]: Use of undefined constant _AM_GROUP - assumed '_AM_GROUP' in file modules/system/admin/blocksadmin/blocksadmin.php line 70
Notice [PHP]: Use of undefined constant _AM_UNASSIGNED - assumed '_AM_UNASSIGNED' in file modules/system/admin/blocksadmin/blocksadmin.php line 71
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 81
Notice [PHP]: Use of undefined constant _AM_BLKDESC - assumed '_AM_BLKDESC' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_TITLE - assumed '_AM_TITLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_MODULE - assumed '_AM_MODULE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_SIDE - assumed '_AM_SIDE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_WEIGHT - assumed '_AM_WEIGHT' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_ACTION - assumed '_AM_ACTION' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_ADDBLOCK - assumed '_AM_ADDBLOCK' in file modules/system/admin/blocksadmin/blocksadmin.php line 162
Notice [PHP]: Use of undefined constant _AM_BLKTYPE - assumed '_AM_BLKTYPE' in file modules/system/admin/blocksadmin/blockform.php line 33
Notice [PHP]: Use of undefined constant _AM_SBLEFT - assumed '_AM_SBLEFT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_SBRIGHT - assumed '_AM_SBRIGHT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBLEFT - assumed '_AM_CBLEFT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBRIGHT - assumed '_AM_CBRIGHT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBCENTER - assumed '_AM_CBCENTER' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_WEIGHT - assumed '_AM_WEIGHT' in file modules/system/admin/blocksadmin/blockform.php line 36
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blockform.php line 37
Notice [PHP]: Use of undefined constant _AM_VISIBLEIN - assumed '_AM_VISIBLEIN' in file modules/system/admin/blocksadmin/blockform.php line 38
Notice [PHP]: Use of undefined constant _AM_TOPPAGE - assumed '_AM_TOPPAGE' in file modules/system/admin/blocksadmin/blockform.php line 43
Notice [PHP]: Use of undefined constant _AM_ALLPAGES - assumed '_AM_ALLPAGES' in file modules/system/admin/blocksadmin/blockform.php line 44
Notice [PHP]: Use of undefined constant _AM_TITLE - assumed '_AM_TITLE' in file modules/system/admin/blocksadmin/blockform.php line 48
Notice [PHP]: Use of undefined constant _AM_CONTENT - assumed '_AM_CONTENT' in file modules/system/admin/blocksadmin/blockform.php line 50
Notice [PHP]: Use of undefined constant _AM_USEFULTAGS - assumed '_AM_USEFULTAGS' in file modules/system/admin/blocksadmin/blockform.php line 51
Notice [PHP]: Use of undefined constant _AM_BLOCKTAG1 - assumed '_AM_BLOCKTAG1' in file modules/system/admin/blocksadmin/blockform.php line 51
Notice [PHP]: Use of undefined constant _AM_CTYPE - assumed '_AM_CTYPE' in file modules/system/admin/blocksadmin/blockform.php line 53
Notice [PHP]: Use of undefined constant _AM_HTML - assumed '_AM_HTML' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_PHP - assumed '_AM_PHP' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_AFWSMILE - assumed '_AM_AFWSMILE' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_AFNOSMILE - assumed '_AM_AFNOSMILE' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_BCACHETIME - assumed '_AM_BCACHETIME' in file modules/system/admin/blocksadmin/blockform.php line 73


It's like a language file or something is missing because none of the names of column headers are displaying either e.g. in system -> blocks, the headers are like this:

_AM_BLKDESC _AM_TITLE _AM_MODULE _AM_SIDE Left-Center-Right _AM_WEIGHT _AM_VISIBLE _AM_ACTION

I've updated from 2.1.10 to 2.1.11 to 2.1.12 and 2.1.13
mainfile.php seems OK
language file in root folder is OK
everything in the modules/system/admin/blocksadmin/ directory seems to be accounted for too

The only thing that seems to be lost is ME for ideas as to what could be going wrong here.

I'm bordering on a completely new install and restoring a dump of my database but I'm hoping someone can give me a simpler solution???

2
rowdie
Re: New server giving lots of errors in admin section in debug mode???
  • 2005/7/8 21:11

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Do you also have a language folder in /modules/system/language/[your language] ?

3
bumbum
Re: New server giving lots of errors in admin section in debug mode???
  • 2005/7/8 21:35

  • bumbum

  • Just popping in

  • Posts: 99

  • Since: 2004/10/18


Yeah - it's 'english' and it contains the following files:
admin.php
blocks.php
modinfo.php
and the index.html file

One thing I DO notice is that admin.php uses ' instread of " in all the variables unlike blocks & modinfo e.g.

A sample line from admin.php
define('_MD_AM_ADGS','Groups');

whereas a sample line from modinfo.php
define("_MI_SYSTEM_BNAME2","User Menu");

Do you reckon this could be a factor?

Login

Who's Online

282 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 282


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